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
Fix for binary upload step, use bash shell rather then default sh #86382
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/86382
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 1bfd24e: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
f9af920
to
1bfd24e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
@pytorchmergebot merge -f "This is CI binaries nightly change" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
…6382) (#86382) Summary: This fixes the issue during upload: ``` Run # reference ends with an RC suffix # reference ends with an RC suffix if [[ ${GITHUB_REF_NAME} = *-rc[0-9]* ]]; then echo "UPLOAD_CHANNEL=test" >> "$GITHUB_ENV" fi shell: sh -e {0} /__w/_temp/f045f5d8-ddb.sh: 2: [[: not found ``` Test failure: https://github.com/pytorch/pytorch/actions/runs/3199561387/jobs/5225448559 Test success: https://github.com/pytorch/pytorch/actions/runs/3199573560/jobs/5225480345 Error started when we switched to: continuumio/miniconda3:4.12.0 Pull Request resolved: #86382 Approved by: https://github.com/weiwangmeta Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/bf746798841bd42c9b849716f9eeefde3271e93d Reviewed By: seemethere Differential Revision: D40167171 Pulled By: seemethere fbshipit-source-id: d18689b94b06d02dd12c6159b29df54de9e3699e
This fixes the issue during upload:
Test failure:
https://github.com/pytorch/pytorch/actions/runs/3199561387/jobs/5225448559
Test success:
https://github.com/pytorch/pytorch/actions/runs/3199573560/jobs/5225480345
Error started when we switched to: continuumio/miniconda3:4.12.0