<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/123481>123481</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
`test_uptime::test_uptime_with_file_containing_valid_boot_time_utmpx_record stdout` fails on linux arm64
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
sylvestre
</td>
</tr>
</table>
<pre>
See:
https://github.com/uutils/coreutils/pull/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.
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzUlkuPqzgThn-Ns7ES-UIgLFjQ3R-bbzHSuayRwUXiaWNHviSdfz-ySU5yekY9M9LpxbRQx2Coeur1iynhvdobgAZtn9D2ZSViOFjX-Is-gQ8OVoOVl-YrAOItIu0hhKNPQ9Yh1u1VOMRhM9oZsS7GoLRHrButg9v4GLVGrKvoliPSopJcD5KCrdfrNQ7gQx-PQc05BW8fLvRnFQ79pDT0ozVBKKPMvj8JrWQ_WBv6fFMM8_GtdzBaJ7EP0saAU2hEWhcN4i1GrDvYGRDrXDQGHGLd2brXd6yP4yDcHgJinRBuPJTFOppXY89mrZWJb-u9iYh1Eoa4f3wQL9i5pjdE2nBwICRGrPq1VSJW4aMwanwFiUXI-RL1cFknjsR_D79xacEoLdN_sizjs51nYSQ-C4_h7QhjAImDxT6OI4Dc4NHKBIopoYi0V1ERf8GY1Ii3jCHecoIxIm2SHJzLs_eCZ6HMe0zvxuyTpBdi3XKq1YBYN4EI0UEqIhd6ha4TL6cLtAgB5mNInHPUQR31BSfpsD2Bm7Q9I9IaGzK3i2aZQyX58v3rt_6pff7_ty_t8_8Qf6GoJBjMSTlrZjABn4RTYtCQQkvlj1pcsMCDGF-DEyMsbvVBjK8PFzMTxpgs-XzoB9gr00dzVkYuc_c_EXC2nw-paMrqiQ91XRZiKmQhKlJLyne85kRIoExOUI1kRxd9nHCXpFeQP1RbZFVmvwhVbtOCbFPSJBbOCmef_bjx4bSf5vAJfD8t6zvAKvHRImVNo6tjM9Jo59maZZzdm0fPs_wCPuqwnGZjev8X1Jur25c3OIdKHlJ6SVzQCvG2Xh7k_yj19-vb8ZAZZE799-lotWP3fMW7fL94F_gz0YcbQHGzCMbbzwXLIVD1hKqnUVsfHaDqJR3_jpik9SqrBbn82df2eEWfohmDuq1iZ34z4_WWUWjdW5Pf30_1emJh3Q1kgWdbcpO7-q-S3zbT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