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

1.0.2 test_hdf5 falure on s390 Fedora Rawhide #1488

Open
opoplawski opened this issue Jan 22, 2023 · 10 comments
Open

1.0.2 test_hdf5 falure on s390 Fedora Rawhide #1488

opoplawski opened this issue Jan 22, 2023 · 10 comments
Assignees
Labels
hdf5 needs more information! Further information is requested

Comments

@opoplawski
Copy link
Contributor

        Start 101: test_hdf5.pro
101: Test command: /builddir/build/BUILD/gdl-1.0.2/build/src/gdl "-quiet" "-e" "if execute('test_hdf5') ne 1 then exit, status=1"
101: Working Directory: /builddir/build/BUILD/gdl-1.0.2/build/testsuite
101: Environment variables: 
101:  LC_COLLATE=C
101:  GDL_PATH=/builddir/build/BUILD/gdl-1.0.2/testsuite/:/builddir/build/BUILD/gdl-1.0.2/src/pro/
101:  GDL_STARTUP=
101:  IDL_STARTUP=
101: Test timeout computed to be: 3600
101: % Compiled module: TEST_HDF5.
101: % Compiled module: FILE_SEARCH_FOR_TESTSUITE.
101: % Compiled module: BANNER_FOR_TESTSUITE.
101: % Compiled module: GDL_IDL_FL.
101: % TEST_HDF5_BYTE_ARRAY: 
101:   NO errors encountered during TEST_HDF5_BYTE_ARRAY tests  
101: % TEST_HDF5_STRING:   NO errors encountered during TEST_HDF5_STRING tests  
101: h5dump error: unable to open attribute "attr-02"
101: % TEST_HDF5_ATTR:   12 errors encountered during TEST_HDF5_ATTR tests  
101: % TEST_HDF5_DATA:   32 errors encountered during TEST_HDF5_DATA tests  
101: % H5G_CREATE: Bad value
101: % TEST_HDF5_OBJ_INFO:   NO errors encountered during TEST_HDF5_OBJ_INFO tests  
101: % TEST_HDF5_COMP:   12.0000 errors encountered during TEST_HDF5_COMP tests  
101: % H5G_CREATE: Bad value
101: % TEST_HDF5: =======================================================
101: % TEST_HDF5: =                                                     =
101: % TEST_HDF5: =  56.0000 errors encountered during TEST_HDF5 tests  =
101: % TEST_HDF5: =                                                     =
101: % TEST_HDF5: =======================================================
101/196 Test #101: test_hdf5.pro ......................***Failed    0.48 sec
@slayoo
Copy link
Member

slayoo commented Jan 22, 2023

CC: @ogressel
Oliver, please could you have a look at the above logs provided by Orion who packages GDL for Fedora?
Thanks!

@alaingdl
Copy link
Contributor

a part of the problem (exactly 5.00 ;) errors) comes from the fact the test requests two external executables (h5diff and h5dump). We have to found a solution but those tests are very convenient ..

@opoplawski
Copy link
Contributor Author

I don't think that is it. The HDF5 utilities including h5diff and h5dump are installed when building gdl. The test succeeds on other arches.

@ogressel
Copy link
Contributor

It would be useful to have debug=True set by hand in the various routines in file hdf5_fun.cpp.

P.S.: I'll cast the error count to integer when I get a chance ;)

@ogressel
Copy link
Contributor

Could be a big endian vs. little endian issue. Did the test succeed in earlier versions of GDL?

@opoplawski
Copy link
Contributor Author

Here is the output from the previous build of 1.0.1:

        Start 101: test_hdf5.pro
101: Test command: /builddir/build/BUILD/gdl-1.0.1/build/src/gdl "-quiet" "-e" "test_hdf5"
101: Working Directory: /builddir/build/BUILD/gdl-1.0.1/build/testsuite
101: Environment variables: 
101:  LC_COLLATE=C
101:  GDL_PATH=/builddir/build/BUILD/gdl-1.0.1/testsuite/:/builddir/build/BUILD/gdl-1.0.1/src/pro/
101:  GDL_STARTUP=
101:  IDL_STARTUP=
101: Test timeout computed to be: 3600
101: % Compiled module: TEST_HDF5.
101: % Compiled module: FILE_SEARCH_FOR_TESTSUITE.
101: % TEST_HDF5_BYTE_ARRAY: Bad TYPE ...
101: % Compiled module: BANNER_FOR_TESTSUITE.
101: % Compiled module: GDL_IDL_FL.
101: % TEST_HDF5_BYTE_ARRAY: 
101:   1 errors encountered during TEST_HDF5_BYTE_ARRAY tests  
101: % TEST_HDF5_STRING:   NO errors encountered during TEST_HDF5_STRING tests  
101: % H5F_OPEN: Unable to open file
101: % Execution halted at: TEST_HDF5_ATTR     168 /builddir/build/BUILD/gdl-1.0.1/testsuite/test_hdf5.pro
101: %                      TEST_HDF5          316 /builddir/build/BUILD/gdl-1.0.1/testsuite/test_hdf5.pro
101: %                      $MAIN$          
101/190 Test #101: test_hdf5.pro ......................   Passed    0.17 sec

