Bug#886875: maven-archiver FTBFS: test failure

Adrian Bunk bunk at debian.org
Wed Jan 10 19:16:47 UTC 2018


Source: maven-archiver
Version: 3.2.0-1
Severity: serious

https://buildd.debian.org/status/fetch.php?pkg=maven-archiver&arch=all&ver=3.2.0-1&stamp=1515540053&raw=0

...
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.maven.archiver.MavenArchiverTest
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy-defaults.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy-explicit-simple.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy-custom-layout-repo-non-unique.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummyWithDashes.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy-custom-layout-simple.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy-custom-layout-repo.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy-custom-layout-simple-non-unique.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
[INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
[ERROR] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.464 s <<< FAILURE! - in org.apache.maven.archiver.MavenArchiverTest
[ERROR] testRecreation(org.apache.maven.archiver.MavenArchiverTest)  Time elapsed: 0.382 s  <<< FAILURE!
java.lang.AssertionError: expected:<1515540046000> but was:<1515539986000>
	at org.apache.maven.archiver.MavenArchiverTest.testRecreation(MavenArchiverTest.java:248)

[INFO] Running org.apache.maven.archiver.MavenArchiveConfigurationTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.maven.archiver.MavenArchiveConfigurationTest
[INFO] Running org.apache.maven.archiver.ManifestConfigurationTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s - in org.apache.maven.archiver.ManifestConfigurationTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   MavenArchiverTest.testRecreation:248 expected:<1515540046000> but was:<1515539986000>
[INFO] 
[ERROR] Tests run: 34, Failures: 1, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.620 s
[INFO] Finished at: 2018-01-09T23:20:48Z
[INFO] Final Memory: 9M/217M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on project maven-archiver: There are test failures.
[ERROR] 
[ERROR] Please refer to /<<PKGBUILDDIR>>/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
[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
dh_auto_test: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode test returned exit code 1
debian/rules:4: recipe for target 'build-indep' faile



More information about the pkg-java-maintainers mailing list