[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 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]



Hi,

On Tue, Oct 27, 2020 at 10:55:43PM +0100, Markus Koschany wrote:
> This appears to be caused by the recent upgrade of Apache commons-io to
> version 2.8.0 (we had 2.6), see also #973135. In version 2.7 they
> removed a throws IOException in the method isSymlink()
> 
> https://issues.apache.org/jira/browse/IO-610
> 
> Could it be related to this change? It is probably necessary to update
> the testcase or disable it for a quick workaround.

I tried to implement this workaroung in this patch

   https://salsa.debian.org/med-team/libsis-base-java/-/blob/master/debian/patches/skip_testGetLinkInfoSymLinkDanglingLink.patch

but unfortunately the test is executed anyway:

...
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]
...


Am I missing something?

Kind regards

       Andreas.

-- 
http://fam-tille.de


Reply to: