You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while we are trying to enable our CI worker on s390x again, we noticed some failing tests in conjunction with fast_pbkdf2. We suspect that it has something to do with the byte order.
I started two simple tests:
Trying the compile fast_pbkdf2 on my local machine:
$ lscpu | grep Endian
Byte Order: Little Endian
$ uname -a
Darwin xxx 22.6.0 Darwin Kernel Version 22.6.0: Tue Nov 7 21:48:06 PST 2023; root:xnu-8796.141.3.702.9~2/RELEASE_X86_64 x86_64
$ rebar3 as test ct
===> Verifying dependencies...
===> Analyzing applications...
===> Compiling fast_pbkdf2
===> Running Common Test suites...
%%% pbkdf2_SUITE: ................
All 16 tests passed.
Trying the compile fast_pbkdf2 on s390x:
$ lscpu | grep Endian
Byte Order: Big Endian
$ uname -a
Linux xxx 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:16 UTC 2023 s390x s390x s390x GNU/Linux
Hi @big-r81 , indeed the issue is due to Byte Order. I could reproduce the failures locally on an s390x system. I also have a fix ready by changing the Byte order and can PR those changes soon.
Hi,
while we are trying to enable our CI worker on s390x again, we noticed some failing tests in conjunction with
fast_pbkdf2
. We suspect that it has something to do with the byte order.I started two simple tests:
fast_pbkdf2
on my local machine:$ lscpu | grep Endian Byte Order: Little Endian
$ uname -a Darwin xxx 22.6.0 Darwin Kernel Version 22.6.0: Tue Nov 7 21:48:06 PST 2023; root:xnu-8796.141.3.702.9~2/RELEASE_X86_64 x86_64
fast_pbkdf2
on s390x:$ lscpu | grep Endian Byte Order: Big Endian
$ uname -a Linux xxx 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:16 UTC 2023 s390x s390x s390x GNU/Linux
Little-endian sytems do not appear to be affected.
Cheers,
Ronny
The text was updated successfully, but these errors were encountered: