[Debian-med-packaging] Test failure in libsis-base-java 18.08.0 (Was: Bug#842815: Help needed for HDF5 1.10 transition of libsis-jhdf5-java)

Bernd Rinn brinn at ethz.ch
Wed Sep 19 08:29:42 BST 2018


Hi Andreas,

I responded to your email on August 21st but it looks like my message
hasn't been entirely clear:

- Yes, I have been able to reproduce the test failure with JRE 10 + 11;
the test failure doesn't happen with JRE 8.

- I have fixed it by comparing the last modified times in the test with
a resolution of seconds in the test which works on JRE 8 and later.

- This fix is in commit 331b8cc (August 21st).

- Please update to HEAD and rerun the tests. The test failure will be gone.

All the best,
Bernd

On 09/19/2018 08:48 AM, Andreas Tille wrote:
> Hi again Bernd,
> 
> do you have any comment why testGetLinkInfoRegularFile in the test class
> UnixTests is failing?  Is there any better way to report issues about jhdf5
> rather than sending you private e-mails?
> 
> Kind regards
> 
>        Andreas.
> 
> On Tue, Aug 21, 2018 at 10:11:52AM +0200, Andreas Tille wrote:
>> Hi Bernd,
>>
>> On Sun, Aug 19, 2018 at 03:25:46PM +0200, Bernd Rinn wrote:
>>> Yes, sis-base needs to be updated to 18.08.0. This library is in the GIT
>>> repository in directory
>>>
>>> https://sissource.ethz.ch/sispub/jhdf5/tree/master/libs/prod
>>>
>>> You can find the version also at:
>>>
>>> https://sissource.ethz.ch/sispub/base/tags/18.08.0
>>
>> Thanks for this information.  I've checked with this tag, but the test
>> fails the same way as the previous commit.  Most of the tests went fine,
>> but:
>>
>> ...
>> Application: base
>> Version: UNKNOWN*
>> Java VM: OpenJDK 64-Bit Server VM (v10.0.2+13-Debian-1)
>> CPU Architecture: amd64
>> OS: Linux (v4.17.0-1-amd64)
>> Test class: NamingThreadPoolExecutorTest
>>
>> Running testNamedPool
>> Running testDaemonize
>> Running testSetNamedThreadFactory
>> Running testSetThreadFactory
>> Running testSetThreadFactoryFailed
>> Running testThreadDefaultNames
>> Running testSubmitNamedRunnable
>> Running testExecuteNamedRunnable
>> Running testExecuteNamedMyRunnable
>> Running testSubmitNamedCallable
>> Running testSubmitMyNamedCallable
>> Running testSubmitNamedCallables
>> Running testSubmitQueuedNamedCallables
>> Tests OK!
>>
>> Application: base
>> Version: UNKNOWN*
>> Java VM: OpenJDK 64-Bit Server VM (v10.0.2+13-Debian-1)
>> CPU Architecture: amd64
>> OS: Linux (v4.17.0-1-amd64)
>> Test class: UnixTests
>>
>> Running testGetLinkInfoRegularFile
>> Exception in thread "main" java.lang.AssertionError: expected:<1534838541776> but was:<1534838541000>
>>         at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
>>         at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)
>>         at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)
>>         at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:170)
>>         at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:177)
>>         at ch.systemsx.cisd.base.unix.UnixTests.testGetLinkInfoRegularFile(UnixTests.java:59)
>>         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>         at java.base/java.lang.reflect.Method.invoke(Method.java:564)
>>         at ch.systemsx.cisd.base.unix.UnixTests.main(UnixTests.java:324)
>>         at ch.systemsx.cisd.base.AllTests.main(AllTests.java:55)
>>
>>
>> Are you able to reproduce this at your site?  Please note that at Debian
>> package build time network access is permitted.  So in case this test
>> would require any network access I would need to deactivate it.
>>
>> I'd love to open an issue on your Gitlab instance but it seems that's
>> not open for users who do not belong to Scientific IT Services, ETH
>> Zurich.
>>  
>> Kind regards
>>
>>        Andreas.
>>
>>  
>>> On 08/14/2018 09:56 AM, Andreas Tille wrote:
>>>> Hello Bernd,
>>>>
>>>> On Tue, Aug 07, 2018 at 07:15:32PM +0200, Bernd Rinn wrote:
>>>>> Hello Andreas,
>>>>>
>>>>> The versioning is <year>.<month>.<patch level>. So the next release will be something like 18.09.0 or 18.10.0. If you call the pre-release 18.08, you will be fine.
>>>>
>>>> I was wondering whether I also need to upgrade libsis-base[1].  It is
>>>> featuring several changes compared to version 14.12.0.  Thus I gave it a
>>>> try but was running into:
>>>>
>>>> Running testGetLinkInfoRegularFile
>>>> Exception in thread "main" java.lang.AssertionError: expected:<1534232607623> but was:<1534232607000>
>>>>         at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
>>>>         at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)
>>>>         at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)
>>>>         at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:170)
>>>>         at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:177)
>>>>         at ch.systemsx.cisd.base.unix.UnixTests.testGetLinkInfoRegularFile(UnixTests.java:58)
>>>>         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>>>         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>         at java.base/java.lang.reflect.Method.invoke(Method.java:564)
>>>>         at ch.systemsx.cisd.base.unix.UnixTests.main(UnixTests.java:323)
>>>>         at ch.systemsx.cisd.base.AllTests.main(AllTests.java:55)
>>>> make[1]: *** [debian/rules:47: override_dh_auto_test-arch] Error 1
>>>>
>>>>
>>>> I would have reported this to the Gitlab issue tracker but it seems
>>>> there is no public registration possible.
>>>>
>>>> Moreover, please tag your releases to give users some information which
>>>> code is of distribution quality and not just a development commit.  I'd
>>>> point the Debian watch file to these release tags and so will get
>>>> automatic notification about releases.
>>>>
>>>> Kind regards
>>>>
>>>>       Andreas.
>>>>
>>>> [1] https://sissource.ethz.ch/sispub/base

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3937 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20180919/c168d7e4/attachment.bin>


More information about the Debian-med-packaging mailing list