@opoplawski
Copy link
Contributor Author

With debug:

    Start 103: test_hdf5.pro
103: Test command: /builddir/build/BUILD/gdl-1.0.2/build/src/gdl "-quiet" "-e" "if execute('test_hdf5') ne 1 then exit, status=1"
103: Working Directory: /builddir/build/BUILD/gdl-1.0.2/build/testsuite
103: Environment variables: 
103:  LC_COLLATE=C
103:  GDL_PATH=/builddir/build/BUILD/gdl-1.0.2/testsuite/:/builddir/build/BUILD/gdl-1.0.2/src/pro/
103:  GDL_STARTUP=
103:  IDL_STARTUP=
103: Test timeout computed to be: 3600
103: % Compiled module: TEST_HDF5.
103: % Compiled module: FILE_SEARCH_FOR_TESTSUITE.
103: data rank is: 1
103: dimensions are: 3,
103: match 'GDL_BYTE'
103: ourType : 1
103: % Compiled module: BANNER_FOR_TESTSUITE.
103: % Compiled module: GDL_IDL_FL.
103: % TEST_HDF5_BYTE_ARRAY: 
103:   NO errors encountered during TEST_HDF5_BYTE_ARRAY tests  
103: data rank is: 1
103: dimensions are: 1,
103: ourType : 7
103: fixed-length string dataset
103: % TEST_HDF5_STRING:   NO errors encountered during TEST_HDF5_STRING tests  
103: h5dump error: unable to open attribute "attr-02"
103: dataspace rank=1
103:  curr_dims=[4];
103: dataspace rank=2
103:  curr_dims=[3,4];
103: dataspace rank=3
103:  curr_dims=[2,3,4];
103: dataspace rank=1
103:  curr_dims=[4];
103: dataspace rank=2
103:  curr_dims=[3,4];
103: dataspace rank=3
103:  curr_dims=[2,3,4];
103: dataspace rank=1
103:  curr_dims=[4];
103: dataspace rank=2
103:  curr_dims=[3,4];
103: dataspace rank=3
103:  curr_dims=[2,3,4];
103: data rank is: 0
103: match 'GDL_INT'
103: ourType : 2
103: data rank is: 1
103: dimensions are: 4,
103: match 'GDL_LONG'
103: ourType : 3
103: data rank is: 2
103: dimensions are: 3,4,
103: match 'GDL_LONG64'
103: ourType : 14
103: data rank is: 3
103: dimensions are: 2,3,4,
103: ourType : 7
103: fixed-length string dataset
103: array datatype of rank: 1
103: dimensions are: 3,
103: data rank is: 0
103: match 'GDL_LONG'
103: ourType : 3
103: array datatype of rank: 1
103: dimensions are: 3,
103: data rank is: 1
103: dimensions are: 4,
103: match 'GDL_LONG64'
103: ourType : 14
103: array datatype of rank: 1
103: dimensions are: 3,
103: data rank is: 2
103: dimensions are: 3,4,
103: ourType : 7
103: fixed-length string dataset
103: array datatype of rank: 1
103: dimensions are: 3,
103: data rank is: 3
103: dimensions are: 2,3,4,
103: match 'GDL_INT'
103: ourType : 2
103: array datatype of rank: 2
103: dimensions are: 3,2,
103: data rank is: 0
103: match 'GDL_LONG64'
103: ourType : 14
103: array datatype of rank: 2
103: dimensions are: 3,2,
103: data rank is: 1
103: dimensions are: 4,
103: ourType : 7
103: fixed-length string dataset
103: array datatype of rank: 2
103: dimensions are: 3,2,
103: data rank is: 2
103: dimensions are: 3,4,
103: match 'GDL_INT'
103: ourType : 2
103: array datatype of rank: 2
103: dimensions are: 3,2,
103: data rank is: 3
103: dimensions are: 2,3,4,
103: match 'GDL_LONG'
103: ourType : 3
103: % TEST_HDF5_ATTR:   12 errors encountered during TEST_HDF5_ATTR tests  
103: dataspace rank=1
103:  curr_dims=[4];
103: dataspace rank=2
103:  curr_dims=[4,5];
103: dataspace rank=3
103:  curr_dims=[4,5,6];
103: dataspace rank=1
103:  curr_dims=[4];
103: dataspace rank=2
103:  curr_dims=[4,5];
103: dataspace rank=3
103:  curr_dims=[4,5,6];
103: dataspace rank=1
103:  curr_dims=[4];
103: dataspace rank=2
103:  curr_dims=[4,5];
103: dataspace rank=3
103:  curr_dims=[4,5,6];
103: data rank is: 0
103: match 'GDL_INT'
103: ourType : 2
103: data rank is: 1
103: dimensions are: 4,
103: match 'GDL_LONG'
103: ourType : 3
103: data rank is: 2
103: dimensions are: 4,5,
103: match 'GDL_LONG64'
103: ourType : 14
103: data rank is: 3
103: dimensions are: 4,5,6,
103: ourType : 7
103: fixed-length string dataset
103: array datatype of rank: 1
103: dimensions are: 3,
103: data rank is: 0
103: match 'GDL_LONG'
103: ourType : 3
103: array datatype of rank: 1
103: dimensions are: 3,
103: data rank is: 1
103: dimensions are: 4,
103: match 'GDL_LONG64'
103: ourType : 14
103: array datatype of rank: 1
103: dimensions are: 3,
103: data rank is: 2
103: dimensions are: 4,5,
103: ourType : 7
103: fixed-length string dataset
103: array datatype of rank: 1
103: dimensions are: 3,
103: data rank is: 3
103: dimensions are: 4,5,6,
103: match 'GDL_INT'
103: ourType : 2
103: array datatype of rank: 2
103: dimensions are: 3,2,
103: data rank is: 0
103: match 'GDL_LONG64'
103: ourType : 14
103: array datatype of rank: 2
103: dimensions are: 3,2,
103: data rank is: 1
103: dimensions are: 4,
103: ourType : 7
103: fixed-length string dataset
103: array datatype of rank: 2
103: dimensions are: 3,2,
103: data rank is: 2
103: dimensions are: 4,5,
103: match 'GDL_INT'
103: ourType : 2
103: array datatype of rank: 2
103: dimensions are: 3,2,
103: data rank is: 3
103: dimensions are: 4,5,6,
103: match 'GDL_LONG'
103: ourType : 3
103: data rank is: 0
103: match 'GDL_INT'
103: ourType : 2
103: dataspace rank=1
103:  curr_dims=[4];
103: data rank is: 1
103: dimensions are: 4,
103: match 'GDL_LONG'
103: ourType : 3
103: dataspace rank=2
103:  curr_dims=[4,5];
103: data rank is: 2
103: dimensions are: 4,5,
103: match 'GDL_LONG64'
103: ourType : 14
103: dataspace rank=3
103:  curr_dims=[4,5,6];
103: data rank is: 3
103: dimensions are: 4,5,6,
103: ourType : 7
103: fixed-length string dataset
103: array datatype of rank: 1
103: dimensions are: 3,
103: data rank is: 0
103: match 'GDL_LONG'
103: ourType : 3
103: dataspace rank=1
103:  curr_dims=[4];
103: array datatype of rank: 1
103: dimensions are: 3,
103: data rank is: 1
103: dimensions are: 4,
103: match 'GDL_LONG64'
103: ourType : 14
103: dataspace rank=2
103:  curr_dims=[4,5];
103: array datatype of rank: 1
103: dimensions are: 3,
103: data rank is: 2
103: dimensions are: 4,5,
103: ourType : 7
103: fixed-length string dataset
103: dataspace rank=3
103:  curr_dims=[4,5,6];
103: array datatype of rank: 1
103: dimensions are: 3,
103: data rank is: 3
103: dimensions are: 4,5,6,
103: match 'GDL_INT'
103: ourType : 2
103: array datatype of rank: 2
103: dimensions are: 3,2,
103: data rank is: 0
103: match 'GDL_LONG64'
103: ourType : 14
103: dataspace rank=1
103:  curr_dims=[4];
103: array datatype of rank: 2
103: dimensions are: 3,2,
103: data rank is: 1
103: dimensions are: 4,
103: ourType : 7
103: fixed-length string dataset
103: dataspace rank=2
103:  curr_dims=[4,5];
103: array datatype of rank: 2
103: dimensions are: 3,2,
103: data rank is: 2
103: dimensions are: 4,5,
103: match 'GDL_INT'
103: ourType : 2
103: dataspace rank=3
103:  curr_dims=[4,5,6];
103: array datatype of rank: 2
103: dimensions are: 3,2,
103: data rank is: 3
103: dimensions are: 4,5,6,
103: match 'GDL_LONG'
103: ourType : 3
103: dataspace rank=1; start=[1]; count=[2]; block=[1]; stride=[1];
103: dataspace rank=1
103:  curr_dims=[2];
103: data rank is: 1
103: dimensions are: 2,
103: match 'GDL_LONG'
103: ourType : 3
103: dataspace rank=2; start=[1,1]; count=[2,3]; block=[1,1]; stride=[1,1];
103: dataspace rank=2
103:  curr_dims=[2,3];
103: data rank is: 2
103: dimensions are: 2,3,
103: match 'GDL_LONG64'
103: ourType : 14
103: dataspace rank=3; start=[1,1,1]; count=[2,3,4]; block=[1,1,1]; stride=[1,1,1];
103: dataspace rank=3
103:  curr_dims=[2,3,4];
103: data rank is: 3
103: dimensions are: 2,3,4,
103: ourType : 7
103: fixed-length string dataset
103: dataspace rank=1; start=[1]; count=[2]; block=[1]; stride=[1];
103: dataspace rank=1
103:  curr_dims=[2];
103: array datatype of rank: 1
103: dimensions are: 3,
103: data rank is: 1
103: dimensions are: 2,
103: match 'GDL_LONG64'
103: ourType : 14
103: dataspace rank=2; start=[1,1]; count=[2,3]; block=[1,1]; stride=[1,1];
103: dataspace rank=2
103:  curr_dims=[2,3];
103: array datatype of rank: 1
103: dimensions are: 3,
103: data rank is: 2
103: dimensions are: 2,3,
103: ourType : 7
103: fixed-length string dataset
103: dataspace rank=3; start=[1,1,1]; count=[2,3,4]; block=[1,1,1]; stride=[1,1,1];
103: dataspace rank=3
103:  curr_dims=[2,3,4];
103: array datatype of rank: 1
103: dimensions are: 3,
103: data rank is: 3
103: dimensions are: 2,3,4,
103: match 'GDL_INT'
103: ourType : 2
103: dataspace rank=1; start=[1]; count=[2]; block=[1]; stride=[1];
103: dataspace rank=1
103:  curr_dims=[2];
103: array datatype of rank: 2
103: dimensions are: 3,2,
103: data rank is: 1
103: dimensions are: 2,
103: ourType : 7
103: fixed-length string dataset
103: dataspace rank=2; start=[1,1]; count=[2,3]; block=[1,1]; stride=[1,1];
103: dataspace rank=2
103:  curr_dims=[2,3];
103: array datatype of rank: 2
103: dimensions are: 3,2,
103: data rank is: 2
103: dimensions are: 2,3,
103: match 'GDL_INT'
103: ourType : 2
103: dataspace rank=3; start=[1,1,1]; count=[2,3,4]; block=[1,1,1]; stride=[1,1,1];
103: dataspace rank=3
103:  curr_dims=[2,3,4];
103: array datatype of rank: 2
103: dimensions are: 3,2,
103: data rank is: 3
103: dimensions are: 2,3,4,
103: match 'GDL_LONG'
103: ourType : 3
103: % TEST_HDF5_DATA:   32 errors encountered during TEST_HDF5_DATA tests  
103: % H5G_CREATE: Bad value
103: % TEST_HDF5_OBJ_INFO:   NO errors encountered during TEST_HDF5_OBJ_INFO tests  
103:   creating type for struct '$truct' of size 147 with 5 members
103:   tag 'A_BYTE' of rank 0, dimensions are: (), size=1, offs=0
103:   tag 'A_BYTE_ARR' of rank 1, dimensions are: (4), size=4, offs=1
103:   tag 'SUB' of rank 0, dimensions are: (), size=120, offs=5
103:     creating type for struct '$truct' of size 93 with 7 members
103:     tag 'AN_INTEGER' of rank 0, dimensions are: (), size=2, offs=0
103:     tag 'A_LONG' of rank 0, dimensions are: (), size=4, offs=2
103:     tag 'A_FLOAT' of rank 0, dimensions are: (), size=4, offs=6
103:     tag 'A_DOUBLE' of rank 0, dimensions are: (), size=8, offs=10
103:     tag 'A_FLOAT_ARR' of rank 1, dimensions are: (3), size=12, offs=18
103:     tag 'A_DOUBLE_ARR' of rank 2, dimensions are: (2,3), size=48, offs=30
103:     tag 'A_STRING' of rank 0, dimensions are: (), size=15, offs=78
103:   tag 'A_STRING' of rank 0, dimensions are: (), size=13, offs=125
103:   tag 'A_STRING_ARR' of rank 1, dimensions are: (3), size=9, offs=139
103:   gathering data for struct '$truct' of size 151 with 5 members
103:   tag 'A_BYTE' of rank 0, dimensions are: (), size=1, offs=0
103:   tag 'A_BYTE_ARR' of rank 1, dimensions are: (4), size=4, offs=1
103:   tag 'SUB' of rank 1, dimensions are: (1), size=120, offs=5
103:     gathering data for struct '$truct' of size 94 with 7 members
103:     tag 'AN_INTEGER' of rank 0, dimensions are: (), size=2, offs=0
103:     tag 'A_LONG' of rank 0, dimensions are: (), size=4, offs=2
103:     tag 'A_FLOAT' of rank 0, dimensions are: (), size=4, offs=6
103:     tag 'A_DOUBLE' of rank 0, dimensions are: (), size=8, offs=10
103:     tag 'A_FLOAT_ARR' of rank 1, dimensions are: (3), size=12, offs=18
103:     tag 'A_DOUBLE_ARR' of rank 2, dimensions are: (2,3), size=48, offs=30
103:     tag 'A_STRING' of rank 0, dimensions are: (), size=16, offs=78
103:   tag 'A_STRING' of rank 0, dimensions are: (), size=14, offs=125
103:   tag 'A_STRING_ARR' of rank 1, dimensions are: (3), size=12, offs=139
103:   gathering data for struct '$truct' of size 151 with 5 members
103:   tag 'A_BYTE' of rank 0, dimensions are: (), size=1, offs=0
103:   tag 'A_BYTE_ARR' of rank 1, dimensions are: (4), size=4, offs=1
103:   tag 'SUB' of rank 1, dimensions are: (1), size=120, offs=5
103:     gathering data for struct '$truct' of size 94 with 7 members
103:     tag 'AN_INTEGER' of rank 0, dimensions are: (), size=2, offs=0
103:     tag 'A_LONG' of rank 0, dimensions are: (), size=4, offs=2
103:     tag 'A_FLOAT' of rank 0, dimensions are: (), size=4, offs=6
103:     tag 'A_DOUBLE' of rank 0, dimensions are: (), size=8, offs=10
103:     tag 'A_FLOAT_ARR' of rank 1, dimensions are: (3), size=12, offs=18
103:     tag 'A_DOUBLE_ARR' of rank 2, dimensions are: (2,3), size=48, offs=30
103:     tag 'A_STRING' of rank 0, dimensions are: (), size=16, offs=78
103:   tag 'A_STRING' of rank 0, dimensions are: (), size=14, offs=125
103:   tag 'A_STRING_ARR' of rank 1, dimensions are: (3), size=12, offs=139
103: dataspace rank=2
103:  curr_dims=[2,3];
103:   creating type for struct '$truct' of size 93 with 7 members
103:   tag 'AN_INTEGER' of rank 0, dimensions are: (), size=2, offs=0
103:   tag 'A_LONG' of rank 0, dimensions are: (), size=4, offs=2
103:   tag 'A_FLOAT' of rank 0, dimensions are: (), size=4, offs=6
103:   tag 'A_DOUBLE' of rank 0, dimensions are: (), size=8, offs=10
103:   tag 'A_FLOAT_ARR' of rank 1, dimensions are: (3), size=12, offs=18
103:   tag 'A_DOUBLE_ARR' of rank 2, dimensions are: (2,3), size=48, offs=30
103:   tag 'A_STRING' of rank 0, dimensions are: (), size=15, offs=78
103:   gathering data for struct '$truct' of size 94 with 7 members
103:   tag 'AN_INTEGER' of rank 0, dimensions are: (), size=2, offs=0
103:   tag 'A_LONG' of rank 0, dimensions are: (), size=4, offs=2
103:   tag 'A_FLOAT' of rank 0, dimensions are: (), size=4, offs=6
103:   tag 'A_DOUBLE' of rank 0, dimensions are: (), size=8, offs=10
103:   tag 'A_FLOAT_ARR' of rank 1, dimensions are: (3), size=12, offs=18
103:   tag 'A_DOUBLE_ARR' of rank 2, dimensions are: (2,3), size=48, offs=30
103:   tag 'A_STRING' of rank 0, dimensions are: (), size=16, offs=78
103:   gathering data for struct '$truct' of size 94 with 7 members
103:   tag 'AN_INTEGER' of rank 0, dimensions are: (), size=2, offs=0
103:   tag 'A_LONG' of rank 0, dimensions are: (), size=4, offs=2
103:   tag 'A_FLOAT' of rank 0, dimensions are: (), size=4, offs=6
103:   tag 'A_DOUBLE' of rank 0, dimensions are: (), size=8, offs=10
103:   tag 'A_FLOAT_ARR' of rank 1, dimensions are: (3), size=12, offs=18
103:   tag 'A_DOUBLE_ARR' of rank 2, dimensions are: (2,3), size=48, offs=30
103:   tag 'A_STRING' of rank 0, dimensions are: (), size=16, offs=78
103:   gathering data for struct '$truct' of size 94 with 7 members
103:   tag 'AN_INTEGER' of rank 0, dimensions are: (), size=2, offs=0
103:   tag 'A_LONG' of rank 0, dimensions are: (), size=4, offs=2
103:   tag 'A_FLOAT' of rank 0, dimensions are: (), size=4, offs=6
103:   tag 'A_DOUBLE' of rank 0, dimensions are: (), size=8, offs=10
103:   tag 'A_FLOAT_ARR' of rank 1, dimensions are: (3), size=12, offs=18
103:   tag 'A_DOUBLE_ARR' of rank 2, dimensions are: (2,3), size=48, offs=30
103:   tag 'A_STRING' of rank 0, dimensions are: (), size=16, offs=78
103:   gathering data for struct '$truct' of size 94 with 7 members
103:   tag 'AN_INTEGER' of rank 0, dimensions are: (), size=2, offs=0
103:   tag 'A_LONG' of rank 0, dimensions are: (), size=4, offs=2
103:   tag 'A_FLOAT' of rank 0, dimensions are: (), size=4, offs=6
103:   tag 'A_DOUBLE' of rank 0, dimensions are: (), size=8, offs=10
103:   tag 'A_FLOAT_ARR' of rank 1, dimensions are: (3), size=12, offs=18
103:   tag 'A_DOUBLE_ARR' of rank 2, dimensions are: (2,3), size=48, offs=30
103:   tag 'A_STRING' of rank 0, dimensions are: (), size=16, offs=78
103:   gathering data for struct '$truct' of size 94 with 7 members
103:   tag 'AN_INTEGER' of rank 0, dimensions are: (), size=2, offs=0
103:   tag 'A_LONG' of rank 0, dimensions are: (), size=4, offs=2
103:   tag 'A_FLOAT' of rank 0, dimensions are: (), size=4, offs=6
103:   tag 'A_DOUBLE' of rank 0, dimensions are: (), size=8, offs=10
103:   tag 'A_FLOAT_ARR' of rank 1, dimensions are: (3), size=12, offs=18
103:   tag 'A_DOUBLE_ARR' of rank 2, dimensions are: (2,3), size=48, offs=30
103:   tag 'A_STRING' of rank 0, dimensions are: (), size=16, offs=78
103:   gathering data for struct '$truct' of size 94 with 7 members
103:   tag 'AN_INTEGER' of rank 0, dimensions are: (), size=2, offs=0
103:   tag 'A_LONG' of rank 0, dimensions are: (), size=4, offs=2
103:   tag 'A_FLOAT' of rank 0, dimensions are: (), size=4, offs=6
103:   tag 'A_DOUBLE' of rank 0, dimensions are: (), size=8, offs=10
103:   tag 'A_FLOAT_ARR' of rank 1, dimensions are: (3), size=12, offs=18
103:   tag 'A_DOUBLE_ARR' of rank 2, dimensions are: (2,3), size=48, offs=30
103:   tag 'A_STRING' of rank 0, dimensions are: (), size=16, offs=78
103: data rank is: 0
103: ourType : 8
103: compound dataset
103:   compound datatype of size 125 with 5 members
103:   found integer element 'A_BYTE' of size 1 at offset 0
103: match 'GDL_BYTE'
103:   found array element 'A_BYTE_ARR' of size 4 at offset 1
103: match 'GDL_BYTE'
103:     compound datatype of size 94 with 7 members
103:     found integer element 'AN_INTEGER' of size 2 at offset 0
103: match 'GDL_INT'
103:     found integer element 'A_LONG' of size 4 at offset 2
103: match 'GDL_LONG'
103:     found float element 'A_FLOAT' of size 4 at offset 6
103: match 'GDL_LONG'
103:     found float element 'A_DOUBLE' of size 8 at offset 10
103: match 'GDL_LONG64'
103:     found array element 'A_FLOAT_ARR' of size 12 at offset 18
103: match 'GDL_LONG'
103:     found array element 'A_DOUBLE_ARR' of size 48 at offset 30
103: match 'GDL_LONG64'
103:     found string element 'A_STRING' of size 16 at offset 78
103:   found nested compound element 'SUB' of size 94 at offset 5
103:   found string element 'A_STRING' of size 14 at offset 99
103:   found array element 'A_STRING_ARR' of size 12 at offset 113
103: data rank is: 0
103: ourType : 8
103: compound dataset
103:   compound datatype of size 125 with 5 members
103:   found integer element 'A_BYTE' of size 1 at offset 0
103: match 'GDL_BYTE'
103:   found array element 'A_BYTE_ARR' of size 4 at offset 1
103: match 'GDL_BYTE'
103:     compound datatype of size 94 with 7 members
103:     found integer element 'AN_INTEGER' of size 2 at offset 0
103: match 'GDL_INT'
103:     found integer element 'A_LONG' of size 4 at offset 2
103: match 'GDL_LONG'
103:     found float element 'A_FLOAT' of size 4 at offset 6
103: match 'GDL_LONG'
103:     found float element 'A_DOUBLE' of size 8 at offset 10
103: match 'GDL_LONG64'
103:     found array element 'A_FLOAT_ARR' of size 12 at offset 18
103: match 'GDL_LONG'
103:     found array element 'A_DOUBLE_ARR' of size 48 at offset 30
103: match 'GDL_LONG64'
103:     found string element 'A_STRING' of size 16 at offset 78
103:   found nested compound element 'SUB' of size 94 at offset 5
103:   found string element 'A_STRING' of size 14 at offset 99
103:   found array element 'A_STRING_ARR' of size 12 at offset 113
103: % TEST_HDF5_COMP:   12.0000 errors encountered during TEST_HDF5_COMP tests  
103: % H5G_CREATE: Bad value
103: % TEST_HDF5: =======================================================
103: % TEST_HDF5: =                                                     =
103: % TEST_HDF5: =  56.0000 errors encountered during TEST_HDF5 tests  =
103: % TEST_HDF5: =                                                     =
103: % TEST_HDF5: =======================================================
3/3 Test #103: test_hdf5.pro ....................***Failed    0.32 sec

