aws-toolkit-azure-devops icon indicating copy to clipboard operation
aws-toolkit-azure-devops copied to clipboard

ADO AWS Shell script task falsely fails due to STDERR stream

Open wafikbs opened this issue 3 years ago • 1 comments

Azure Devops AWS script is falsely causing script to fail with error:

##[error]Error: The process ‘/bin/bash’ failed because one or more lines were written to the STDERR stream

this is happening even though the script does not have any failures.

issue can be reproduced with different agent version.

attached sample log shows how task script has no failures but the task somehow detects and error and causes step to faile

wafikbs avatar Jun 06 '22 19:06 wafikbs

Are you running a Windows-based agent? If so, this is probably a Toolkit bug. I can see the problematic code but it's only applicable for Windows.

JadenSimon avatar Jun 07 '22 18:06 JadenSimon