Skip to content

test_uptime_pretty_print intermittent failure #14260

Closed

Description

@xtqqczze
---- test_uptime::test_uptime_pretty_print stdout ----
bin: "/home/runner/work/coreutils/coreutils/target/aarch64-unknown-linux-gnu/debug/coreutils"
run: /home/runner/work/coreutils/coreutils/target/aarch64-unknown-linux-gnu/debug/coreutils uptime -p

thread 'test_uptime::test_uptime_pretty_print' panicked at tests/by-util/test_uptime.rs:339:10:
'up 1 hour
' does not contain 'minute'
stack backtrace:
   0: __rustc::rust_begin_unwind
             at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:697:5
   1: core::panicking::panic_fmt
             at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/panicking.rs:75:14
   2: uutests::util::CmdResult::stdout_contains
             at ./tests/uutests/src/lib/util.rs:802:9
   3: tests::test_uptime::test_uptime_pretty_print
             at ./tests/by-util/test_uptime.rs:335:5
   4: tests::test_uptime::test_uptime_pretty_print::{{closure}}
             at ./tests/by-util/test_uptime.rs:334:30
   5: core::ops::function::FnOnce::call_once
             at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/ops/function.rs:250:5
   6: core::ops::function::FnOnce::call_once
             at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

https://github.com/uutils/coreutils/actions/runs/33284866726/job/99186595380?pr=14259

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions