Bug#869011: maven-install-plugin: FTBFS: 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 test returned exit code 1
Lucas Nussbaum
lucas at debian.org
Thu Jul 20 05:40:14 UTC 2017
Source: maven-install-plugin
Version: 2.5.2-2
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170719 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> debian/rules build
> dh build
> dh_testdir
> dh_update_autotools_config
> dh_autoreconf
> dh_auto_configure
> find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-compiler/*/*.jar': No such file or directory
> find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-compilers/*/*.jar': No such file or directory
> find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-containers/*/*.jar': No such file or directory
> mh_patchpoms -plibmaven-install-plugin-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
> dh_auto_build
> /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 package -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [[1;34mINFO[m] Scanning for projects...
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mBuilding Apache Maven Install Plugin 2.5.2[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.0.0:resources[m [1m(default-resources)[m @ [36mmaven-install-plugin[0;1m ---[m
> [[1;33mWARNING[m] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [[1;34mINFO[m] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/main/resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:compile[m [1m(default-compile)[m @ [36mmaven-install-plugin[0;1m ---[m
> [[1;33mWARNING[m] The POM for org.codehaus.plexus:plexus-compiler-api:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> [[1;33mWARNING[m] The POM for org.codehaus.plexus:plexus-compiler-javac:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> [[1;34mINFO[m] Changes detected - recompiling the module!
> [[1;33mWARNING[m] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
> [[1;34mINFO[m] Compiling 5 source files to /<<PKGBUILDDIR>>/target/classes
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/install/InstallFileMojo.java: /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/install/InstallFileMojo.java uses or overrides a deprecated API.
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/install/InstallFileMojo.java: Recompile with -Xlint:deprecation for details.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-plugin-plugin:3.5:descriptor[m [1m(default-descriptor)[m @ [36mmaven-install-plugin[0;1m ---[m
> [[1;33mWARNING[m] Using platform encoding (ANSI_X3.4-1968 actually) to read mojo source files, i.e. build is platform dependent!
> [[1;34mINFO[m] java-javadoc mojo extractor found 0 mojo descriptor.
> [[1;34mINFO[m] java-annotations mojo extractor found 2 mojo descriptors.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-plugin-plugin:3.5:descriptor[m [1m(mojo-descriptor)[m @ [36mmaven-install-plugin[0;1m ---[m
> [[1;33mWARNING[m] Using platform encoding (ANSI_X3.4-1968 actually) to read mojo source files, i.e. build is platform dependent!
> [[1;34mINFO[m] java-javadoc mojo extractor found 0 mojo descriptor.
> [[1;34mINFO[m] java-annotations mojo extractor found 2 mojo descriptors.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.0.0:testResources[m [1m(default-testResources)[m @ [36mmaven-install-plugin[0;1m ---[m
> [[1;33mWARNING[m] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [[1;34mINFO[m] Copying 22 resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:testCompile[m [1m(default-testCompile)[m @ [36mmaven-install-plugin[0;1m ---[m
> [[1;34mINFO[m] Changes detected - recompiling the module!
> [[1;33mWARNING[m] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
> [[1;34mINFO[m] Compiling 8 source files to /<<PKGBUILDDIR>>/target/test-classes
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/src/test/java/org/apache/maven/plugin/install/stubs/InstallArtifactStub.java: Some input files use unchecked or unsafe operations.
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/src/test/java/org/apache/maven/plugin/install/stubs/InstallArtifactStub.java: Recompile with -Xlint:unchecked for details.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-surefire-plugin:2.17:test[m [1m(default-test)[m @ [36mmaven-install-plugin[0;1m ---[m
> [[1;34mINFO[m] Tests are skipped.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-jar-plugin:3.0.2:jar[m [1m(default-jar)[m @ [36mmaven-install-plugin[0;1m ---[m
> [[1;34mINFO[m] Building jar: /<<PKGBUILDDIR>>/target/maven-install-plugin-2.5.2.jar
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-plugin-plugin:3.5:addPluginArtifactMetadata[m [1m(default-addPluginArtifactMetadata)[m @ [36mmaven-install-plugin[0;1m ---[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1;32mBUILD SUCCESS[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] Total time: 1.891 s
> [[1;34mINFO[m] Finished at: 2017-07-19T11:44:43Z
> [[1;34mINFO[m] Final Memory: 27M/751M
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> 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 test
> [[1;34mINFO[m] Scanning for projects...
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mBuilding Apache Maven Install Plugin 2.5.2[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.0.0:resources[m [1m(default-resources)[m @ [36mmaven-install-plugin[0;1m ---[m
> [[1;33mWARNING[m] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [[1;34mINFO[m] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/main/resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:compile[m [1m(default-compile)[m @ [36mmaven-install-plugin[0;1m ---[m
> [[1;33mWARNING[m] The POM for org.codehaus.plexus:plexus-compiler-api:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> [[1;33mWARNING[m] The POM for org.codehaus.plexus:plexus-compiler-javac:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> [[1;34mINFO[m] Nothing to compile - all classes are up to date
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-plugin-plugin:3.5:descriptor[m [1m(default-descriptor)[m @ [36mmaven-install-plugin[0;1m ---[m
> [[1;33mWARNING[m] Using platform encoding (ANSI_X3.4-1968 actually) to read mojo source files, i.e. build is platform dependent!
> [[1;34mINFO[m] java-javadoc mojo extractor found 0 mojo descriptor.
> [[1;34mINFO[m] java-annotations mojo extractor found 2 mojo descriptors.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-plugin-plugin:3.5:descriptor[m [1m(mojo-descriptor)[m @ [36mmaven-install-plugin[0;1m ---[m
> [[1;33mWARNING[m] Using platform encoding (ANSI_X3.4-1968 actually) to read mojo source files, i.e. build is platform dependent!
> [[1;34mINFO[m] java-javadoc mojo extractor found 0 mojo descriptor.
> [[1;34mINFO[m] java-annotations mojo extractor found 2 mojo descriptors.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.0.0:testResources[m [1m(default-testResources)[m @ [36mmaven-install-plugin[0;1m ---[m
> [[1;33mWARNING[m] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [[1;34mINFO[m] Copying 22 resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:testCompile[m [1m(default-testCompile)[m @ [36mmaven-install-plugin[0;1m ---[m
> [[1;34mINFO[m] Nothing to compile - all classes are up to date
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-surefire-plugin:2.17:test[m [1m(default-test)[m @ [36mmaven-install-plugin[0;1m ---[m
> [[1;34mINFO[m] Surefire report directory: /<<PKGBUILDDIR>>/target/surefire-reports
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.maven.plugin.install.InstallMojoTest
>
> Results :
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1;31mBUILD FAILURE[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] Total time: 1.420 s
> [[1;34mINFO[m] Finished at: 2017-07-19T11:44:46Z
> [[1;34mINFO[m] Final Memory: 23M/915M
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;31mERROR[m] Failed to execute goal [32morg.apache.maven.plugins:maven-surefire-plugin:2.17:test[m [1m(default-test)[m on project [36mmaven-install-plugin[m: [1;31mExecution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: There was an error in the forked process[m
> [[1;31mERROR[m] [1;31mjava.lang.NoClassDefFoundError: org/apache/maven/execution/MavenExecutionResult[m
> [[1;31mERROR[m] [1;31m at java.lang.Class.getDeclaredMethods0(Native Method)[m
> [[1;31mERROR[m] [1;31m at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)[m
> [[1;31mERROR[m] [1;31m at java.lang.Class.privateGetMethodRecursive(Class.java:3048)[m
> [[1;31mERROR[m] [1;31m at java.lang.Class.getMethod0(Class.java:3018)[m
> [[1;31mERROR[m] [1;31m at java.lang.Class.getMethod(Class.java:1784)[m
> [[1;31mERROR[m] [1;31m at org.apache.maven.surefire.common.junit3.JUnit3Reflector.createInstanceFromSuiteMethod(JUnit3Reflector.java:151)[m
> [[1;31mERROR[m] [1;31m at org.apache.maven.surefire.common.junit3.JUnit3Reflector.constructTestObject(JUnit3Reflector.java:120)[m
> [[1;31mERROR[m] [1;31m at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:70)[m
> [[1;31mERROR[m] [1;31m at org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:131)[m
> [[1;31mERROR[m] [1;31m at org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:108)[m
> [[1;31mERROR[m] [1;31m at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)[m
> [[1;31mERROR[m] [1;31m at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)[m
> [[1;31mERROR[m] [1;31m at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)[m
> [[1;31mERROR[m] [1;31mCaused by: java.lang.ClassNotFoundException: org.apache.maven.execution.MavenExecutionResult[m
> [[1;31mERROR[m] [1;31m at java.net.URLClassLoader.findClass(URLClassLoader.java:381)[m
> [[1;31mERROR[m] [1;31m at java.lang.ClassLoader.loadClass(ClassLoader.java:424)[m
> [[1;31mERROR[m] [1;31m at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)[m
> [[1;31mERROR[m] [1;31m at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[m
> [[1;31mERROR[m] [1;31m ... 13 more[m
> [[1;31mERROR[m] [1;31m[m
> [[1;31mERROR[m] -> [1m[Help 1][m
> [[1;31mERROR[m]
> [[1;31mERROR[m] To see the full stack trace of the errors, re-run Maven with the [1m-e[m switch.
> [[1;31mERROR[m] Re-run Maven using the [1m-X[m switch to enable full debug logging.
> [[1;31mERROR[m]
> [[1;31mERROR[m] For more information about the errors and possible solutions, please read the following articles:
> [[1;31mERROR[m] [1m[Help 1][m http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
> 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 test returned exit code 1
The full build log is available from:
http://aws-logs.debian.net/2017/07/19/maven-install-plugin_2.5.2-2_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!
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 pkg-java-maintainers
mailing list