Skip to content

[Benchmark] fail test if model artifact does not exist #8482

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

Merged
merged 6 commits into from
Mar 3, 2025

Conversation

yangw-dev
Copy link
Contributor

@yangw-dev yangw-dev commented Feb 13, 2025

Summary

Fixes #8125

Fails the benchmark-on-device job the job at verification step if artifacts don't exist.

  • a export-model job failed
    • warning shows at artifact upload step
  • prepare-test-spec job failed to check the existence of the model.zip
  • benchmark-on-device job failed at Verily Test Spect to download the test-spec

Details

move prepare-test-specs under export-models, add dependency on export-models job.
The prepare-test-specs will fail to generate test-spec if no model exists in s3, this can cause the benchmark-on-device job fail at step verily test-spec

others

the failure in this pr seems like not related to this pr
see test pr: #8484
just added echo, it still fails

Copy link

pytorch-bot bot commented Feb 13, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit f2b250e with merge base a0924f7 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 13, 2025
@yangw-dev
Copy link
Contributor Author

@pytorchbot label "topic: not user facing"

@yangw-dev yangw-dev changed the title Failed test spec [Benchmark] fail test if model artifact does not exist Feb 13, 2025
@yangw-dev yangw-dev had a problem deploying to upload-benchmark-results February 13, 2025 22:14 — with GitHub Actions Failure
@yangw-dev yangw-dev requested a review from huydhn February 13, 2025 22:58
@yangw-dev yangw-dev had a problem deploying to upload-benchmark-results February 13, 2025 23:58 — with GitHub Actions Failure
@yangw-dev yangw-dev marked this pull request as ready for review February 14, 2025 00:10
Copy link
Contributor

@huydhn huydhn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! As the build is broken atm with a fix #8474 (review) coming. So, let's wait for fix to land and do a rebase

@yangw-dev yangw-dev temporarily deployed to upload-benchmark-results February 14, 2025 00:45 — with GitHub Actions Inactive
@yangw-dev yangw-dev had a problem deploying to upload-benchmark-results February 14, 2025 21:04 — with GitHub Actions Failure
@yangw-dev yangw-dev temporarily deployed to upload-benchmark-results February 14, 2025 21:42 — with GitHub Actions Inactive
@yangw-dev yangw-dev temporarily deployed to upload-benchmark-results February 18, 2025 23:35 — with GitHub Actions Inactive
@yangw-dev yangw-dev temporarily deployed to upload-benchmark-results February 19, 2025 00:08 — with GitHub Actions Inactive
@yangw-dev yangw-dev temporarily deployed to upload-benchmark-results February 28, 2025 03:20 — with GitHub Actions Inactive
@yangw-dev yangw-dev temporarily deployed to upload-benchmark-results February 28, 2025 07:01 — with GitHub Actions Inactive
@yangw-dev yangw-dev merged commit 24671a9 into main Mar 3, 2025
68 checks passed
@yangw-dev yangw-dev deleted the failedTestSpec branch March 3, 2025 21:54
yangw-dev added a commit that referenced this pull request Mar 6, 2025
yangw-dev added a commit that referenced this pull request Mar 6, 2025
Revert "[Benchmark] fail test if model artifact does not exist (#8482)"
This reverts commit 24671a9.
zonglinpeng pushed a commit that referenced this pull request Mar 6, 2025
Revert "[Benchmark] fail test if model artifact does not exist (#8482)"
This reverts commit 24671a9.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DevX: Improve error reporting for benchmark jobs.
3 participants