Skip to content

Test failure on s390x: test_nib_tck2trk #775

@sanjayankur31

Description

@sanjayankur31

While updating the Fedora package to 2.4.1, we received build failures on s390x.

Hardware information:

CPU info:
Architecture:        s390x
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Big Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  1
Socket(s) per book:  1
Book(s) per drawer:  1
Drawer(s):           4
NUMA node(s):        1
Vendor ID:           IBM/S390
Machine type:        2964
CPU dynamic MHz:     5000
CPU static MHz:      5000
BogoMIPS:            3033.00
Hypervisor:          KVM/Linux
Hypervisor vendor:   KVM
Virtualization type: full
Dispatching mode:    horizontal
L1d cache:           128K
L1i cache:           96K
L2d cache:           2048K
L2i cache:           2048K
L3 cache:            65536K
L4 cache:            491520K
NUMA node0 CPU(s):   0-3
Flags:               esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te vx sie


Memory:
              total        used        free      shared  buff/cache   available
Mem:       10306200      259056     8939776         116     1107368     9935280
Swap:       2097148        2568     2094580


Storage:
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda3       103G  3.2G   95G   4% /

Only one test fails:

BUILDSTDERR: ======================================================================
BUILDSTDERR: ERROR: nibabel.tests.test_scripts.test_nib_tck2trk
BUILDSTDERR: ----------------------------------------------------------------------
BUILDSTDERR: Traceback (most recent call last):
BUILDSTDERR:   File "/usr/lib/python3.7/site-packages/nose/case.py", line 197, in runTest
BUILDSTDERR:     self.test(*self.arg)
BUILDSTDERR:   File "/builddir/build/BUILD/nibabel-2.4.1/nibabel/tests/test_scripts.py", line 488, in test_nib_tck2trk
BUILDSTDERR:     trk = nib.streamlines.load(standard_trk)
BUILDSTDERR:   File "/builddir/build/BUILD/nibabel-2.4.1/nibabel/streamlines/__init__.py", line 96, in load
BUILDSTDERR:     return tractogram_file.load(fileobj, lazy_load=lazy_load)
BUILDSTDERR:   File "/builddir/build/BUILD/nibabel-2.4.1/nibabel/streamlines/trk.py", line 372, in load
BUILDSTDERR:     arr_seqs = create_arraysequences_from_generator(trk_reader, n=3)
BUILDSTDERR:   File "/builddir/build/BUILD/nibabel-2.4.1/nibabel/streamlines/array_sequence.py", line 387, in create_arraysequences_from_generator
BUILDSTDERR:     for data in gen:
BUILDSTDERR:   File "/builddir/build/BUILD/nibabel-2.4.1/nibabel/streamlines/trk.py", line 683, in _read
BUILDSTDERR:     buffer=f.read(nb_pts * pts_and_scalars_size))
BUILDSTDERR: TypeError: buffer is too small for requested array
BUILDSTDERR: ----------------------------------------------------------------------

The complete build log is here:
build.txt

The build completes fine on x86_64, i686, ppc64le, and armv7hl

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions