Skip to content

Conversation

@huydhn
Copy link
Contributor

@huydhn huydhn commented Mar 18, 2023

As this step uses network to download and install NDK, it could fail flakily, i.e. https://github.com/pytorch/pytorch/actions/runs/4452757793/jobs/7820701670. So I'm adding retrying to the workflow.

I could try figure out a way to Dockerize this, but not sure yet how to handle the GitHub action reactivecircus/android-emulator-runner@v2 in Docker. So let's opt for the easy fix of retrying.

@huydhn huydhn requested a review from ZainRizvi March 18, 2023 01:18
@huydhn huydhn requested a review from a team as a code owner March 18, 2023 01:18
@pytorch-bot
Copy link

pytorch-bot bot commented Mar 18, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/97067

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 25fe1e3:
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label Mar 18, 2023
@huydhn huydhn added the ciflow/trunk Trigger trunk jobs on your pull request label Mar 18, 2023
@huydhn huydhn requested a review from clee2000 March 21, 2023 18:32
@huydhn
Copy link
Contributor Author

huydhn commented Mar 21, 2023

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@huydhn
Copy link
Contributor Author

huydhn commented Mar 23, 2023

@pytorchbot revert -m 'Need to rework this a bit as sdkmanager does not correctly treat a failed download as failure (surprise) https://github.com/pytorch/pytorch/actions/runs/4495666042/jobs/7909537961' -c weird

Looking at the error, I could check for the existence of ${ANDROID_SDK_ROOT}/ndk-bundle/build/cmake/android.toolchain.cmake instead, as the file will only be there is the NDK archive is downloaded and extracted correctly

Could not find toolchain file:
/usr/local/lib/android/sdk/ndk-bundle/build/cmake/android.toolchain.cmake

@huydhn huydhn reopened this Mar 23, 2023
@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a revert job. Check the current status here.
Questions? Feedback? Please reach out to the PyTorch DevX Team

@pytorchmergebot
Copy link
Collaborator

@huydhn your PR has been successfully reverted.

pytorchmergebot added a commit that referenced this pull request Mar 23, 2023
This reverts commit d9b289b.

Reverted #97067 on behalf of https://github.com/huydhn due to Need to rework this a bit as sdkmanager does not correctly treat a failed download as failure (surprise) https://github.com/pytorch/pytorch/actions/runs/4495666042/jobs/7909537961
@pytorch pytorch deleted a comment from pytorchmergebot Mar 23, 2023
@huydhn
Copy link
Contributor Author

huydhn commented Mar 23, 2023

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

cyyever pushed a commit to cyyever/pytorch_private that referenced this pull request Mar 23, 2023
As this step uses network to download and install NDK, it could fail flakily, i.e. https://github.com/pytorch/pytorch/actions/runs/4452757793/jobs/7820701670.  So I'm adding retrying to the workflow.

I could try figure out a way to Dockerize this, but not sure yet how to handle the GitHub action `reactivecircus/android-emulator-runner@v2` in Docker.  So let's opt for the easy fix of retrying.
Pull Request resolved: pytorch/pytorch#97067
Approved by: https://github.com/malfet
cyyever pushed a commit to cyyever/pytorch_private that referenced this pull request Mar 23, 2023
This reverts commit d9b289b.

Reverted pytorch/pytorch#97067 on behalf of https://github.com/huydhn due to Need to rework this a bit as sdkmanager does not correctly treat a failed download as failure (surprise) https://github.com/pytorch/pytorch/actions/runs/4495666042/jobs/7909537961
cyyever pushed a commit to cyyever/pytorch_private that referenced this pull request Mar 23, 2023
As this step uses network to download and install NDK, it could fail flakily, i.e. https://github.com/pytorch/pytorch/actions/runs/4452757793/jobs/7820701670.  So I'm adding retrying to the workflow.

I could try figure out a way to Dockerize this, but not sure yet how to handle the GitHub action `reactivecircus/android-emulator-runner@v2` in Docker.  So let's opt for the easy fix of retrying.
Pull Request resolved: pytorch/pytorch#97067
Approved by: https://github.com/malfet
cyyever pushed a commit to cyyever/pytorch_private that referenced this pull request Mar 27, 2023
As this step uses network to download and install NDK, it could fail flakily, i.e. https://github.com/pytorch/pytorch/actions/runs/4452757793/jobs/7820701670.  So I'm adding retrying to the workflow.

I could try figure out a way to Dockerize this, but not sure yet how to handle the GitHub action `reactivecircus/android-emulator-runner@v2` in Docker.  So let's opt for the easy fix of retrying.
Pull Request resolved: pytorch/pytorch#97067
Approved by: https://github.com/malfet
cyyever pushed a commit to cyyever/pytorch_private that referenced this pull request Mar 27, 2023
This reverts commit d9b289b.

Reverted pytorch/pytorch#97067 on behalf of https://github.com/huydhn due to Need to rework this a bit as sdkmanager does not correctly treat a failed download as failure (surprise) https://github.com/pytorch/pytorch/actions/runs/4495666042/jobs/7909537961
cyyever pushed a commit to cyyever/pytorch_private that referenced this pull request Mar 27, 2023
As this step uses network to download and install NDK, it could fail flakily, i.e. https://github.com/pytorch/pytorch/actions/runs/4452757793/jobs/7820701670.  So I'm adding retrying to the workflow.

I could try figure out a way to Dockerize this, but not sure yet how to handle the GitHub action `reactivecircus/android-emulator-runner@v2` in Docker.  So let's opt for the easy fix of retrying.
Pull Request resolved: pytorch/pytorch#97067
Approved by: https://github.com/malfet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants