You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to #15024, we should ensure that GNU coreutils is the system coreutils in the remaining CI jobs.
ubuntu-26.04 uses uutils as the default system coreutils, which can cause tests to run against uutils instead of GNU. This can lead to unexpected failures or compatibility issues.
I still don't agree with using GNU coreutils at Rust code as reliable tool. If we are developing alternative for it, we should bootstrap it. It abandons actual Ubuntu users.
ubuntu-latest is already 26.04 (today's CICD jobs report Image: ubuntu-26.04), and that image ships coreutils-from-uutils, so this affects the regular test jobs now, not just later.
The Rust tests that compare against the host tool (expected_result / gnu_cmd_result, used in du, ls, tail, stty, whoami, id, who, groups, pinky, stat) look for (GNU coreutils) in --version and skip otherwise. With uutils on the host they print "test skipped" and pass, so nothing fails; we just lose those checks without noticing.
I think we can use GNU at 1 job to avoid introducing many hacks.
While I really don't like hack for some specific distro, we could hack expected_result / gnu_cmd_result to support binaries with gnu prefix for many Ubuntu users.
Activity
oech3 commentedon Oct 29, 2026
I still don't agree with using GNU coreutils at Rust code as reliable tool. If we are developing alternative for it, we should bootstrap it. It abandons actual Ubuntu users.
Other case is fine.
xtqqczze commentedon Oct 29, 2026
On the contrary, we should not use uutils as system coreutils to test uutils. We should use an independent implementation like GNU coreutils.
oech3 commentedon Oct 29, 2026
Why? Referencing system coreutils from Rust is incorrect.
abendrothj commentedon Oct 31, 2026
ubuntu-latestis already 26.04 (today's CICD jobs reportImage: ubuntu-26.04), and that image shipscoreutils-from-uutils, so this affects the regular test jobs now, not just later.The Rust tests that compare against the host tool (
expected_result/gnu_cmd_result, used in du, ls, tail, stty, whoami, id, who, groups, pinky, stat) look for(GNU coreutils)in--versionand skip otherwise. With uutils on the host they print "test skipped" and pass, so nothing fails; we just lose those checks without noticing.oech3 commentedon Oct 31, 2026
We should top using expected_result and gnu_cmd_result finally. Using GNU as system coreutils is just a "temp workaround".
xtqqczze commentedon Oct 31, 2026
In any case, we should use GNU as system coreutils for now
oech3 commentedon Oct 31, 2026
I think we can use GNU at 1 job to avoid introducing many hacks.
While I really don't like hack for some specific distro, we could hack expected_result / gnu_cmd_result to support binaries with
gnuprefix for many Ubuntu users.