Skip to content

Testing issue: py-elephant (JUSUF)

Summary

Summary Spack package test failure
Package info py-elephant
System JUSUF
Related

Steps to reproduce the issue

$ spack spack install --test root py-elephant

Error message

The test error message (first 1000 lines) is the following:

Error message

==> Installing py-elephant-0.12.0-7cctnt6gevcpvprp3vlcnmlykl7kowxn
==> No binary for py-elephant-0.12.0-7cctnt6gevcpvprp3vlcnmlykl7kowxn found: installing from source
==> Using cached archive: /p/scratch/icei-hbp-2020-0003/ebrains-software/spack-installation/spack/var/spack/cache/_source-cache/archive/81/81f8d668f92d8688344bb7a9c5abaa8438d824560c935a411e6e36ddf7dc7c72.tar.gz
==> No patches needed for py-elephant
==> py-elephant: Executing phase: 'install'
==> Error: ProcessError: Command exited with status 1:
    '/p/scratch/icei-hbp-2020-0003/ebrains-software/spack-installation/spack/opt/spack/linux-rocky8-zen2/gcc-11.2/py-pytest-6.2.5-g2gs2mktwargsjbq6ssxzlnfuginq4ol/bin/pytest'
54 errors found in build log:
486    E           Mismatched elements: 138 / 1051 (13.1%)
487    E           Max absolute difference: 1.33781874e-14
488    E           Max relative difference: 1.19137161e-11
489    E            x: array([     nan, 0.470965, 0.566099, ..., 0.108376, 0.069116,      nan])
490    E            y: array([     nan, 0.470965, 0.566099, ..., 0.108376, 0.069116,      nan])
491


492    elephant/test/test_phase_analysis.py:497: AssertionError
493    ______ MultitaperCoherenceTestCase.test_multitaper_cohere_perfect_cohere _______
494
495    self = <elephant.test.test_spectral.MultitaperCoherenceTestCase testMethod=test_multitaper_cohere_perfect_cohere>
496
497        def test_multitaper_cohere_perfect_cohere(self):
498            # Generate dummy data


 ...

 512                n_segments=16)
 513    
 514            self.assertTrue((coh == np.ones(coh.size)).all())
 515    >       self.assertTrue((phase_lag == np.zeros(phase_lag.size)).all())
 516    E       AssertionError: False is not true
 517    



518    elephant/test/test_spectral.py:867: AssertionError
519    =============================== warnings summary ===============================
...
785    =========================== short test summary info ============================
786    FAILED elephant/test/test_phase_analysis.py::WeightedPhaseLagIndexTestCase::test_WPLI_ground_truth_consistency_real_LFP_dataset
787    FAILED elephant/test/test_spectral.py::MultitaperCoherenceTestCase::test_multitaper_cohere_perfect_cohere
788    ===== 2 failed, 694 passed, 2 skipped, 81629 warnings in 507.46s (0:08:27) =====


See build log for details:
/tmp/mathioulaki1/spack-stage/spack-stage-py-elephant-0.12.0-7cctnt6gevcpvprp3vlcnmlykl7kowxn/spack-build-out.txt

Information on your system

$ spack debug report
* **Spack:** 0.18.1 (13e6f87ef6527954b152eaea303841978e83b992)
* **Python:** 3.6.8
* **Platform:** linux-rocky8-zen2
* **Concretizer:** clingo

Additional information