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

ERROR: test_cubic (elephant.test.test_cubic.CubicTestCase) on 32 bit arches #227

Closed
sanjayankur31 opened this issue Jun 14, 2019 · 1 comment · Fixed by #229
Closed

ERROR: test_cubic (elephant.test.test_cubic.CubicTestCase) on 32 bit arches #227

sanjayankur31 opened this issue Jun 14, 2019 · 1 comment · Fixed by #229
Labels
bug Indicates an unexpected problem or unintended behavior

Comments

@sanjayankur31
Copy link

We're building elephant for multiple arches for neurofedora. This one test fails on 32 bit architectures only. Here's the output from a failed i686 build:

BUILDSTDERR: ERROR: test_cubic (elephant.test.test_cubic.CubicTestCase)
BUILDSTDERR: ----------------------------------------------------------------------
BUILDSTDERR: Traceback (most recent call last):
BUILDSTDERR:   File "/builddir/build/BUILD/elephant-0.6.2/elephant/test/test_cubic.py", line 76, in test_cubic
BUILDSTDERR:     self.data_array, alpha=self.alpha)
BUILDSTDERR:   File "/builddir/build/BUILD/elephant-0.6.2/elephant/cubic.py", line 115, in cubic
BUILDSTDERR:     pval = _H03xi(kappa, xi, L)
BUILDSTDERR:   File "/builddir/build/BUILD/elephant-0.6.2/elephant/cubic.py", line 150, in _H03xi
BUILDSTDERR:     'kappa(2)= %f<%f=kappa(1)!!!' % (kappa[1], kappa[0]))
BUILDSTDERR: ValueError: H_0 can not be tested:kappa(2)= -0.130398<0.030000=kappa(1)!!!
BUILDSTDERR: ----------------------------------------------------------------------

Also fails on armv7hl:

We're building against a git snapshot of neo, so maybe that's causing it. However, given that the test does not fail on 64 bit arches, it may not necessarily be the case. For completelness, here's an x86_64 build where the test did not fail:

We've disabled this test temporarily. Could someone please have a look?
The spec file for the rpmbuild is here: https://src.fedoraproject.org/rpms/python-elephant/blob/master/f/python-elephant.spec

Please note that these failed builds will be removed from the build system in a few days, but I can always re-run them if more information is required.

@dizcza dizcza added the bug Indicates an unexpected problem or unintended behavior label Jun 18, 2019
@dizcza
Copy link
Member

dizcza commented Jun 25, 2019

If you encounter other issues with 32-bit arch, please let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants