Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #11900

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]

From Andreas Tille <andreas@an3as.eu>
Newsgroups linux.debian.maint.java, linux.debian.bugs.dist
Subject 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]
Date 2020-10-28 09:10 +0100
Message-ID <B4OGR-700-1@gated-at.bofh.it> (permalink)
References <B4AXg-5UL-13@gated-at.bofh.it> <B4Ds6-7yB-23@gated-at.bofh.it> <B4DV8-7HU-9@gated-at.bofh.it> <B4Fax-8mP-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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@an3as.eu> - 2020-10-27 21:10 +0100
  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] Thorsten Glaser <t.glaser@tarent.de> - 2020-10-27 21:40 +0100
    Bug#973135: 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] Markus Koschany <apo@debian.org> - 2020-10-27 23:10 +0100
      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] Andreas Tille <andreas@an3as.eu> - 2020-10-28 09:10 +0100
        Bug#973070: [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] olivier sallou <olivier.sallou@irisa.fr> - 2020-10-28 16:10 +0100

csiph-web