Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

add retry to S3 uploads for test results #16579

Closed
wants to merge 1 commit into from
Closed

Conversation

larroy
Copy link
Contributor

@larroy larroy commented Oct 22, 2019

See title.

#16512

@marcoabreu
Copy link
Contributor

Good idea. Will this rethrow the original exception if the retry limit is reached?

@ChaiBapchya
Copy link
Contributor

Nice idea. But do we know if it will actually upload the xml within 3 attempts? Coz I have seen S3 upload fail many times when some test fails. S3upload is independent of test failure. But just to be sure.

@larroy
Copy link
Contributor Author

larroy commented Oct 22, 2019

@marcoabreu I don't know. Looks like people are using it assuming it handle exceptions: https://gist.github.com/daipresents/c7f982ffce9c1bda73b4387d6b1ae3da
Do you know better?

@ChaiBapchya ok, what would you suggest instead?

@marcoabreu
Copy link
Contributor

Seems like it's handling in exactly that fashion.

@marcoabreu
Copy link
Contributor

Could you also add some diagnostics to debug the error? The execution in the mentioned PR said success but then had the return code 1. Seems odd

@ChaiBapchya
Copy link
Contributor

ChaiBapchya commented Oct 28, 2019

@ChaiBapchya ok, what would you suggest instead?

No my point was have you by any chance tested that if PR fails on a particular build, does it still upload on S3 or does it fail everytime build fails?

For eg for this PR - http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Funix-cpu/detail/PR-16660/2/pipeline

It doesn't upload to S3

@larroy
Copy link
Contributor Author

larroy commented Oct 28, 2019

I wouldn't think it uploads to s3 if the PR fails.

@larroy larroy closed this Dec 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants