Skip to content

spurrious test failures on s390x #2318

Description

@martinetd

While backporting time64 fixes in https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/104520 the s390x ran into these test failures:

---- daemon::ntp_source::tests::test_timeroundtrip stdout ----
thread 'daemon::ntp_source::tests::test_timeroundtrip' (4916) panicked at ntpd/src/daemon/ntp_source.rs:707:35:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace---- daemon::ntp_source::tests::test_deny_stops_poll stdout ----
thread 'daemon::ntp_source::tests::test_deny_stops_poll' (4914) panicked at ntpd/src/daemon/ntp_source.rs:748:13:
assertion failed: timestamp.is_some()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

For these two, imestamped socket's recv() didn't provide a timestamp for some reason, I couldn't understand why in the short time I started at it

---- daemon::server::tests::test_server_serves stdout ----
thread 'daemon::server::tests::test_server_serves' (4920) panicked at ntpd/src/daemon/server.rs:330:14:
called `Result::unwrap()` on an `Err` value: Elapsed(())

This one might just be the builder being slow given it looks like a timeout, but it only ran once and I didn't try fiddling with the timeout as I don't have direct access to the builder, sorry.

The tests have been disabled on alpine for now

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions