HDFGroup / hdf4

Official HDF4 Library Repository
Other
14 stars 25 forks source link

Nvidia compiler tests fail sporadically in CI #675

Open derobins opened 7 months ago

derobins commented 7 months ago

The test that fails is 'Autotools nvhpc production' and the test that fails is mfhdf/test/hdftest

This code is valgrind/sanitize clean, so it doesn't seem to be a wild write. Perhaps undefined behavior with respect to something like an integer shift?

----------------------------
hdftest  Test Log
----------------------------
*** Routine SDwritedata: (SD_FILL) FAILED at line 900 ***
*** Routine SDnametoindex: (UNLIMITED_SDS) FAILED at line 918 ***
*** Routine SDselect: (UNLIMITED_SDS) FAILED at line 922 ***
*** Routine SDwritedata(NO_FILL) FAILED at line 930 ***
line 935, wrong value for 0: should be 12, got -300
line 935, wrong value for 1: should be 13, got -300
line 935, wrong value for 2: should be 14, got -300
line 935, wrong value for 3: should be 15, got -300
line 935, wrong value for 4: should be 16, got -300
line 935, wrong value for 5: should be 17, got -300
line 943, wrong value: should be -300, got 18
make[5]: *** [Makefile:1333: hdftest.chkexe_] Error 1
make[5]: *** Waiting for unfinished jobs....
line 943, wrong value: should be -300, got 19
line 943, wrong value: should be -300, got 20
line 943, wrong value: should be -300, got 21
line 943, wrong value: should be -300, got 22
line 943, wrong value: should be -300, got 23
*** Routine SDendaccess FAILED at line 951 ***
*** Routine SDstart: (again2) FAILED at line 1015 ***
*** Routine SDnametoindex: failed to get index for data set 'dimval_non_compat' in file 'test1.hdf' FAILED at line 1020 ***
*** Routine SDselect:Failed to select data set 'dimval_1_compat' in file 'test1.hdf' FAILED at line 1024 ***
*** Routine SDgetinfo FAILED at line 1028 ***
SDgetinfo returned wrong values
*** Routine SDgetdimid FAILED at line 1038 ***
*** Routine SDdiminfo FAILED at line 1042 ***
SDdiminfo returned wrong values
SDisdimvalcomp returned wrong value for dimension.
*** Routine SDsetdimval_comp FAILED at line 1057 ***
*** Routine SDgetdimid FAILED at line 1061 ***
*** Routine SDdiminfo FAILED at line 1065 ***
Failed on SDgetinfo call
*** Routine SDwritedata FAILED at line 1075 ***
SDisdimvalcomp returned wrong value for dimension
*** Routine SDsetdimval_comp FAILED at line 1095 ***
*** Routine SDendaccess FAILED at line 1099 ***
*** Routine SDend FAILED at line 1103 ***
*** Routine SDstart (again3) FAILED at line 1110 ***
*** Routine SDnametoindex: failed to get index for data set 'dimval_1_compat' in file 'test1.hdf' FAILED at line 1115 ***
*** Routine SDselect:Failed to select data set 'dimval_1_compat' in file 'test1.hdf' FAILED at line 1119 ***
*** Routine SDgetinfo FAILED at line 1123 ***
SDgetinfo returned wrong values
*** Routine SDgetdimid FAILED at line 1133 ***
*** Routine SDdiminfo FAILED at line 1137 ***
Failed on SDgetinfo call
SDisdimvalcomp returned wrong value
*** Routine SDsetdimval_comp FAILED at line 1154 ***
*** Routine SDendaccess FAILED at line 1157 ***
*** Routine SDreftoindex: failed to get index for 'ndg_saved_ref' FAILED at line 1165 ***
*** Routine SDselect: Failed to get handle for data set 'DataSetAlpha'  FAILED at line 1169 ***
Saved NDG ref != to SDindextoref of same
*** Routine SDendaccess FAILED at line 1179 ***
*** Routine SDend FAILED at line 1183 ***
Testing create/read/write compressed datasets (tcomp.c)                PASSED
Testing create/read/write chunked datasets (tchunk.c)                  PASSED
Testing reading of netCDF file using the SDxxx interface (tnetcdf.c)   PASSED
Testing functionality of dimensions (tdim.c)                           PASSED
Testing functions involving empty data sets (temptySDSs.c)             PASSED
Testing various setting attribute features (tattributes.c)             PASSED
Testing getting data size of special data (tdatasizes.c)               PASSED
Testing getting location info of data (tdatainfo.c)                    PASSED
Testing getting location info of attr and annot data (tattdatainfo.c)  PASSED
Testing a mix of SD, V, and VS functions (tmixed_apis.c)               PASSED
Testing miscellaneous file related functions (tfile.c)                 PASSED
Testing various SDS' properties (tsdsprops.c)                          PASSED
Testing various coordinate variable features (tcoordvar.c)             PASSED
Testing external file functions (texternal.c)                          PASSED
Testing szip compression for datasets (tszip.c)                        PASSED
*** HDF-SD test fails ***
Finished testing testmfhdf.sh