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

ci: remove -Zprofile #6842

Closed
wants to merge 2 commits into from
Closed

Conversation

cakebaker
Copy link
Contributor

The code coverage jobs currently fail with the following error:

error: unknown unstable option: `profile`

The reason is that the support for -Zprofile has been removed in rust-lang/rust#131829

This PR removes -Zprofile, though probably more work is necessary.

@cakebaker cakebaker marked this pull request as draft November 3, 2024 14:30
Copy link

github-actions bot commented Nov 4, 2024

GNU testsuite comparison:

Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

@sylvestre sylvestre mentioned this pull request Nov 4, 2024
@RenjiSann
Copy link
Contributor

Code coverage tests seem to fail for other reasons, can this PR be merged ? @cakebaker @sylvestre

@cakebaker
Copy link
Contributor Author

I think the code coverage tests fail because of this PR even though they fail with three different errors now :|

Copy link

github-actions bot commented Nov 6, 2024

GNU testsuite comparison:

Skipping an intermittent issue tests/rm/rm1 (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

Copy link

github-actions bot commented Nov 6, 2024

GNU testsuite comparison:

Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/rm/rm1 (passes in this run but fails in the 'main' branch)

Copy link

github-actions bot commented Nov 6, 2024

GNU testsuite comparison:

Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/rm/rm1 (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

@RenjiSann
Copy link
Contributor

I think the code coverage tests fail because of this PR even though they fail with three different errors now :|

My bad, I wanted to comment on #6822 , not here 😔

@@ -1014,15 +1014,15 @@ jobs:
run: cargo nextest run --profile ci --hide-progress-bar ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} -p uucore -p coreutils
env:
RUSTC_WRAPPER: ""
RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort"
RUSTFLAGS: "-Cprofile-generate=target/debug -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
RUSTFLAGS: "-Cprofile-generate=target/debug -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort"
RUSTFLAGS: "-Cprofile-generate=${{ vars.RUNNER_TEMP }}/target/debug -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort"

Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/rm/rm1 (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/rm/rm1 (passes in this run but fails in the 'main' branch)

@cakebaker cakebaker force-pushed the ci_remove_zprofile branch 9 times, most recently from 37c41f8 to c13cc2e Compare November 14, 2024 07:54
@cakebaker cakebaker force-pushed the ci_remove_zprofile branch 2 times, most recently from 89d75ce to 748467a Compare November 15, 2024 09:38
@cakebaker cakebaker closed this Dec 2, 2024
@cakebaker cakebaker deleted the ci_remove_zprofile branch December 2, 2024 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants