Skip to content

ci: remove -Zprofile#6842

Closed
cakebaker wants to merge 2 commits intouutils:mainfrom
cakebaker:ci_remove_zprofile
Closed

ci: remove -Zprofile#6842
cakebaker wants to merge 2 commits intouutils:mainfrom
cakebaker:ci_remove_zprofile

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
@github-actions
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
Collaborator

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 :|

@github-actions
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)

@github-actions
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)

@github-actions
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
Collaborator

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 😔

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"

@github-actions
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)

@github-actions
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