Bug#666577: wagon2: FTBFS: tests failed

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Mar 31 19:59:22 UTC 2012


Source: wagon2
Version: 2.2-2
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120331 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> mkdir -p /«PKGBUILDDIR»/wagon-providers/wagon-scm/target/test-classes/
> svnadmin create /«PKGBUILDDIR»/wagon-providers/wagon-scm/target/test-classes/test-repo-svn
> /usr/share/maven-debian-helper/copy-repo.sh /«PKGBUILDDIR»/debian
> mh_patchpoms -plibwagon2-java --debian-build --keep-pom-version --maven-repo=/«PKGBUILDDIR»/debian/maven-repo  --build-no-docs
> touch debian/stamp-poms-patched
> # before-build target may be used to unpatch the pom files, so we need to check if
> # patching the pom files is needed here, normally not
> if [ ! -f pom.xml.save ]; then \
> 		/usr/bin/make -f debian/rules patch-poms; \
> 	fi
> cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dproperties.file.manual=/«PKGBUILDDIR»/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian-nodocs.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/«PKGBUILDDIR»/debian/maven-repo  install
> [INFO] 
> NOTE: Maven is executing in offline mode. Any artifacts not already in your local
> repository will be inaccessible.
> 
> [INFO] Scanning for projects...
> [INFO] Reactor build order: 
> [INFO]   Apache Maven Wagon
> [INFO]   Apache Maven Wagon :: API
> [INFO]   Apache Maven Wagon :: Provider Test
> [INFO]   Apache Maven Wagon :: Providers
> [INFO]   Apache Maven Wagon :: Providers :: File Provider
> [INFO]   Apache Maven Wagon :: Providers :: FTP Provider
> [INFO]   Apache Maven Wagon :: Providers :: HTTP Shared Library 4
> [INFO]   Apache Maven Wagon :: Test Compatibility Kits
> [INFO]   Apache Maven Wagon :: HTTP Test Compatibility Kit
> [INFO]   Apache Maven Wagon :: Providers :: HTTP Provider
> [INFO]   Apache Maven Wagon :: Providers :: HTTP Shared Library
> [INFO]   Apache Maven Wagon :: Providers :: Lightweight HTTP Provider
> [INFO]   Apache Maven Wagon :: Providers :: SCM Provider
> [INFO]   Apache Maven Wagon :: Providers :: SSH Common Library
> [INFO]   Apache Maven Wagon :: Providers :: SSH External Provider
> [INFO]   Apache Maven Wagon :: Providers :: SSH Provider
> [INFO]   Apache Maven Wagon :: Providers :: WebDav Provider
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Maven Wagon
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [enforcer:enforce {execution: default}]
> [INFO] [plexus:descriptor {execution: generate}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /«PKGBUILDDIR»/pom.xml to /«PKGBUILDDIR»/debian/maven-repo/org/apache/maven/wagon/wagon/2.2/wagon-2.2.pom
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Maven Wagon :: API
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [enforcer:enforce {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /«PKGBUILDDIR»/wagon-provider-api/src/main/resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 38 source files to /«PKGBUILDDIR»/wagon-provider-api/target/classes
> [INFO] [plexus:descriptor {execution: generate}]
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Compiling 25 source files to /«PKGBUILDDIR»/wagon-provider-api/target/test-classes
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Surefire report directory: /«PKGBUILDDIR»/wagon-provider-api/target/surefire-reports
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.maven.wagon.CannotConnectExceptionTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 sec
> Running org.apache.maven.wagon.StreamWagonTest
> Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.118 sec
> Running org.apache.maven.wagon.NotAuthorizedExceptionTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.wagon.ResourceDoesNotExistExceptionTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
> Running org.apache.maven.wagon.TransferFailedExceptionTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
> Running org.apache.maven.wagon.repository.RepositoryPermissionsTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
> Running org.apache.maven.wagon.repository.RepositoryTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
> Running org.apache.maven.wagon.observers.ChecksumObserverTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
> Running org.apache.maven.wagon.PermissionModeUtilsTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
> Running org.apache.maven.wagon.authentication.AuthenticationExceptionTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
> Running org.apache.maven.wagon.authentication.AuthenticationInfoTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
> Running org.apache.maven.wagon.LazyFileOutputStreamTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.wagon.events.TransferEventTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
> Running org.apache.maven.wagon.events.TransferEventSupportTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
> Running org.apache.maven.wagon.events.SessionEventTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
> Running org.apache.maven.wagon.events.SessionEventSupportTest
> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
> Running org.apache.maven.wagon.proxy.ProxyInfoTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
> Running org.apache.maven.wagon.proxy.ProxyInfoUtilsTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
> Running org.apache.maven.wagon.PathUtilsTest
> Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec
> Running org.apache.maven.wagon.AbstractWagonTest
> Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec
> 
> Results :
> 
> Tests run: 90, Failures: 0, Errors: 0, Skipped: 0
> 
> [INFO] [jar:jar {execution: default-jar}]
> [INFO] Building jar: /«PKGBUILDDIR»/wagon-provider-api/target/wagon-provider-api-2.2.jar
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /«PKGBUILDDIR»/wagon-provider-api/target/wagon-provider-api-2.2.jar to /«PKGBUILDDIR»/debian/maven-repo/org/apache/maven/wagon/wagon-provider-api/2.2/wagon-provider-api-2.2.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Maven Wagon :: Provider Test
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [enforcer:enforce {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /«PKGBUILDDIR»/wagon-provider-test/src/main/resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 5 source files to /«PKGBUILDDIR»/wagon-provider-test/target/classes
> [INFO] [plexus:descriptor {execution: generate}]
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /«PKGBUILDDIR»/wagon-provider-test/src/test/resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] No sources to compile
> [INFO] [surefire:test {execution: default-test}]
> [INFO] No tests to run.
> [INFO] Surefire report directory: /«PKGBUILDDIR»/wagon-provider-test/target/surefire-reports
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> 
> Results :
> 
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> 
> [INFO] [jar:jar {execution: default-jar}]
> [INFO] Building jar: /«PKGBUILDDIR»/wagon-provider-test/target/wagon-provider-test-2.2.jar
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /«PKGBUILDDIR»/wagon-provider-test/target/wagon-provider-test-2.2.jar to /«PKGBUILDDIR»/debian/maven-repo/org/apache/maven/wagon/wagon-provider-test/2.2/wagon-provider-test-2.2.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Maven Wagon :: Providers
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [enforcer:enforce {execution: default}]
> [INFO] [plexus:descriptor {execution: generate}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /«PKGBUILDDIR»/wagon-providers/pom.xml to /«PKGBUILDDIR»/debian/maven-repo/org/apache/maven/wagon/wagon-providers/2.2/wagon-providers-2.2.pom
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Maven Wagon :: Providers :: File Provider
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [enforcer:enforce {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /«PKGBUILDDIR»/wagon-providers/wagon-file/src/main/resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 1 source file to /«PKGBUILDDIR»/wagon-providers/wagon-file/target/classes
> [INFO] [plexus:descriptor {execution: generate}]
> [INFO] Discovered 1 component descriptors(s)
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /«PKGBUILDDIR»/wagon-providers/wagon-file/src/test/resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Compiling 1 source file to /«PKGBUILDDIR»/wagon-providers/wagon-file/target/test-classes
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Surefire report directory: /«PKGBUILDDIR»/wagon-providers/wagon-file/target/surefire-reports
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.maven.wagon.providers.file.FileWagonTest
> Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.777 sec
> 
> Results :
> 
> Tests run: 22, Failures: 0, Errors: 0, Skipped: 0
> 
> [INFO] [jar:jar {execution: default-jar}]
> [INFO] Building jar: /«PKGBUILDDIR»/wagon-providers/wagon-file/target/wagon-file-2.2.jar
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /«PKGBUILDDIR»/wagon-providers/wagon-file/target/wagon-file-2.2.jar to /«PKGBUILDDIR»/debian/maven-repo/org/apache/maven/wagon/wagon-file/2.2/wagon-file-2.2.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Maven Wagon :: Providers :: FTP Provider
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [enforcer:enforce {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /«PKGBUILDDIR»/wagon-providers/wagon-ftp/src/main/resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 1 source file to /«PKGBUILDDIR»/wagon-providers/wagon-ftp/target/classes
> [INFO] [plexus:descriptor {execution: generate}]
> [INFO] Discovered 1 component descriptors(s)
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Surefire report directory: /«PKGBUILDDIR»/wagon-providers/wagon-ftp/target/surefire-reports
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> 
> Results :
> 
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> 
> [INFO] [jar:jar {execution: default-jar}]
> [INFO] Building jar: /«PKGBUILDDIR»/wagon-providers/wagon-ftp/target/wagon-ftp-2.2.jar
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /«PKGBUILDDIR»/wagon-providers/wagon-ftp/target/wagon-ftp-2.2.jar to /«PKGBUILDDIR»/debian/maven-repo/org/apache/maven/wagon/wagon-ftp/2.2/wagon-ftp-2.2.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Maven Wagon :: Providers :: HTTP Shared Library 4
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [enforcer:enforce {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /«PKGBUILDDIR»/wagon-providers/wagon-http-shared4/src/main/resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 5 source files to /«PKGBUILDDIR»/wagon-providers/wagon-http-shared4/target/classes
> [INFO] [plexus:descriptor {execution: generate}]
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 9 resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Compiling 2 source files to /«PKGBUILDDIR»/wagon-providers/wagon-http-shared4/target/test-classes
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Surefire report directory: /«PKGBUILDDIR»/wagon-providers/wagon-http-shared4/target/surefire-reports
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.maven.wagon.shared.http4.AbstractHttpClientWagonTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.629 sec
> Running org.apache.maven.wagon.shared.http4.HtmlFileListParserTest
> Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.393 sec
> 
> Results :
> 
> Tests run: 14, Failures: 0, Errors: 0, Skipped: 0
> 
> [INFO] [jar:jar {execution: default-jar}]
> [INFO] Building jar: /«PKGBUILDDIR»/wagon-providers/wagon-http-shared4/target/wagon-http-shared4-2.2.jar
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /«PKGBUILDDIR»/wagon-providers/wagon-http-shared4/target/wagon-http-shared4-2.2.jar to /«PKGBUILDDIR»/debian/maven-repo/org/apache/maven/wagon/wagon-http-shared4/2.2/wagon-http-shared4-2.2.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Maven Wagon :: Test Compatibility Kits
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [enforcer:enforce {execution: default}]
> [INFO] [plexus:descriptor {execution: generate}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /«PKGBUILDDIR»/wagon-tcks/pom.xml to /«PKGBUILDDIR»/debian/maven-repo/org/apache/maven/wagon/wagon-tcks/2.2/wagon-tcks-2.2.pom
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Maven Wagon :: HTTP Test Compatibility Kit
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [enforcer:enforce {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 15 source files to /«PKGBUILDDIR»/wagon-tcks/wagon-tck-http/target/classes
> [INFO] [plexus:descriptor {execution: generate}]
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /«PKGBUILDDIR»/wagon-tcks/wagon-tck-http/src/test/resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] No sources to compile
> [INFO] [surefire:test {execution: default-test}]
> [INFO] No tests to run.
> [INFO] Surefire report directory: /«PKGBUILDDIR»/wagon-tcks/wagon-tck-http/target/surefire-reports
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> 
> Results :
> 
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> 
> [INFO] [jar:jar {execution: default-jar}]
> [INFO] Building jar: /«PKGBUILDDIR»/wagon-tcks/wagon-tck-http/target/wagon-tck-http-2.2.jar
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /«PKGBUILDDIR»/wagon-tcks/wagon-tck-http/target/wagon-tck-http-2.2.jar to /«PKGBUILDDIR»/debian/maven-repo/org/apache/maven/wagon/wagon-tck-http/2.2/wagon-tck-http-2.2.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Maven Wagon :: Providers :: HTTP Provider
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [enforcer:enforce {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 1 source file to /«PKGBUILDDIR»/wagon-providers/wagon-http/target/classes
> [INFO] [plexus:descriptor {execution: generate}]
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Compiling 8 source files to /«PKGBUILDDIR»/wagon-providers/wagon-http/target/test-classes
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Surefire report directory: /«PKGBUILDDIR»/wagon-providers/wagon-http/target/surefire-reports
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.maven.wagon.providers.http.TckTest
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.282 sec <<< FAILURE!
> 
> Results :
> 
> Tests in error: 
>   org.apache.maven.wagon.tck.http.GetWagonTests: Cannot find classpath resource: ssl/keystore
>   org.apache.maven.wagon.tck.http.HttpsGetWagonTests: Cannot find classpath resource: ssl/keystore
> 
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
> 
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> 
> Please refer to /«PKGBUILDDIR»/wagon-providers/wagon-http/target/surefire-reports for the individual test results.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 36 seconds
> [INFO] Finished at: Fri Mar 30 21:20:15 UTC 2012
> [INFO] Final Memory: 49M/118M
> [INFO] ------------------------------------------------------------------------
> make: *** [mvn-build] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/03/31/wagon2_2.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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the pkg-java-maintainers mailing list