Bug#834913: libslf4j-java: FTBFS too much often (failing tests)

Santiago Vila sanvila at unex.es
Sat Aug 20 15:18:19 UTC 2016


Package: src:libslf4j-java
Version: 1.7.21-1
Severity: serious

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --buildsystem=maven
   dh_testdir -i -O--buildsystem=maven
   dh_update_autotools_config -i -O--buildsystem=maven
   dh_auto_configure -i -O--buildsystem=maven
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 -plibslf4j-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
   dh_auto_build -i -O--buildsystem=maven
	/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 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
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------

[... snipped ...]

	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)


Results :

Failed tests: 
  SimpleLoggerMultithreadedInitializationTest>MultithreadedInitializationTest.multiThreadedInitialization:46 388 < 0+16

Tests run: 17, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] SLF4J .............................................. SUCCESS [  0.694 s]
[INFO] SLF4J API Module ................................... SUCCESS [  5.988 s]
[INFO] SLF4J Simple Binding ............................... FAILURE [  1.166 s]
[INFO] SLF4J NOP Binding .................................. SKIPPED
[INFO] SLF4J JDK14 Binding ................................ SKIPPED
[INFO] SLF4J LOG4J-12 Binding ............................. SKIPPED
[INFO] SLF4J JCL Binding .................................. SKIPPED
[INFO] JCL 1.1.1 implemented over SLF4J ................... SKIPPED
[INFO] Log4j Implemented Over SLF4J ....................... SKIPPED
[INFO] JUL to SLF4J bridge ................................ SKIPPED
[INFO] SLF4J Migrator ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.642 s
[INFO] Finished at: 2016-08-18T23:48:34+02:00
[INFO] Final Memory: 12M/35M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project slf4j-simple: There are test failures.
[ERROR] 
[ERROR] Please refer to /<<PKGBUILDDIR>>/slf4j-simple/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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :slf4j-simple
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 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
debian/rules:4: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

Because this source package only generates "Arch: all" packages, this
is the same as a FTBFS bug in the usual sense, and the fact that I was
doing "dpkg-buildpackage -A" does not mean anything special.

I attach three different failed builf logs.

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libslf4j-java_1.7.21-1_amd64-20160819T104259Z.gz
Type: application/gzip
Size: 29769 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20160820/186561f1/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libslf4j-java_1.7.21-1_amd64-20160818T214713Z.gz
Type: application/gzip
Size: 29829 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20160820/186561f1/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libslf4j-java_1.7.21-1_amd64-20160818T192912Z.gz
Type: application/gzip
Size: 29789 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20160820/186561f1/attachment-0005.bin>


More information about the pkg-java-maintainers mailing list