aws / aws/aws-toolkit-azure-devops

ADO AWS Shell script task falsely fails due to STDERR stream

Open
#475 1 comment 0 reactions 0 assignees View on GitHub
bug needs-response
Dominant language
TypeScript
Stars
258
Forks
114
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Research direction

Start with the attached sample log and reproduce the Azure DevOps AWS script task using /bin/bash across the different agent versions mentioned. Trace how STDERR output is interpreted when the script has no failures; done means a successful script is not marked failed solely because lines were written to STDERR.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, bash, typescript
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.