Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test fail on s390x #8

Open
cathay4t opened this issue Mar 10, 2023 · 4 comments
Open

Test fail on s390x #8

cathay4t opened this issue Mar 10, 2023 · 4 comments

Comments

@cathay4t
Copy link
Member

---- nla::tests::network_byteorder stdout ----
thread 'nla::tests::network_byteorder' panicked at 'range end index 2048 out of range for slice of length 8', src/nla.rs:168:10
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
failures:
nla::tests::network_byteorder
test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
error: test failed, to rerun pass --lib

@glaubitz
Copy link

glaubitz commented Jun 3, 2024

It does not just fail on s390x, but on all big-endian targets.

See: https://buildd.debian.org/status/package.php?p=rust-netlink-packet-utils&suite=sid

@glaubitz
Copy link

glaubitz commented Jun 3, 2024

Access to big-endian machines can be obtained through the GCC Compile Farm.

See: https://gcc.gnu.org/wiki/CompileFarm

@siretart
Copy link

The failing test in question was introduced in 2b7a291

What's the #70 it is referring to? -- I guess this code was moved here from somewhere else on github?

@siretart
Copy link

@hermantolim PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants