Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E8C7F19F4B for ; Fri, 22 Apr 2016 17:09:13 +0000 (UTC) Received: (qmail 24309 invoked by uid 500); 22 Apr 2016 17:09:13 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 24181 invoked by uid 500); 22 Apr 2016 17:09:13 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 24142 invoked by uid 99); 22 Apr 2016 17:09:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2016 17:09:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EFDF42C1F61 for ; Fri, 22 Apr 2016 17:09:12 +0000 (UTC) Date: Fri, 22 Apr 2016 17:09:12 +0000 (UTC) From: "Marc Pawlowsky (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IO-501) commons-io-2.4-src.zip and 2.5 fails test cases MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IO-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marc Pawlowsky updated IO-501: ------------------------------ Description: Failed tests: testCanRead(org.apache.commons.io.filefilter.FileFilterTestCase): Filter(File) org.apache.commons.io.filefilter.AndFileFilter not true for /commons-io-2.4-src/test/io/read-only-file1.txt expected: but was: testCanWrite(org.apache.commons.io.filefilter.FileFilterTestCase): Filter(File) org.apache.commons.io.filefilter.CanWriteFileFilter not false for /commons-io-2.4-src/test/io/read-only-file2.txt expected: but was: testThrowsOnNullList(org.apache.commons.io.FileUtilsCleanDirectoryTestCase): expected IOException testThrowsOnCannotDeleteFile(org.apache.commons.io.FileUtilsCleanDirectoryTestCase): expected IOException Tests run: 966, Failures: 4, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:32 min [INFO] Finished at: 2016-04-21T12:56:24-04:00 [INFO] Final Memory: 17M/178M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project commons-io: There are test failures. [ERROR] [ERROR] Please refer to /commons-io-2.4-src/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException The command '/bin/sh -c cd commons-io-2.4-src && mvn install' returned a non-zero code: 1 Dockerfile FROM fedora:21 RUN yum update -y RUN yum install -y java-1.8.0-openjdk unzip RUN yum install -y maven COPY commons-io-2.4-src.zip commons-io-2.4-src.zip RUN unzip commons-io-2.4-src.zip RUN cd commons-io-2.4-src && mvn initialize RUN cd commons-io-2.4-src && mvn test-compile RUN cd commons-io-2.4-src && mvn install RUN chmod -R 755 /root CMD /bin/bash == Did a second run with commons-io.2,5 Failed tests: FileUtilsCleanDirectoryTestCase.testThrowsOnNullList:109 expected IOException FileUtilsCleanDirectoryTestCase.testThrowsOnCannotDeleteFile:129 expected IOException FileFilterTestCase.testCanRead:984->assertFiltering:64 Filter(File) org.apache.commons.io.filefilter.AndFileFilter not true for /root/commons-io-2.5-src/test/io/read-only-file1.txt expected: but was: FileFilterTestCase.testCanWrite:1005->assertFiltering:64 Filter(File) org.apache.commons.io.filefilter.CanWriteFileFilter not false for /root/commons-io-2.5-src/test/io/read-only-file2.txt expected: but was: Tests run: 1157, Failures: 4, Errors: 0, Skipped: 4 Dockerfile contents FROM fedora:21 RUN yum update -y RUN yum install -y java-1.8.0-openjdk unzip RUN yum install -y maven RUN yum install -y wget RUN cd /root && wget http://apache.parentingamerica.com//commons/io/source/commons-io-2.5-src.zip RUN cd /root && unzip commons-io-2.5-src.zip RUN cd /root && cd commons-io-2.5-src && mvn initialize RUN cd /root && cd commons-io-2.5-src && mvn test-compile RUN cd /root && cd commons-io-2.5-src && mvn install RUN chmod -R 755 /root CMD /bin/bash command: $docker build . == Debian Jessie, JDK 7 also fails with code coming from trunk Failed tests: FileUtilsCleanDirectoryTestCase.testThrowsOnNullList:109 expected IOException FileUtilsCleanDirectoryTestCase.testThrowsOnCannotDeleteFile:129 expected IOException FileFilterTestCase.testCanRead:984->assertFiltering:64 Filter(File) org.apache.commons.io.filefilter.AndFileFilter not true for /root/commons-io/test/io/read-only-file1.txt expected: but was: FileFilterTestCase.testCanWrite:1005->assertFiltering:64 Filter(File) org.apache.commons.io.filefilter.CanWriteFileFilter not false for /root/commons-io/test/io/read-only-file2.txt expected: but was: FROM debian:8.4 CMD /bin/bash RUN apt-get update -y RUN apt-get install -y openjdk-7-jdk openjdk-7-jre unzip maven wget subversion RUN cd /root && svn checkout -r 1740549 http://svn.apache.org/repos/asf/commons/proper/io/trunk /root/commons-io RUN cd /root/commons-io && mvn initialize RUN cd /root/commons-io && mvn test-compile RUN cd /root/commons-io && mvn install RUN chmod -R 755 /root All the above are where the users home directory is NFS mounted. was: Failed tests: testCanRead(org.apache.commons.io.filefilter.FileFilterTestCase): Filter(File) org.apache.commons.io.filefilter.AndFileFilter not true for /commons-io-2.4-src/test/io/read-only-file1.txt expected: but was: testCanWrite(org.apache.commons.io.filefilter.FileFilterTestCase): Filter(File) org.apache.commons.io.filefilter.CanWriteFileFilter not false for /commons-io-2.4-src/test/io/read-only-file2.txt expected: but was: testThrowsOnNullList(org.apache.commons.io.FileUtilsCleanDirectoryTestCase): expected IOException testThrowsOnCannotDeleteFile(org.apache.commons.io.FileUtilsCleanDirectoryTestCase): expected IOException Tests run: 966, Failures: 4, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:32 min [INFO] Finished at: 2016-04-21T12:56:24-04:00 [INFO] Final Memory: 17M/178M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project commons-io: There are test failures. [ERROR] [ERROR] Please refer to /commons-io-2.4-src/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException The command '/bin/sh -c cd commons-io-2.4-src && mvn install' returned a non-zero code: 1 Dockerfile FROM fedora:21 RUN yum update -y RUN yum install -y java-1.8.0-openjdk unzip RUN yum install -y maven COPY commons-io-2.4-src.zip commons-io-2.4-src.zip RUN unzip commons-io-2.4-src.zip RUN cd commons-io-2.4-src && mvn initialize RUN cd commons-io-2.4-src && mvn test-compile RUN cd commons-io-2.4-src && mvn install RUN chmod -R 755 /root CMD /bin/bash == Did a second run with commons-io.2,5 Failed tests: FileUtilsCleanDirectoryTestCase.testThrowsOnNullList:109 expected IOException FileUtilsCleanDirectoryTestCase.testThrowsOnCannotDeleteFile:129 expected IOException FileFilterTestCase.testCanRead:984->assertFiltering:64 Filter(File) org.apache.commons.io.filefilter.AndFileFilter not true for /root/commons-io-2.5-src/test/io/read-only-file1.txt expected: but was: FileFilterTestCase.testCanWrite:1005->assertFiltering:64 Filter(File) org.apache.commons.io.filefilter.CanWriteFileFilter not false for /root/commons-io-2.5-src/test/io/read-only-file2.txt expected: but was: Tests run: 1157, Failures: 4, Errors: 0, Skipped: 4 Dockerfile contents FROM fedora:21 RUN yum update -y RUN yum install -y java-1.8.0-openjdk unzip RUN yum install -y maven RUN yum install -y wget RUN cd /root && wget http://apache.parentingamerica.com//commons/io/source/commons-io-2.5-src.zip RUN cd /root && unzip commons-io-2.5-src.zip RUN cd /root && cd commons-io-2.5-src && mvn initialize RUN cd /root && cd commons-io-2.5-src && mvn test-compile RUN cd /root && cd commons-io-2.5-src && mvn install RUN chmod -R 755 /root CMD /bin/bash command: $docker build . > commons-io-2.4-src.zip and 2.5 fails test cases > ----------------------------------------------- > > Key: IO-501 > URL: https://issues.apache.org/jira/browse/IO-501 > Project: Commons IO > Issue Type: Bug > Components: Filters > Affects Versions: 2.4 > Reporter: Marc Pawlowsky > Priority: Minor > > Failed tests: testCanRead(org.apache.commons.io.filefilter.FileFilterTestCase): Filter(File) org.apache.commons.io.filefilter.AndFileFilter not true for /commons-io-2.4-src/test/io/read-only-file1.txt expected: but was: > testCanWrite(org.apache.commons.io.filefilter.FileFilterTestCase): Filter(File) org.apache.commons.io.filefilter.CanWriteFileFilter not false for /commons-io-2.4-src/test/io/read-only-file2.txt expected: but was: > testThrowsOnNullList(org.apache.commons.io.FileUtilsCleanDirectoryTestCase): expected IOException > testThrowsOnCannotDeleteFile(org.apache.commons.io.FileUtilsCleanDirectoryTestCase): expected IOException > Tests run: 966, Failures: 4, Errors: 0, Skipped: 0 > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 01:32 min > [INFO] Finished at: 2016-04-21T12:56:24-04:00 > [INFO] Final Memory: 17M/178M > [INFO] ------------------------------------------------------------------------ > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project commons-io: There are test failures. > [ERROR] > [ERROR] Please refer to /commons-io-2.4-src/target/surefire-reports for the individual test results. > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please read the following articles: > [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > The command '/bin/sh -c cd commons-io-2.4-src && mvn install' returned a non-zero code: 1 > Dockerfile > FROM fedora:21 > RUN yum update -y > RUN yum install -y java-1.8.0-openjdk unzip > RUN yum install -y maven > COPY commons-io-2.4-src.zip commons-io-2.4-src.zip > RUN unzip commons-io-2.4-src.zip > RUN cd commons-io-2.4-src && mvn initialize > RUN cd commons-io-2.4-src && mvn test-compile > RUN cd commons-io-2.4-src && mvn install > RUN chmod -R 755 /root > CMD /bin/bash > == > Did a second run with commons-io.2,5 > Failed tests: > FileUtilsCleanDirectoryTestCase.testThrowsOnNullList:109 expected IOException > FileUtilsCleanDirectoryTestCase.testThrowsOnCannotDeleteFile:129 expected IOException > FileFilterTestCase.testCanRead:984->assertFiltering:64 Filter(File) org.apache.commons.io.filefilter.AndFileFilter not true for /root/commons-io-2.5-src/test/io/read-only-file1.txt expected: but was: > FileFilterTestCase.testCanWrite:1005->assertFiltering:64 Filter(File) org.apache.commons.io.filefilter.CanWriteFileFilter not false for /root/commons-io-2.5-src/test/io/read-only-file2.txt expected: but was: > Tests run: 1157, Failures: 4, Errors: 0, Skipped: 4 > Dockerfile contents > FROM fedora:21 > RUN yum update -y > RUN yum install -y java-1.8.0-openjdk unzip > RUN yum install -y maven > RUN yum install -y wget > RUN cd /root && wget http://apache.parentingamerica.com//commons/io/source/commons-io-2.5-src.zip > RUN cd /root && unzip commons-io-2.5-src.zip > RUN cd /root && cd commons-io-2.5-src && mvn initialize > RUN cd /root && cd commons-io-2.5-src && mvn test-compile > RUN cd /root && cd commons-io-2.5-src && mvn install > RUN chmod -R 755 /root > CMD /bin/bash > command: $docker build . > == > Debian Jessie, JDK 7 also fails with code coming from trunk > Failed tests: > FileUtilsCleanDirectoryTestCase.testThrowsOnNullList:109 expected IOException > FileUtilsCleanDirectoryTestCase.testThrowsOnCannotDeleteFile:129 expected IOException > FileFilterTestCase.testCanRead:984->assertFiltering:64 Filter(File) org.apache.commons.io.filefilter.AndFileFilter not true for /root/commons-io/test/io/read-only-file1.txt expected: but was: > FileFilterTestCase.testCanWrite:1005->assertFiltering:64 Filter(File) org.apache.commons.io.filefilter.CanWriteFileFilter not false for /root/commons-io/test/io/read-only-file2.txt expected: but was: > FROM debian:8.4 > CMD /bin/bash > RUN apt-get update -y > RUN apt-get install -y openjdk-7-jdk openjdk-7-jre unzip maven wget subversion > RUN cd /root && svn checkout -r 1740549 http://svn.apache.org/repos/asf/commons/proper/io/trunk /root/commons-io > RUN cd /root/commons-io && mvn initialize > RUN cd /root/commons-io && mvn test-compile > RUN cd /root/commons-io && mvn install > RUN chmod -R 755 /root > All the above are where the users home directory is NFS mounted. -- This message was sent by Atlassian JIRA (v6.3.4#6332)