Skip to content

Cargo test fails on big-endian 390x system #14

@cathay4t

Description

@cathay4t

https://kojipkgs.fedoraproject.org//work/tasks/2133/103682133/build.log

test ctrl::nlas::tests::mcast_groups_parse ... FAILED
test ctrl::nlas::tests::mcast_groups_emit ... FAILED
test ctrl::nlas::tests::ops_emit ... FAILED
test ctrl::nlas::tests::ops_parse ... FAILED
failures:
---- ctrl::nlas::tests::mcast_groups_parse stdout ----
thread 'ctrl::nlas::tests::mcast_groups_parse' panicked at 'Failed to create NlaBuffer: DecodeError { inner: invalid NLA buffer
Caused by:
Decode error occurred: buffer has length: 24, but the NLA is 6144 bytes }', src/ctrl/nlas/mod.rs:192:14
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
---- ctrl::nlas::tests::mcast_groups_emit stdout ----
thread 'ctrl::nlas::tests::mcast_groups_emit' panicked at 'assertion failed: (left == right)
left: [52, 0, 7, 0, 24, 0, 1, 0, 8, 0, 2, 0, 7, 0, 0, 0, 11, 0, 1, 0, 103, 114, 111, 117, 112, 49, 0, 0, 24, 0, 2, 0, 8, 0, 2, 0, 8, 0, 0, 0, 11, 0, 1, 0, 103, 114, 111, 117, 112, 50, 0, 0],
right: [0, 52, 0, 7, 0, 24, 0, 1, 0, 8, 0, 2, 0, 0, 0, 7, 0, 11, 0, 1, 103, 114, 111, 117, 112, 49, 0, 0, 0, 24, 0, 2, 0, 8, 0, 2, 0, 0, 0, 8, 0, 11, 0, 1, 103, 114, 111, 117, 112, 50, 0, 0]', src/ctrl/nlas/mod.rs:239:9
---- ctrl::nlas::tests::ops_emit stdout ----
thread 'ctrl::nlas::tests::ops_emit' panicked at 'assertion failed: (left == right)
left: [44, 0, 6, 0, 20, 0, 1, 0, 8, 0, 1, 0, 1, 0, 0, 0, 8, 0, 2, 0, 11, 0, 0, 0, 20, 0, 2, 0, 8, 0, 1, 0, 3, 0, 0, 0, 8, 0, 2, 0, 33, 0, 0, 0],
right: [0, 44, 0, 6, 0, 20, 0, 1, 0, 8, 0, 1, 0, 0, 0, 1, 0, 8, 0, 2, 0, 0, 0, 11, 0, 20, 0, 2, 0, 8, 0, 1, 0, 0, 0, 3, 0, 8, 0, 2, 0, 0, 0, 33]', src/ctrl/nlas/mod.rs:294:9
---- ctrl::nlas::tests::ops_parse stdout ----
thread 'ctrl::nlas::tests::ops_parse' panicked at 'Failed to create NlaBuffer: DecodeError { inner: invalid NLA buffer

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