Test failures on 32-bit


#1

I’m building the Java interface for HDF5 1.10.5 on Fedora and a test is failing on 32-bit arches (i686 and armv7):

java  -Xmx1024M -Dorg.slf4j.simpleLogger.defaultLog=trace -Djava.library.path=../../hdf5/lib -cp .:../../hdf5/lib/hdf5.jar:../../hdf5/lib/junit.jar:../../hdf5/lib/hamcrest-core.jar:../../hdf5/lib/slf4j-api-1.7.25.jar:../../hdf5/lib/slf4j-simple-1.7.25.jar:jarhdf5test.jar: -ea org.junit.runner.JUnitCore test.TestH5P
Testing JUnit-TestH5P                                                 [main] INFO hdf.hdf5lib.H5 - HDF5 library: hdf5_java
[main] INFO hdf.hdf5lib.H5 -  successfully loaded from java.library.path
**FAILED**    JUnit-TestH5P
    Expected result differs from actual result
    *** JUnit-TestH5P.txt	Sat Apr  6 15:48:49 2019
    --- JUnit-TestH5P.out	Sat Apr  6 15:48:54 2019
    ***************
    *** 47,53 ****
      .testH5P_sizes
      .testH5Pset_link_creation_order_invalidvalue
      .testH5P_sym_k
    ! .testH5PH5Pset_shared_mesg_phase_change_MinbtreeGreaterThanMaxlist
      .testH5Pset_scaleoffset_Invalidscale_factor
      .testH5Pget_elink_prefix_null
      .testH5Pget_data_transform_IllegalSize
    --- 47,53 ----
      .testH5P_sizes
      .testH5Pset_link_creation_order_invalidvalue
      .testH5P_sym_k
    ! E.testH5PH5Pset_shared_mesg_phase_change_MinbtreeGreaterThanMaxlist
      .testH5Pset_scaleoffset_Invalidscale_factor
      .testH5Pget_elink_prefix_null
      .testH5Pget_data_transform_IllegalSize
    ***************
    *** 84,89 ****
      .testH5Pset_attr_creation_order_tracked
      
      Time:  XXXX
      
    ! OK (83 tests)
      
    --- 84,129 ----
      .testH5Pset_attr_creation_order_tracked
      
      Time:  XXXX

    + There was 1 failure:
    + 1) testH5P_sym_k(test.TestH5P)
    + java.lang.AssertionError: symbol table tree rank: 0
    + 	at org.junit.Assert.fail(Assert.java:88)
    + 	at org.junit.Assert.assertTrue(Assert.java:41)
    + 	at test.TestH5P.testH5P_sym_k(TestH5P.java:990)
    + 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    + 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    + 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    + 	at java.lang.reflect.Method.invoke(Method.java:498)
    + 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    + 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    + 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52)
    + 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    + 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    + 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    + 	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
    + 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
    + 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    + 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    + 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    + 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    + 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    + 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    + 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    + 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    + 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    + 	at org.junit.runners.Suite.runChild(Suite.java:128)
    + 	at org.junit.runners.Suite.runChild(Suite.java:27)
    + 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    + 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    + 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    + 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    + 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    + 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    + 	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    + 	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
    + 	at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77)
    + 	at org.junit.runner.JUnitCore.main(JUnitCore.java:36)
      
    ! FAILURES!!!
    ! Tests run: 83,  Failures: 1

#2

Hi Orion,

We are aware of this issue on 32-bit platforms and are able to reproduce it. The bug
report for the issue is HDFFV-10745.

Thanks!
-Barbara


#3

Thanks. I’m following that issue now.