Skip to content
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

test: Don't keep journals for skipped tests #32681

Merged
merged 4 commits into from
May 7, 2024

Conversation

DaanDeMeyer
Copy link
Contributor

@DaanDeMeyer DaanDeMeyer commented May 7, 2024

Let's make sure we don't save journals for tests that were skipped.

@github-actions github-actions bot added tests please-review PR is ready for (re-)review by a maintainer labels May 7, 2024
Copy link

github-actions bot commented May 7, 2024

Important

An -rc1 tag has been created and a release is being prepared, so please note that PRs introducing new features and APIs will be held back until the new version has been released.

@bluca bluca added good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed and removed please-review PR is ready for (re-)review by a maintainer labels May 7, 2024
@DaanDeMeyer
Copy link
Contributor Author

Added one more commit that adds a one liner to download view a test's journal

@bluca bluca added ci-fails/needs-rework 🔥 Please rework this, the CI noticed an issue with the PR and removed good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed labels May 7, 2024
@github-actions github-actions bot added please-review PR is ready for (re-)review by a maintainer and removed ci-fails/needs-rework 🔥 Please rework this, the CI noticed an issue with the PR labels May 7, 2024
@bluca bluca added good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed mkosi and removed please-review PR is ready for (re-)review by a maintainer labels May 7, 2024
@DaanDeMeyer DaanDeMeyer force-pushed the skipped-no-journal branch 3 times, most recently from bbb6722 to 5637dde Compare May 7, 2024 12:45
@DaanDeMeyer
Copy link
Contributor Author

Added two more commits to allow marking tests as slow and skipping them unless slow-tests is enabled or SYSTEMD_SLOW_TESTS=1 is set and marked TEST-21-DFUZZER as slow.

Let's make sure we don't save journals for tests that were skipped.
Some integration tests take much more time than others, let's add
a test param that can be used to configure this and integrate it
with the slow-tests meson option.
The test is not really useful without sanitizers, so let's mark it
as slow and not run it by default in CI.
@DaanDeMeyer DaanDeMeyer merged commit 4c4b7ee into systemd:main May 7, 2024
41 of 49 checks passed
@DaanDeMeyer DaanDeMeyer deleted the skipped-no-journal branch May 7, 2024 18:49
@github-actions github-actions bot removed the good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants