h5dump test failed


#1

I’m building “CMake-hdf5-1.12.1” by executing “build-VS2019-64.bat” from the command line (Windows 10). I get the following message on completion:

99% tests passed, 1 tests failed out of 2215
Total Test time (real) = 272.55 sec
The following tests FAILED:
1726 - H5DUMP-tfloatsattrs (Failed)

Any help would be appreciated.

Aaron


#2

That test should have been excluded, it actually passes, but on some Windows platforms the float conversion has a rounding difference. The problem is a test issue and not a library issue.

Allen


#3

Thank you for that clarification.

Aaron


#4

That test should have been excluded, it actually passes, but on some Windows platforms the float conversion has a rounding difference. The problem is a test issue and not a library issue.

How?


#5

Ok, I also get random number of H5CLEAR fails. At first try this H5DUMP was the only one, on second run 5(?) different H5CLEAR fails, third and fourth run only H5DUMP fail and on the fifth run 364 - H5CLEAR_CMP-h5clr_usage with the all-time-favourite 1726. Why is that, and how this could be fixed? I’m using Visual Studio Professional 2019 Version 16.11.3 and I really need a working HDF5 support. If I succeed with this part, I still have no idea how to target a build for the correct .Net versions the main application uses…


#6

The h5dump is a rounding error that only happens with VS2019 builds after a certain version. I have not had a chance to investigate because it will always pass if I compare to a file with those values. So, higher priority issues get the attention.
Interesting that h5clear has issues, might be that the correct files are not deleted before rerunning tests. The other possibility is that there are test framework issues with files being created out of order (original author of tests developed with autotools on linux and the test script assumes a linear test order).

In summary, these are issues with the testing framework and not the library or tools (determined after investigation).

Allen