Skip to content

CI: make sure GNU is the system coreutils in the GNU test job - #15024

Merged
sylvestre merged 1 commit into
uutils:mainfrom
abendrothj:ci-runner-gnu-coreutils
Oct 25, 2026
Merged

sylvestre merged 1 commit into
uutils:mainfrom
abendrothj:ci-runner-gnu-coreutils

Conversation

@abendrothj

@abendrothj abendrothj commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Newer Ubuntu images ship uutils as the system coreutils, so the GNU test job could end up comparing uutils with itself.

The job now installs coreutils-from-gnu in place of coreutils-from-uutils when the latter is installed, and fails if that install does. The fuzz jobs already do this since #15334; their step is renamed to say so.

Closes #15023

Copilot AI balanced review requested due to automatic review settings October 2, 2026 02:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

github-actions Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

GNU testsuite comparison:

Congrats! The gnu test tests/touch/now-owned-by-other is no longer failing!

@oech3

oech3 commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Would you change runner of fuzzing.yml to ubuntu-26.04? Then we can use newer GNU coreutils at fuzzing.

@abendrothj
abendrothj force-pushed the ci-runner-gnu-coreutils branch from bf81051 to 23333fd Compare October 4, 2026 00:23
Copilot AI balanced review requested due to automatic review settings October 4, 2026 00:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@abendrothj

Copy link
Copy Markdown
Contributor Author

Done in 23333fd. uufuzz-examples and fuzz-run now run on ubuntu-26.04, since those are the jobs that compare against the system coreutils. Because coreutils-from-gnu is always available there, the GNU install no longer needs the apt-cache show check. detect, fuzz-build and fuzz-summary don't run the system coreutils, so I left them on ubuntu-latest.

@xtqqczze xtqqczze left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please don't change runner image in same PR, instead detect whether coreutils-from-gnu is available.

Comment thread .github/workflows/fuzzing.yml Resolved
Comment thread .github/workflows/fuzzing.yml Resolved
Comment thread .github/workflows/fuzzing.yml Resolved
Comment thread .github/workflows/GnuTests.yml Resolved
@oech3

oech3 commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

This PR has 2 commit to separate things. No worry about confusion.

@abendrothj
abendrothj force-pushed the ci-runner-gnu-coreutils branch from 23333fd to 47face8 Compare October 5, 2026 20:48
Copilot AI balanced review requested due to automatic review settings October 5, 2026 20:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI balanced review requested due to automatic review settings October 6, 2026 07:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@abendrothj abendrothj changed the title CI: use GNU as the system coreutils on ubuntu-26.04 runners CI: make sure GNU is the system coreutils in the jobs that compare against it Oct 6, 2026
@abendrothj

Copy link
Copy Markdown
Contributor Author

The runner changes are gone, and all three jobs run on the image they had on main. Rather than probing for coreutils-from-gnu, the step checks what's actually installed: it does nothing if ls --version is already GNU, otherwise it installs the package and fails unless the result is GNU. That keeps it independent of the Ubuntu version without falling back silently to uutils (f1b4415). This is meant to land after #15005.

@oech3

oech3 commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Actually, fuzzer itself is designed to reject non-GNU coreutils on $PATH. So we can wait doing this until ubuntu-latest was updated and we see actual error.

@abendrothj

Copy link
Copy Markdown
Contributor Author

the native GNU job already runs on ubuntu-26.04, and its runner has uutils as the system coreutils: this PR's run removes coreutils-from-uutils there. so that job is affected now, and the fuzz jobs follow when ubuntu-latest moves to 26.04.

Copilot AI balanced review requested due to automatic review settings October 10, 2026 04:26
@abendrothj
abendrothj force-pushed the ci-runner-gnu-coreutils branch from f1b4415 to 44e0404 Compare October 10, 2026 04:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Comment thread .github/workflows/fuzzing.yml Resolved
@abendrothj
abendrothj force-pushed the ci-runner-gnu-coreutils branch from 44e0404 to b0003f1 Compare October 11, 2026 21:46
Copilot AI balanced review requested due to automatic review settings October 11, 2026 21:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@xtqqczze

xtqqczze commented Oct 11, 2026 •

Copy link
Copy Markdown
Collaborator

@abendrothj please rewrite the commit description, it reads like AI and doesn't really add anything

Comment thread .github/workflows/fuzzing.yml Resolved
Copilot AI balanced review requested due to automatic review settings October 11, 2026 22:40
@abendrothj

Copy link
Copy Markdown
Contributor Author

Fair, dropped the commit body and the comments.

@abendrothj
abendrothj force-pushed the ci-runner-gnu-coreutils branch from b0003f1 to ed8c931 Compare October 11, 2026 22:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@oech3

This comment was marked as outdated.

@oech3

oech3 commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Would you rebase to change GnuTests.yml only?

@xtqqczze

Copy link
Copy Markdown
Collaborator

I think if the merge conflicts can be resolved we should keep some fuzzing changes. For instance, the step name should be Use GNU as the system coreutils instead of Update GNU coreutils.

@oech3

This comment was marked as low quality.

@oech3

oech3 commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Use latest GNU coreutils as system coreutils.

Copilot AI balanced review requested due to automatic review settings October 19, 2026 02:31
@abendrothj
abendrothj force-pushed the ci-runner-gnu-coreutils branch from ed8c931 to 9ba753a Compare October 19, 2026 02:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@abendrothj abendrothj changed the title CI: make sure GNU is the system coreutils in the jobs that compare against it CI: make sure GNU is the system coreutils in the GNU test job Oct 19, 2026
@abendrothj

Copy link
Copy Markdown
Contributor Author

Rebased onto main. GnuTests.yml keeps the step; in fuzzing.yml only the two step names change, to Use latest GNU coreutils as system coreutils.

Comment thread .github/workflows/GnuTests.yml Resolved
Copilot AI balanced review requested due to automatic review settings October 19, 2026 10:54
@abendrothj
abendrothj force-pushed the ci-runner-gnu-coreutils branch from 9ba753a to f5e9107 Compare October 19, 2026 10:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@sylvestre
sylvestre merged commit a700640 into uutils:main Oct 25, 2026
112 checks passed
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.

CI: jobs on ubuntu-26.04 run with the runner's rust-coreutils as the system coreutils

5 participants