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 Failures in s390x #159

Closed
varlackc opened this issue Dec 28, 2021 · 3 comments · Fixed by #160
Closed

Test Failures in s390x #159

varlackc opened this issue Dec 28, 2021 · 3 comments · Fixed by #160

Comments

@varlackc
Copy link

Issue:
bitarray test fails for linux-s390x due to a big/little-endian issue

Details:

There seems to be an issue during the test on bitarray for linux-s390x
The issue seems to be a big/little-endian issue in the testsuite of bitarray

Here is the error:
FAILED (failures=24, errors=1)

Traceback (most recent call last):

File "/opt/conda/conda-bld/bitarray_1639775601698/test_tmp/run_test.py", line 7, in

assert bitarray.test().wasSuccessful()
AssertionError

Tests failed for bitarray-2.3.4-py37h2a837d6_1.tar.bz2 - moving package to /opt/conda/conda-bld/broken

@ilanschnell
Copy link
Owner

ilanschnell commented Dec 30, 2021

Thank you for reporting this issue. I am very interested in finding the root cause of this issue. Can you change the test in the conda recipe to:

assert bitarray.test(verbosity=2).wasSuccessful()

and post the output? This will give me a much better hint where the problem is. Thanks

@ilanschnell
Copy link
Owner

Looking into this some more, I think the problem is in shift_r8(), when undefing PY_UINT64_T things work fine on s390x.

@ilanschnell
Copy link
Owner

ilanschnell commented Jan 7, 2022

#160 fixes this issue, and is be part of the 2.3.5 release

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

Successfully merging a pull request may close this issue.

2 participants