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 Failure on S390x architecture in fedora koji #191

Open
ghost opened this issue Apr 27, 2021 · 2 comments
Open

Test Failure on S390x architecture in fedora koji #191

ghost opened this issue Apr 27, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 27, 2021

The test bus::vtable::vtable_bitfield failed repeatedly on fedora koji for s390x architecture.
https://kojipkgs.fedoraproject.org//work/tasks/8160/66828160/build.log

The result doesn't coresspond by a small margin.

---- bus::vtable::vtable_bitfield stdout ----
thread 'bus::vtable::vtable_bitfield' panicked at 'assertion failed: (left == right)
left: 12307456,
right: 12307643', src/bus/vtable.rs:90:5

@codyps
Copy link
Owner

codyps commented Apr 28, 2021

hmmm... that bitfield handling code we have is kind of funky. https://github.com/jmesmon/rust-systemd/blob/e9c4ddb3f901026d9ccdc8de1247ab5c3cf048a3/libsystemd-sys/src/bus/vtable.rs#L48-L81

Very possible we're just not handling big endian bitfields properly. Might make sense just to switch to some library that can get this right for us.

@sharkcz
Copy link

sharkcz commented Apr 28, 2021

Please let me (sharkcz [at] fedoraproject.org) know if you would need an access to a s390x system to further debug this issue.

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

2 participants