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

flaky CI macos: IndeterminateOffset and too new GNU #6333

Closed
BenWiederhake opened this issue May 2, 2024 · 1 comment
Closed

flaky CI macos: IndeterminateOffset and too new GNU #6333

BenWiederhake opened this issue May 2, 2024 · 1 comment

Comments

@BenWiederhake
Copy link
Collaborator

Even more tests on MacOS CI are failing for some reason. This issue is about different tests than #6275, and also a different root cause, but might still be related.

Example "IndeterminateOffset":

---- test_uptime::test_uptime stdout ----
run: /Users/runner/work/coreutils/coreutils/target/x86_64-apple-darwin/debug/coreutils uptime
thread 'test_uptime::test_uptime' panicked at 'Command was expected to succeed. code: 101
stdout = 
 stderr = thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: IndeterminateOffset', src/uucore/src/lib/features/utmpx.rs:192:62
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
', tests/by-util/test_uptime.rs:18:10

Example "too new GNU":

---- test_who::test_boot stdout ----
run: gwho --version
uutils-tests-info: version for the reference coreutil 'gwho' is higher than expected; expected: 8.3, found: 9.5
run: gwho -b
run: /Users/runner/work/coreutils/coreutils/target/x86_64-apple-darwin/debug/coreutils who -b
thread 'test_who::test_boot' panicked at 'Command was expected to succeed. code: 101
stdout = 
 stderr = thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: IndeterminateOffset', src/uucore/src/lib/features/utmpx.rs:192:62
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
', tests/by-util/test_who.rs:33:28

I don't know whether these are two separate issues; they appear together, so I report them together.

Seen at least in #6294 and #6142. This seems to occur very often.

Since I don't really understand our MacOS CI, I can't fix this.

@cakebaker
Copy link
Contributor

The errors with IndeterminateOffset have been fixed in #6413 and #6414

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants