[Debian-med-packaging] Bug#976490: libsis-base-java: FTBFS: Unable to delete file: targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests/someLink

Lucas Nussbaum lucas at debian.org
Sat Dec 5 13:25:42 GMT 2020


Source: libsis-base-java
Version: 18.09~pre1+git20180928.45fbd31+dfsg-1
Severity: serious
Justification: FTBFS on arm64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201205 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on arm64 (I don't know if it also fails 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:362: warning - invalid usage of tag >
> test/ch/systemsx/cisd/base/mdarray/MDAbstractArray.java:401: 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 >
> 16 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.1+1-post-Debian-1)
> CPU Architecture: aarch64
> OS: Linux (v4.19.0-11-arm64)
> 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 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 testNPE
> Running testIOOB
> Running testIOOB2
> Running testPlatformEndiness
> Running testFloatToByteNonNativeByteOrderPartialOutputArray
> Tests OK!
> 
> Application: base
> Version: UNKNOWN*
> Java VM: OpenJDK 64-Bit Server VM (v11.0.9.1+1-post-Debian-1)
> CPU Architecture: aarch64
> OS: Linux (v4.19.0-11-arm64)
> 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.1+1-post-Debian-1)
> CPU Architecture: aarch64
> OS: Linux (v4.19.0-11-arm64)
> 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.1+1-post-Debian-1)
> CPU Architecture: aarch64
> OS: Linux (v4.19.0-11-arm64)
> Test class: ByteBufferRandomAccessFileTests
> 
> Running testSkip
> Running testLongByteOrder
> Running testMark
> Running testWriteReadByte
> Running testWriteReadShort
> Running testAvailable
> Running testWriteReadStringBytes
> Running testWriteReadStringChars
> Running testReadLine
> Running testToByteArray
> Tests OK!
> 
> Application: base
> Version: UNKNOWN*
> Java VM: OpenJDK 64-Bit Server VM (v11.0.9.1+1-post-Debian-1)
> CPU Architecture: aarch64
> OS: Linux (v4.19.0-11-arm64)
> Test class: RandomAccessFileImplTests
> 
> Running testSkip
> Running testLongByteOrder
> Running testMark
> Running testWriteReadByte
> Running testWriteReadShort
> Running testAvailable
> Running testWriteReadStringBytes
> Running testWriteReadStringChars
> Running testReadLine
> Running testToByteArray
> Tests OK!
> 
> Application: base
> Version: UNKNOWN*
> Java VM: OpenJDK 64-Bit Server VM (v11.0.9.1+1-post-Debian-1)
> CPU Architecture: aarch64
> OS: Linux (v4.19.0-11-arm64)
> 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
> Running testCloneMDArray
> Tests OK!
> 
> Application: base
> Version: UNKNOWN*
> Java VM: OpenJDK 64-Bit Server VM (v11.0.9.1+1-post-Debian-1)
> CPU Architecture: aarch64
> OS: Linux (v4.19.0-11-arm64)
> 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 (v11.0.9.1+1-post-Debian-1)
> CPU Architecture: aarch64
> OS: Linux (v4.19.0-11-arm64)
> Test class: UnixTests
> 
> Running testGetLinkInfoRegularFile
> Running testGetLinkNull
> Running testGetLinkInfoDirectory
> Running testGetLinkInfoSymLink
> Running testTouchSymLinkAndFileRealtimeTimer
> 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/someLink]
> 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/someLink]
> 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/someLink]
> 	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:495)
> 	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/someLink
> 	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/someLink
> 	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:48: override_dh_auto_test-arch] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/12/05/libsis-base-java_18.09~pre1+git20180928.45fbd31+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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

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.



More information about the Debian-med-packaging mailing list