@ogressel
Copy link
Contributor

Thanks @opoplawski . Cannot spot anything suspicious. Could you revert to debug=False again and then uncomment the ;;; help, ... bits in testsuite/test_hdf5.pro?

@opoplawski
Copy link
Contributor Author

Sorry, meant to get this to you earlier:

    Start 103: test_hdf5.pro
103: Test command: /builddir/build/BUILD/gdl-1.0.2/build/src/gdl "-quiet" "-e" "if execute('test_hdf5') ne 1 then exit, status=1"
103: Working Directory: /builddir/build/BUILD/gdl-1.0.2/build/testsuite
103: Environment variables: 
103:  LC_COLLATE=C
103:  GDL_PATH=/builddir/build/BUILD/gdl-1.0.2/testsuite/:/builddir/build/BUILD/gdl-1.0.2/src/pro/
103:  GDL_STARTUP=
103:  IDL_STARTUP=
103: Test timeout computed to be: 3600
103: % Compiled module: TEST_HDF5.
103: % Compiled module: FILE_SEARCH_FOR_TESTSUITE.
103: % Compiled module: BANNER_FOR_TESTSUITE.
103: % Compiled module: GDL_IDL_FL.
103: % TEST_HDF5_BYTE_ARRAY: 
103:   NO errors encountered during TEST_HDF5_BYTE_ARRAY tests  
103: % TEST_HDF5_STRING:   NO errors encountered during TEST_HDF5_STRING tests  
103: h5dump error: unable to open attribute "attr-02"
103: <Expression>    INT       =      123
103: READ_ATTR_DATA  INT       =      123
103: <Expression>    FLOAT     = Array[4]
103: READ_ATTR_DATA  LONG      = Array[4]
103: <Expression>    DOUBLE    = Array[4, 3]
103: READ_ATTR_DATA  LONG64    = Array[4, 3]
103: <Expression>    STRING    = Array[4, 3, 2]
103: READ_ATTR_DATA  STRING    = Array[4, 3, 2]
103: <Expression>    FLOAT     = Array[3]
103: READ_ATTR_DATA  LONG      = Array[3]
103: <Expression>    DOUBLE    = Array[3, 4]
103: READ_ATTR_DATA  LONG64    = Array[3, 4]
103: <Expression>    STRING    = Array[3, 4, 3]
103: READ_ATTR_DATA  STRING    = Array[3, 4, 3]
103: <Expression>    INT       = Array[3, 4, 3, 2]
103: READ_ATTR_DATA  INT       = Array[3, 4, 3, 2]
103: <Expression>    DOUBLE    = Array[2, 3]
103: READ_ATTR_DATA  LONG64    = Array[2, 3]
103: <Expression>    STRING    = Array[2, 3, 4]
103: READ_ATTR_DATA  STRING    = Array[2, 3, 4]
103: <Expression>    INT       = Array[2, 3, 4, 3]
103: READ_ATTR_DATA  INT       = Array[2, 3, 4, 3]
103: <Expression>    FLOAT     = Array[2, 3, 4, 3, 2]
103: READ_ATTR_DATA  LONG      = Array[2, 3, 4, 3, 2]
103: % TEST_HDF5_ATTR:   12 errors encountered during TEST_HDF5_ATTR tests  
103: <Expression>    INT       =      123
103: READ_MOCK_DATA  INT       =      123
103: <Expression>    FLOAT     = Array[4]
103: READ_MOCK_DATA  LONG      = Array[4]
103: <Expression>    DOUBLE    = Array[5, 4]
103: READ_MOCK_DATA  LONG64    = Array[5, 4]
103: <Expression>    STRING    = Array[6, 5, 4]
103: READ_MOCK_DATA  STRING    = Array[6, 5, 4]
103: <Expression>    FLOAT     = Array[3]
103: READ_MOCK_DATA  LONG      = Array[3]
103: <Expression>    DOUBLE    = Array[3, 4]
103: READ_MOCK_DATA  LONG64    = Array[3, 4]
103: <Expression>    STRING    = Array[3, 5, 4]
103: READ_MOCK_DATA  STRING    = Array[3, 5, 4]
103: <Expression>    INT       = Array[3, 6, 5, 4]
103: READ_MOCK_DATA  INT       = Array[3, 6, 5, 4]
103: <Expression>    DOUBLE    = Array[2, 3]
103: READ_MOCK_DATA  LONG64    = Array[2, 3]
103: <Expression>    STRING    = Array[2, 3, 4]
103: READ_MOCK_DATA  STRING    = Array[2, 3, 4]
103: <Expression>    INT       = Array[2, 3, 5, 4]
103: READ_MOCK_DATA  INT       = Array[2, 3, 5, 4]
103: <Expression>    FLOAT     = Array[2, 3, 6, 5, 4]
103: READ_MOCK_DATA  LONG      = Array[2, 3, 6, 5, 4]
103: <Expression>    INT       =      123
103: READ_MOCK_DATA  INT       =      123
103: <Expression>    FLOAT     = Array[4]
103: READ_MOCK_DATA  LONG      = Array[4]
103: <Expression>    DOUBLE    = Array[5, 4]
103: READ_MOCK_DATA  LONG64    = Array[5, 4]
103: <Expression>    STRING    = Array[6, 5, 4]
103: READ_MOCK_DATA  STRING    = Array[6, 5, 4]
103: <Expression>    FLOAT     = Array[3]
103: READ_MOCK_DATA  LONG      = Array[3]
103: <Expression>    DOUBLE    = Array[3, 4]
103: READ_MOCK_DATA  LONG64    = Array[3, 4]
103: <Expression>    STRING    = Array[3, 5, 4]
103: READ_MOCK_DATA  STRING    = Array[3, 5, 4]
103: <Expression>    INT       = Array[3, 6, 5, 4]
103: READ_MOCK_DATA  INT       = Array[3, 6, 5, 4]
103: <Expression>    DOUBLE    = Array[2, 3]
103: READ_MOCK_DATA  LONG64    = Array[2, 3]
103: <Expression>    STRING    = Array[2, 3, 4]
103: READ_MOCK_DATA  STRING    = Array[2, 3, 4]
103: <Expression>    INT       = Array[2, 3, 5, 4]
103: READ_MOCK_DATA  INT       = Array[2, 3, 5, 4]
103: <Expression>    FLOAT     = Array[2, 3, 6, 5, 4]
103: READ_MOCK_DATA  LONG      = Array[2, 3, 6, 5, 4]
103: SLAB            FLOAT     = Array[2]
103: READ_MOCK_DATA  LONG      = Array[2]
103: SLAB            DOUBLE    = Array[3, 2]
103: READ_MOCK_DATA  LONG64    = Array[3, 2]
103: SLAB            STRING    = Array[4, 3, 2]
103: READ_MOCK_DATA  STRING    = Array[4, 3, 2]
103: SLAB            DOUBLE    = Array[3, 2]
103: READ_MOCK_DATA  LONG64    = Array[3, 2]
103: SLAB            STRING    = Array[3, 3, 2]
103: READ_MOCK_DATA  STRING    = Array[3, 3, 2]
103: SLAB            INT       = Array[3, 4, 3, 2]
103: READ_MOCK_DATA  INT       = Array[3, 4, 3, 2]
103: SLAB            STRING    = Array[2, 3, 2]
103: READ_MOCK_DATA  STRING    = Array[2, 3, 2]
103: SLAB            INT       = Array[2, 3, 3, 2]
103: READ_MOCK_DATA  INT       = Array[2, 3, 3, 2]
103: SLAB            FLOAT     = Array[2, 3, 4, 3, 2]
103: READ_MOCK_DATA  LONG      = Array[2, 3, 4, 3, 2]
103: % TEST_HDF5_DATA:   32 errors encountered during TEST_HDF5_DATA tests  
103: % H5G_CREATE: Bad value
103: % TEST_HDF5_OBJ_INFO:   NO errors encountered during TEST_HDF5_OBJ_INFO tests  
103: ** Structure <Anonymous>, 5 tags,memsize =256, data length=120/147:
103:    A_BYTE          BYTE         4
103:    A_BYTE_ARR      BYTE      Array[4]
103:    SUB             STRUCT    -> <Anonymous> Array[1]
103:    A_STRING        STRING    'main compound'
103:    A_STRING_ARR    STRING    Array[3]
103: ** Structure <Anonymous>, 7 tags,memsize =120, data length=93/93:
103:    AN_INTEGER      INT            256
103:    A_LONG          LONG          33554432
103:    A_FLOAT         LONG        -842232769
103:    A_DOUBLE        LONG64       3689348814741959487
103:    A_FLOAT_ARR     LONG      Array[3]
103:    A_DOUBLE_ARR    LONG64    Array[2, 3]
103:    A_STRING        STRING    'nested compound'
103: ** Structure <Anonymous>, 5 tags,memsize =256, data length=120/147:
103:    A_BYTE          BYTE         4
103:    A_BYTE_ARR      BYTE      Array[4]
103:    SUB             STRUCT    -> <Anonymous> Array[1]
103:    A_STRING        STRING    'main compound'
103:    A_STRING_ARR    STRING    Array[3]
103: ** Structure <Anonymous>, 7 tags,memsize =120, data length=93/93:
103:    AN_INTEGER      INT              1
103:    A_LONG          LONG                 2
103:    A_FLOAT         FLOAT           1.10000
103:    A_DOUBLE        DOUBLE           1.2000000
103:    A_FLOAT_ARR     FLOAT     Array[3]
103:    A_DOUBLE_ARR    DOUBLE    Array[2, 3]
103:    A_STRING        STRING    'nested compound'
103: % TEST_HDF5_COMP:   12.0000 errors encountered during TEST_HDF5_COMP tests  
103: % H5G_CREATE: Bad value
103: % TEST_HDF5: =======================================================
103: % TEST_HDF5: =                                                     =
103: % TEST_HDF5: =  56.0000 errors encountered during TEST_HDF5 tests  =
103: % TEST_HDF5: =                                                     =
103: % TEST_HDF5: =======================================================
3/3 Test #103: test_hdf5.pro ....................***Failed    0.41 sec

@ogressel
Copy link
Contributor

Thanks, @opoplawski . It appears there is an issue with the recognition of the datatype. I was wondering whether you could point me to a Hercules-image for Fedora Rawhide that I could use to build GDL on an s390 emulator.

@GillesDuvert GillesDuvert added the needs more information! Further information is requested label Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hdf5 needs more information! Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants