Skip to content

test_uptime::test_uptime_with_file_containing_valid_boot_time_utmpx_record stdout fails on linux arm64 #7159

@sylvestre

Description

@sylvestre

See:
#7153


---- test_uptime::test_uptime_with_file_containing_valid_boot_time_utmpx_record stdout ----
run: /home/runner/work/coreutils/coreutils/target/aarch64-unknown-linux-gnu/debug/coreutils uptime testx
thread 'test_uptime::test_uptime_with_file_containing_valid_boot_time_utmpx_record' panicked at tests/by-util/test_uptime.rs:116:10:
Command was expected to succeed. code: 101
stdout =  09:22:30  
 stderr = thread 'main' panicked at src/uucore/src/lib/features/utmpx.rs:190:31:
attempt to multiply with overflow
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

stack backtrace:
   0: rust_begin_unwind
             at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:652:5
   1: core::panicking::panic_fmt
             at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panicking.rs:72:14
   2: tests::common::util::CmdResult::success
             at ./tests/common/util.rs:417:9
   3: tests::common::util::UCommand::succeeds
             at ./tests/common/util.rs:1782:9
   4: tests::test_uptime::test_uptime_with_file_containing_valid_boot_time_utmpx_record
             at ./tests/by-util/test_uptime.rs:114:5
   5: tests::test_uptime::test_uptime_with_file_containing_valid_boot_time_utmpx_record::{{closure}}
             at ./tests/by-util/test_uptime.rs:103:67
   6: core::ops::function::FnOnce::call_once
             at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5
   7: core::ops::function::FnOnce::call_once
             at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions