[Debian-med-packaging] Bug#973070: Help needed: Bug#973070: libsis-base-java: FTBFS: Could not delete the directory targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests because: 1 exceptions: [java.io.IOException: Unable to delete file: targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests/someDanglingLink]

Andreas Tille andreas at an3as.eu
Tue Oct 27 20:00:24 GMT 2020


Control: tags -1 help

Hi,

I checked out the latest upstream commit and pushed it to Salsa.
Its the same with this.  Any idea why this test has worked before
but is failing now?

Kind regards

      Andreas.

On Tue, Oct 27, 2020 at 06:06:55PM +0100, Lucas Nussbaum wrote:
> Source: libsis-base-java
> Version: 18.09~pre1+git20180827.fe4953e+dfsg-1
> Severity: serious
> Justification: FTBFS on amd64
> Tags: bullseye sid ftbfs
> Usertags: ftbfs-20201027 ftbfs-bullseye
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 
> Relevant part (hopefully):
> > make[1]: Entering directory '/<<PKGBUILDDIR>>'
> > dh_auto_test -a
> > mkdir test ; cp -r source/java/ch test ; cp -r sourceTest/java/ch test
> > jh_build sis-base-test.jar test
> > warning: [options] bootstrap class path not set in conjunction with -source 7
> > 1 warning
> > test/ch/systemsx/cisd/base/mdarray/MDAbstractArray.java:354: warning - invalid usage of tag >
> > test/ch/systemsx/cisd/base/mdarray/MDAbstractArray.java:393: warning - invalid usage of tag >
> > test/ch/systemsx/cisd/base/mdarray/MDArray.java:47: warning - invalid usage of tag >
> > test/ch/systemsx/cisd/base/mdarray/MDArray.java:87: warning - invalid usage of tag >
> > test/ch/systemsx/cisd/base/mdarray/MDByteArray.java:47: warning - invalid usage of tag >
> > test/ch/systemsx/cisd/base/mdarray/MDByteArray.java:87: warning - invalid usage of tag >
> > test/ch/systemsx/cisd/base/mdarray/MDDoubleArray.java:47: warning - invalid usage of tag >
> > test/ch/systemsx/cisd/base/mdarray/MDDoubleArray.java:87: warning - invalid usage of tag >
> > test/ch/systemsx/cisd/base/mdarray/MDFloatArray.java:47: warning - invalid usage of tag >
> > test/ch/systemsx/cisd/base/mdarray/MDFloatArray.java:87: warning - invalid usage of tag >
> > test/ch/systemsx/cisd/base/mdarray/MDIntArray.java:47: warning - invalid usage of tag >
> > test/ch/systemsx/cisd/base/mdarray/MDIntArray.java:87: warning - invalid usage of tag >
> > test/ch/systemsx/cisd/base/mdarray/MDLongArray.java:47: warning - invalid usage of tag >
> > test/ch/systemsx/cisd/base/mdarray/MDLongArray.java:87: warning - invalid usage of tag >
> > test/ch/systemsx/cisd/base/mdarray/MDShortArray.java:47: warning - invalid usage of tag >
> > test/ch/systemsx/cisd/base/mdarray/MDShortArray.java:87: warning - invalid usage of tag >
> > test/ch/systemsx/cisd/base/utilities/NativeLibraryUtilities.java:105: warning - Tag @link: reference not found: System#loadLibrary()
> > 17 warnings
> > LC_ALL=C java -Djava.library.path=source/c/.libs -classpath sis-base-test.jar ch.systemsx.cisd.base.AllTests
> > Application: base
> > Version: UNKNOWN*
> > Java VM: OpenJDK 64-Bit Server VM (v11.0.9+11-post-Debian-1)
> > CPU Architecture: amd64
> > OS: Linux (v4.19.0-6-cloud-amd64)
> > Test class: NativeDataTests
> > 
> > Running testIntToByteToInt
> >  Arguments: [0, 0]
> >  Arguments: [0, 1]
> >  Arguments: [0, 2]
> >  Arguments: [0, 3]
> >  Arguments: [1, 0]
> >  Arguments: [1, 1]
> >  Arguments: [1, 2]
> >  Arguments: [1, 3]
> >  Arguments: [2, 0]
> >  Arguments: [2, 1]
> >  Arguments: [2, 2]
> >  Arguments: [2, 3]
> >  Arguments: [3, 0]
> >  Arguments: [3, 1]
> >  Arguments: [3, 2]
> >  Arguments: [3, 3]
> > Running testIntChangeByteOrderAndBack
> > Running testShortChangeByteOrderAndBack
> > Running testCharChangeByteOrderAndBack
> > Running testLongChangeByteOrderAndBack
> > Running testFloatChangeByteOrderAndBack
> > Running testDoubleChangeByteOrderAndBack
> > Running testLongToByteToLong
> >  Arguments: [0, 0]
> >  Arguments: [0, 1]
> >  Arguments: [0, 2]
> >  Arguments: [0, 3]
> >  Arguments: [1, 0]
> >  Arguments: [1, 1]
> >  Arguments: [1, 2]
> >  Arguments: [1, 3]
> >  Arguments: [2, 0]
> >  Arguments: [2, 1]
> >  Arguments: [2, 2]
> >  Arguments: [2, 3]
> >  Arguments: [3, 0]
> >  Arguments: [3, 1]
> >  Arguments: [3, 2]
> >  Arguments: [3, 3]
> > Running testShortToByteToShort
> >  Arguments: [0, 0]
> >  Arguments: [0, 1]
> >  Arguments: [0, 2]
> >  Arguments: [0, 3]
> >  Arguments: [1, 0]
> >  Arguments: [1, 1]
> >  Arguments: [1, 2]
> >  Arguments: [1, 3]
> >  Arguments: [2, 0]
> >  Arguments: [2, 1]
> >  Arguments: [2, 2]
> >  Arguments: [2, 3]
> >  Arguments: [3, 0]
> >  Arguments: [3, 1]
> >  Arguments: [3, 2]
> >  Arguments: [3, 3]
> > Running testNPE
> > Running testCharToByteToChar
> >  Arguments: [0, 0]
> >  Arguments: [0, 1]
> >  Arguments: [0, 2]
> >  Arguments: [0, 3]
> >  Arguments: [1, 0]
> >  Arguments: [1, 1]
> >  Arguments: [1, 2]
> >  Arguments: [1, 3]
> >  Arguments: [2, 0]
> >  Arguments: [2, 1]
> >  Arguments: [2, 2]
> >  Arguments: [2, 3]
> >  Arguments: [3, 0]
> >  Arguments: [3, 1]
> >  Arguments: [3, 2]
> >  Arguments: [3, 3]
> > Running testFloatToByteToFloat
> >  Arguments: [0, 0]
> >  Arguments: [0, 1]
> >  Arguments: [0, 2]
> >  Arguments: [0, 3]
> >  Arguments: [1, 0]
> >  Arguments: [1, 1]
> >  Arguments: [1, 2]
> >  Arguments: [1, 3]
> >  Arguments: [2, 0]
> >  Arguments: [2, 1]
> >  Arguments: [2, 2]
> >  Arguments: [2, 3]
> >  Arguments: [3, 0]
> >  Arguments: [3, 1]
> >  Arguments: [3, 2]
> >  Arguments: [3, 3]
> > Running testDoubleToByteToDouble
> >  Arguments: [0, 0]
> >  Arguments: [0, 1]
> >  Arguments: [0, 2]
> >  Arguments: [0, 3]
> >  Arguments: [1, 0]
> >  Arguments: [1, 1]
> >  Arguments: [1, 2]
> >  Arguments: [1, 3]
> >  Arguments: [2, 0]
> >  Arguments: [2, 1]
> >  Arguments: [2, 2]
> >  Arguments: [2, 3]
> >  Arguments: [3, 0]
> >  Arguments: [3, 1]
> >  Arguments: [3, 2]
> >  Arguments: [3, 3]
> > Running testShortEndianConversion
> > Running testIntEndianConversion
> > Running testLongEndianConversion
> > Running testFloatLittleEndianRoundtrip
> > Running testFloatBigEndianRoundtrip
> > Running testDoubleLittleEndianRoundtrip
> > Running testDoubleBigEndianRoundtrip
> > Running testIOOB
> > Running testIOOB2
> > Running testPlatformEndiness
> > Running testFloatToByteNonNativeByteOrderPartialOutputArray
> > Tests OK!
> > 
> > Application: base
> > Version: UNKNOWN*
> > Java VM: OpenJDK 64-Bit Server VM (v11.0.9+11-post-Debian-1)
> > CPU Architecture: amd64
> > OS: Linux (v4.19.0-6-cloud-amd64)
> > Test class: NativeTaggedArrayTests
> > 
> > Running testFloat1DArrayNativeByteOrder
> > Running testFloat1DArrayNonNativeByteOrder
> > Running testFloat2DArrayNativeByteOrder
> > Running testFloat2DArrayNonNativeByteOrder
> > Running testDouble1DArrayNativeByteOrder
> > Running testDouble1DArrayNonNativeByteOrder
> > Running testDouble2DArrayNativeByteOrder
> > Running testDouble2DArrayNonNativeByteOrder
> > Running testShort1DArrayNativeByteOrder
> > Running testShort1DArrayNonNativeByteOrder
> > Running testShort2DArrayNativeByteOrder
> > Running testShort2DArrayNonNativeByteOrder
> > Running testInt1DArrayNativeByteOrder
> > Running testInt1DArrayNonNativeByteOrder
> > Running testInt2DArrayNativeByteOrder
> > Running testInt2DArrayNonNativeByteOrder
> > Running testLong1DArrayNativeByteOrder
> > Running testLong1DArrayNonNativeByteOrder
> > Running testLong2DArrayNativeByteOrder
> > Running testLong2DArrayNonNativeByteOrder
> > Tests OK!
> > 
> > Application: base
> > Version: UNKNOWN*
> > Java VM: OpenJDK 64-Bit Server VM (v11.0.9+11-post-Debian-1)
> > CPU Architecture: amd64
> > OS: Linux (v4.19.0-6-cloud-amd64)
> > Test class: IOExceptionUncheckedTests
> > 
> > Running testWrapUnwrapIOException
> > Running testWrapUnwrapNonIOException
> > Running testWrapUnwrapIOExceptionGivingMsg
> > Tests OK!
> > 
> > Application: base
> > Version: UNKNOWN*
> > Java VM: OpenJDK 64-Bit Server VM (v11.0.9+11-post-Debian-1)
> > CPU Architecture: amd64
> > OS: Linux (v4.19.0-6-cloud-amd64)
> > Test class: ByteBufferRandomAccessFileTests
> > 
> > Running testWriteReadStringChars
> > Running testReadLine
> > Running testToByteArray
> > Running testSkip
> > Running testLongByteOrder
> > Running testMark
> > Running testWriteReadByte
> > Running testWriteReadShort
> > Running testAvailable
> > Running testWriteReadStringBytes
> > Tests OK!
> > 
> > Application: base
> > Version: UNKNOWN*
> > Java VM: OpenJDK 64-Bit Server VM (v11.0.9+11-post-Debian-1)
> > CPU Architecture: amd64
> > OS: Linux (v4.19.0-6-cloud-amd64)
> > Test class: RandomAccessFileImplTests
> > 
> > Running testWriteReadStringChars
> > Running testReadLine
> > Running testToByteArray
> > Running testSkip
> > Running testLongByteOrder
> > Running testMark
> > Running testWriteReadByte
> > Running testWriteReadShort
> > Running testAvailable
> > Running testWriteReadStringBytes
> > Tests OK!
> > 
> > Application: base
> > Version: UNKNOWN*
> > Java VM: OpenJDK 64-Bit Server VM (v11.0.9+11-post-Debian-1)
> > CPU Architecture: amd64
> > OS: Linux (v4.19.0-6-cloud-amd64)
> > Test class: MDArrayTests
> > 
> > Running testGetLength
> > Running testToInt
> > Running testComputeIndex
> > Running testComputeIndex2D
> > Running testComputeIndex3
> > Running testEmptyMatrix
> > Running testChangeHyperRowCountIntArray
> > Running testChangeHyperRowCountIntArrayFromZero
> > Running testChangeHyperRowCountTArray
> > Running testMDIntArrayIterator
> > Running testMDFloatArrayMatrix
> > Tests OK!
> > 
> > Application: base
> > Version: UNKNOWN*
> > Java VM: OpenJDK 64-Bit Server VM (v11.0.9+11-post-Debian-1)
> > CPU Architecture: amd64
> > OS: Linux (v4.19.0-6-cloud-amd64)
> > Test class: NamingThreadPoolExecutorTest
> > 
> > Running testSetNamedThreadFactory
> > Running testSetThreadFactory
> > Running testSetThreadFactoryFailed
> > Running testThreadDefaultNames
> > Running testSubmitNamedRunnable
> > Running testNamedPool
> > Running testDaemonize
> > 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 (v11.0.9+11-post-Debian-1)
> > CPU Architecture: amd64
> > OS: Linux (v4.19.0-6-cloud-amd64)
> > Test class: UnixTests
> > 
> > Running testGetLinkInfoRegularFile
> > Running testGetLinkNull
> > Running testGetLinkInfoDirectory
> > Running testGetLinkInfoSymLink
> > Running testTouchSymLinkAndFileRealtimeTimer
> > Running testTouchSymLinkAndFile
> > Running testGetLinkInfoSymLinkDanglingLink
> > Running testGetLinkInfoNonExistent
> > Could not delete the directory targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests because: 1 exceptions: [java.io.IOException: Unable to delete file: targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests/someDanglingLink]
> > Could not delete the directory targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests in second try because: 1 exceptions: [java.io.IOException: Unable to delete file: targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests/someDanglingLink]
> > Exception in thread "main" org.apache.commons.io.IOExceptionList: 1 exceptions: [java.io.IOException: Unable to delete file: targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests/someDanglingLink]
> > 	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:345)
> > 	at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1206)
> > 	at ch.systemsx.cisd.base.tests.AbstractFileSystemTestCase.afterClass(AbstractFileSystemTestCase.java:139)
> > 	at ch.systemsx.cisd.base.unix.UnixTests.main(UnixTests.java:491)
> > 	at ch.systemsx.cisd.base.AllTests.main(AllTests.java:56)
> > Caused by: java.io.IOException: Unable to delete file: targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests/someDanglingLink
> > 	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1425)
> > 	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:338)
> > 	... 4 more
> > Caused by: java.nio.file.NoSuchFileException: targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests/someDanglingLink
> > 	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
> > 	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
> > 	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
> > 	at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
> > 	at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:149)
> > 	at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
> > 	at java.base/java.nio.file.Files.readAttributes(Files.java:1763)
> > 	at java.base/java.nio.file.Files.size(Files.java:2380)
> > 	at org.apache.commons.io.file.PathUtils.deleteFile(PathUtils.java:361)
> > 	at org.apache.commons.io.file.PathUtils.delete(PathUtils.java:304)
> > 	at org.apache.commons.io.file.PathUtils.delete(PathUtils.java:280)
> > 	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1423)
> > 	... 5 more
> > make[1]: *** [debian/rules:47: override_dh_auto_test-arch] Error 1
> 
> The full build log is available from:
>    http://qa-logs.debian.net/2020/10/27/libsis-base-java_18.09~pre1+git20180827.fe4953e+dfsg-1_unstable.log
> 
> A list of current common problems and possible solutions is available at
> http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
> 
> About the archive rebuild: The rebuild was done on EC2 VM instances from
> Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
> failed build was retried once to eliminate random failures.
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list