[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)

Andreas Tille andreas at an3as.eu
Tue Aug 21 09:11:52 BST 2018


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
> > 
> 
> -- 
> Dr. Bernd Rinn
> Head Scientific IT Services
> ETH Zurich IT Services
> SIB Swiss Institute of Bioinformatics
> Weinbergstr. 11 (WEC D 19), 8092 Zürich, Switzerland, +41 44 632 0608
> Mattenstr. 26 (BSB 1.01), 4058 Basel, Switzerland, +41 61 387 3130
> 



-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list