Skip to content

S3 Download error Conflicting file exists #480

@motisoft

Description

@motisoft

S3 Download error on hosted azure DevOps with windows agent

I have nested directories in s3 bucket, the task creates the top level directory as a 0 byte file, when the task continue to download a file under that directory it fails with: Unable to create directory 'D:\CD\1\templates\dev\-1\Email'. Conflicting file exists: 'D:\CD\1\templates\dev'.
Overwrite flag is set to true.

To reproduce

Steps to reproduce the behavior:

  1. Create s3 bucket with files in nested directories like dev\-1\Email\en-us.txt
  2. Create a pipeline with latest S3 Download task v1.13.0 with windows agent version 2.153.1 to download all the bucket to the agent default working directory.

Expected behavior

A Successful step with the bucket contents on the destination directory.

Your Environment

  • On-prem
  • Azure DevOps version: Dev17.M153.3
  • AWS Toolkit for Azure DevOps version: 1.13.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugWe can reproduce the issue and confirmed it is a bug.pending-release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions