Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error - "Bash wrote one or more lines to the standard error stream" #8807

Closed
Avina-Jain opened this issue Nov 8, 2018 · 4 comments · Fixed by #9391
Closed

error - "Bash wrote one or more lines to the standard error stream" #8807

Avina-Jain opened this issue Nov 8, 2018 · 4 comments · Fixed by #9391

Comments

@Avina-Jain
Copy link

Troubleshooting

Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting

Environment

Issue Description

In the build definition, the customer runs tests using the following script in the BASH task :

docker logs $(docker ps -aq)
docker exec $(docker ps -q) python3 manage.py test --keepdb
docker exec $(docker ps -q) ls -la SIRE/tests

and gets the error - "Bash wrote one or more lines to the standard error stream"

It is a Django Unit Test.

Attached is the complete build log.

How can he see the error in the logs?
Is there a way to get the error message on our build console?

Any inputs on this?

Task logs

Error logs

logs_320.zip

@Avina-Jain
Copy link
Author

@cltshivash Any updates on this?
Thanks!

@japj
Copy link

japj commented Dec 21, 2018

This seems similar to #6840.

I am also having problems analyzing errors related to the error stream not clearly marked in the output.
Is it possible to better surface the error stream contents for analysis purposes?

@damccorm
Copy link

Adding a PR to make error logging more verbose/clear.

@joyl1216
Copy link

Having the same error here.

==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/45861018/d7233980-b740-11e8-8a89-b30a1e0ac118?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20191025%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191025T032427Z&X-Amz-Expires=300&X-Amz-Signature=3b8eb6339119ea8413ec2b27a14273171621c38b47d64e9fa132b7e185313db8&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dgit-credential-manager-2.0.4.jar&response-content-type=application%2Foctet-stream
🍺  /usr/local/Cellar/git-credential-manager/2.0.4: 4 files, 2.4MB, built in 4 seconds
Cloning spec repo `msblox` from `[email protected]:v3/msblox/CocoaPods/CocoaPods`
##[error]Bash wrote one or more lines to the standard error stream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants