-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[CI Problem] Figure out a way to assert certain tests aren't skipped in CI #11670
Labels
Comments
@gigiblender is going to look at this one |
driazati
pushed a commit
that referenced
this issue
Aug 8, 2022
This PR does the following: - When running on a shard, removes the tests that will not run on the current shard from the suite. We'll no longer get the message `Test running on shard X of Y` in the XML reports. This will result in cleaner test reports. - Adds the shard index or `no-shard` to the generated XML report file name. Currently, the reports generated when sharding is present are overwritten in S3 by the last shard to finish in the CI pipeline. This change is needed as part of #11670. - Since the same tests might run on different configurations (CPU, GPU), it uploads the result of each configuration in a subdirectory in S3 (e.g `/pytest-results/frontend_aarch64`).
driazati
pushed a commit
that referenced
this issue
Aug 25, 2022
This PR adds a script that does a diff of skipped tests between the latest successful build on the main and the current branch. Then, it posts a comment with the report on the open PR. #11670
areusch
added
the
needs-triage
PRs or issues that need to be investigated by maintainers to find the right assignees to address it
label
Oct 19, 2022
hpanda-naut
added
dev:ci
and removed
needs-triage
PRs or issues that need to be investigated by maintainers to find the right assignees to address it
labels
Oct 19, 2022
xinetzone
pushed a commit
to daobook/tvm
that referenced
this issue
Nov 25, 2022
This PR does the following: - When running on a shard, removes the tests that will not run on the current shard from the suite. We'll no longer get the message `Test running on shard X of Y` in the XML reports. This will result in cleaner test reports. - Adds the shard index or `no-shard` to the generated XML report file name. Currently, the reports generated when sharding is present are overwritten in S3 by the last shard to finish in the CI pipeline. This change is needed as part of apache#11670. - Since the same tests might run on different configurations (CPU, GPU), it uploads the result of each configuration in a subdirectory in S3 (e.g `/pytest-results/frontend_aarch64`).
xinetzone
pushed a commit
to daobook/tvm
that referenced
this issue
Nov 25, 2022
This PR adds a script that does a diff of skipped tests between the latest successful build on the main and the current branch. Then, it posts a comment with the report on the open PR. apache#11670
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to verify that a PR hasn't resulted in an increased number of skipped tests? The "Tests" link in the Jenkins report shows skipped tests, but it looks like that currently includes all tests that are run on other shards, making it very difficult to tell what tests were actually skipped. (Example, Tests tab for PR#11313, which introduced the bug Mehrdad found, which lists 238k skipped tests, most of which were run on a different shard.)
Brainstorming on possible steps:
Would require additional github/Jenkins interactions, uncertain how difficult that would be.
Comments
CC: @hpanda-naut
The text was updated successfully, but these errors were encountered: