Display the related broken trunk (under BROKEN TRUNK) and similar failures (under FLAKY) on Dr.CI#5149
Merged
huydhn merged 3 commits intopytorch:mainfrom Apr 30, 2024
Conversation
|
@huydhn is attempting to deploy a commit to the Meta Open Source Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
clee2000
approved these changes
Apr 30, 2024
Contributor
clee2000
left a comment
There was a problem hiding this comment.
A couple of minor things but other wise looks fine
torchci/pages/api/drci/drci.ts
Outdated
| if (header === "BROKEN TRUNK") { | ||
| output += ` ([trunk failure](${relatedJobLink}))`; | ||
| } else if (header === "FLAKY") { | ||
| output += `([similar failure](${relatedJobLink}))`; |
Contributor
There was a problem hiding this comment.
Suggested change
| output += `([similar failure](${relatedJobLink}))`; | |
| output += ` ([similar failure](${relatedJobLink}))`; |
torchci/pages/api/drci/drci.ts
Outdated
| } else if (header === "FLAKY") { | ||
| output += `([similar failure](${relatedJobLink}))`; | ||
| } else { | ||
| output += `([related job](${relatedJobLink}))`; |
Contributor
There was a problem hiding this comment.
Suggested change
| output += `([related job](${relatedJobLink}))`; | |
| output += ` ([related job](${relatedJobLink}))`; |
torchci/pages/api/drci/drci.ts
Outdated
|
|
||
| if (job.failure_captures) { | ||
| output += ` \`${job.failure_captures[0]}\`\n`; | ||
| output += `\n \`${job.failure_captures[0]}\`\n`; |
Contributor
There was a problem hiding this comment.
sanity check, i think you might need a \n to divide lines within a category if the failures captures doesnt exist
Contributor
Author
There was a problem hiding this comment.
Oh, yeah, good catch. it would screw up the format otherwise
5 tasks
huydhn
added a commit
that referenced
this pull request
May 2, 2024
As the next part of #5149, this PR provides some additional info about unstable and infra flaky jobs. * [x] #5149 * [x] Provide link to the issue that mark the job as unstable * [x] Give the label(s) that suppress the job * [x] Print the rule from https://github.com/pytorch/test-infra/blob/generated-stats/stats/flaky-rules.json that marks the job as flaky * [x] Explain the reason for infra flaky (I couldn't find any recent examples for manual testing) ### Testing 1. From pytorch/pytorch#125264 <details open><summary><b>NEW FAILURE</b> - The following job has failed:</summary><p> * [pull / linux-focal-cuda12.1-py3.10-gcc9-sm86 / test (default, 2, 5, linux.g5.4xlarge.nvidia.gpu)](https://hud.pytorch.org/pr/pytorch/pytorch/125264#24452065236) ([gh](https://github.com/pytorch/pytorch/actions/runs/8901751864/job/24452065236)) `inductor/test_cudagraph_trees.py::CudaGraphTreeTests::test_aliasing_static_ref` </p></details> <details ><summary><b>FLAKY</b> - The following job failed but was likely due to flakiness present on trunk:</summary><p> * [Lint / lintrunner-noclang / linux-job](https://hud.pytorch.org/pr/pytorch/pytorch/125264#24446808455) ([gh](https://github.com/pytorch/pytorch/actions/runs/8901751878/job/24446808455)) (matched **linux** rule in [flaky-rules.json](https://github.com/pytorch/test-infra/blob/generated-stats/stats/flaky-rules.json)) `The process '/usr/bin/git' failed with exit code 1` </p></details> 2. From pytorch/executorch#3318 <details ><summary><b>UNSTABLE</b> - The following job failed but was likely due to flakiness present on trunk and has been marked as unstable:</summary><p> * [Android / test-llama-app / mobile-job (android)](https://hud.pytorch.org/pr/pytorch/executorch/3318#24282434625) ([gh](https://github.com/pytorch/executorch/actions/runs/8842776071/job/24282434625)) ([#3344](pytorch/executorch#3344)) `Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers` </p></details> 3. From pytorch/pytorch#125143 * [Lint / lintrunner-noclang / linux-job](https://hud.pytorch.org/pr/pytorch/pytorch/125143#24373801771) ([gh](https://github.com/pytorch/pytorch/actions/runs/8878104746/job/24373801771)) `>>> Lint for torch/onnx/_internal/onnx_proto_utils.py:` </p></details> <details ><summary><b>FLAKY</b> - The following jobs failed but were likely due to flakiness present on trunk:</summary><p> * [BC Lint / bc_linter](https://hud.pytorch.org/pr/pytorch/pytorch/125143#24450453134) ([gh](https://github.com/pytorch/pytorch/actions/runs/8878104658/job/24450453134)) (suppressed by suppress-bc-linter) `Process completed with exit code 1.` * [pull / linux-focal-cuda12.1-py3.10-gcc9 / test (default, 2, 5, linux.4xlarge.nvidia.gpu)](https://hud.pytorch.org/pr/pytorch/pytorch/125143#24374207841) ([gh](https://github.com/pytorch/pytorch/actions/runs/8878104713/job/24374207841)) ([similar failure](https://hud.pytorch.org/pytorch/pytorch/commit/1a0b24776212b383d025010e935f33f58a96e276#24348608242)) `test_foreach.py::TestForeachCUDA::test_binary_op_list_slow_path__foreach_div_cuda_bool` </p></details>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As part of #5139, I'm updating
hasSimilarFailuresand renameisBrokenTrunktogetTrunkFailureto return the related similar and trunk failures. These related failures can then be displayed on Dr.CI to provide additional insight on how it classifies the results.This PR covers the first two items, the rest will be on the next PR I'm working on.
Testing
On pytorch/pytorch#124920,
🔗 Helpful Links
🧪 See artifacts and rendered test results at hud.pytorch.org/pr/124920
Note: Links to docs will display an error until the docs builds have been completed.
✅ You can merge normally! (2 Unrelated Failures)
As of commit a6516ea6789e12a1a80a8c8cc7ce63698d443821 with merge base 59a1f1f308545e3ac1d81940a51f8dc0db3d82d4 (
):
FLAKY - The following job failed but was likely due to flakiness present on trunk:
test_all_cpu_tensorBROKEN TRUNK - The following job failed but was present on the merge base:
👉 Rebase onto the `viable/strict` branch to avoid these failures
inductor/test_cudagraph_trees.py::CudaGraphTreeTests::test_mutation_cudagraph_managed_tensors_config_backend_cudagraphsThis comment was automatically generated by Dr. CI and updates every 15 minutes.