Bug#713178: libslf4j-java: FTBFS: tests failed

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Jun 22 12:01:39 UTC 2013


Source: libslf4j-java
Version: 1.7.5-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130620 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 "."
> cd . && /usr/lib/jvm/default-java/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/commons-logging.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/ant-junit.jar:/usr/share/java/junit4.jar:/usr/lib/jvm/default-java/lib/tools.jar  -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true   -buildfile debian/build.xml -propertyfile /«PKGBUILDDIR»/debian/ant.properties jar
> Buildfile: /«PKGBUILDDIR»/debian/build.xml
> 
> jar:
>     [mkdir] Created dir: /«PKGBUILDDIR»/slf4j-api/classes
>     [javac] /«PKGBUILDDIR»/debian/build.xml:45: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 26 source files to /«PKGBUILDDIR»/slf4j-api/classes
>     [javac] Note: /«PKGBUILDDIR»/slf4j-api/src/main/java/org/slf4j/helpers/BasicMarker.java uses or overrides a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>       [jar] Building jar: /«PKGBUILDDIR»/slf4j-api.jar
>     [mkdir] Created dir: /«PKGBUILDDIR»/slf4j-jcl/classes
>     [javac] /«PKGBUILDDIR»/debian/build.xml:55: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 5 source files to /«PKGBUILDDIR»/slf4j-jcl/classes
>       [jar] Building jar: /«PKGBUILDDIR»/slf4j-jcl.jar
>     [mkdir] Created dir: /«PKGBUILDDIR»/slf4j-jdk14/classes
>     [javac] /«PKGBUILDDIR»/debian/build.xml:65: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 5 source files to /«PKGBUILDDIR»/slf4j-jdk14/classes
>       [jar] Building jar: /«PKGBUILDDIR»/slf4j-jdk14.jar
>     [mkdir] Created dir: /«PKGBUILDDIR»/slf4j-log4j12/classes
>     [javac] /«PKGBUILDDIR»/debian/build.xml:75: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 6 source files to /«PKGBUILDDIR»/slf4j-log4j12/classes
>     [javac] Note: /«PKGBUILDDIR»/slf4j-log4j12/src/main/java/org/slf4j/impl/Log4jMDCAdapter.java uses unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>       [jar] Building jar: /«PKGBUILDDIR»/slf4j-log4j12.jar
>     [mkdir] Created dir: /«PKGBUILDDIR»/slf4j-nop/classes
>     [javac] /«PKGBUILDDIR»/debian/build.xml:85: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 3 source files to /«PKGBUILDDIR»/slf4j-nop/classes
>       [jar] Building jar: /«PKGBUILDDIR»/slf4j-nop.jar
>     [mkdir] Created dir: /«PKGBUILDDIR»/slf4j-simple/classes
>     [javac] /«PKGBUILDDIR»/debian/build.xml:95: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 5 source files to /«PKGBUILDDIR»/slf4j-simple/classes
>     [javac] Note: /«PKGBUILDDIR»/slf4j-simple/src/main/java/org/slf4j/impl/SimpleLogger.java uses unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>       [jar] Building jar: /«PKGBUILDDIR»/slf4j-simple.jar
>     [mkdir] Created dir: /«PKGBUILDDIR»/slf4j-migrator/classes
>     [javac] /«PKGBUILDDIR»/debian/build.xml:105: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 22 source files to /«PKGBUILDDIR»/slf4j-migrator/classes
>       [jar] Building jar: /«PKGBUILDDIR»/slf4j-migrator.jar
>     [mkdir] Created dir: /«PKGBUILDDIR»/jcl-over-slf4j/classes
>     [javac] /«PKGBUILDDIR»/debian/build.xml:115: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 8 source files to /«PKGBUILDDIR»/jcl-over-slf4j/classes
>     [javac] /«PKGBUILDDIR»/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SimpleLog.java:631: warning: non-varargs call of varargs method with inexact argument type for last parameter;
>     [javac] cast to java.lang.Class<?> for a varargs call
>     [javac] cast to java.lang.Class<?>[] for a non-varargs call and to suppress this warning
>     [javac]         Method method = Thread.class.getMethod("getContextClassLoader", null);
>     [javac]                                                                         ^
>     [javac] /«PKGBUILDDIR»/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SimpleLog.java:636: warning: non-varargs call of varargs method with inexact argument type for last parameter;
>     [javac] cast to java.lang.Object for a varargs call
>     [javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
>     [javac]               null);
>     [javac]               ^
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 2 warnings
>       [jar] Building jar: /«PKGBUILDDIR»/jcl-over-slf4j.jar
>     [mkdir] Created dir: /«PKGBUILDDIR»/jul-to-slf4j/classes
>     [javac] /«PKGBUILDDIR»/debian/build.xml:125: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 1 source file to /«PKGBUILDDIR»/jul-to-slf4j/classes
>       [jar] Building jar: /«PKGBUILDDIR»/jul-to-slf4j.jar
>     [mkdir] Created dir: /«PKGBUILDDIR»/log4j-over-slf4j/classes
>     [javac] /«PKGBUILDDIR»/debian/build.xml:135: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 25 source files to /«PKGBUILDDIR»/log4j-over-slf4j/classes
>       [jar] Building jar: /«PKGBUILDDIR»/log4j-over-slf4j.jar
> 
> BUILD SUCCESSFUL
> Total time: 7 seconds
> touch debian/stamp-ant-build
> cd . && /usr/lib/jvm/default-java/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/commons-logging.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/ant-junit.jar:/usr/share/java/junit4.jar:/usr/lib/jvm/default-java/lib/tools.jar  -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true   -buildfile debian/build.xml -propertyfile /«PKGBUILDDIR»/debian/ant.properties test
> Buildfile: /«PKGBUILDDIR»/debian/build.xml
> 
> test-compile:
>     [mkdir] Created dir: /«PKGBUILDDIR»/slf4j-api/test/classes
>     [javac] /«PKGBUILDDIR»/debian/build.xml:158: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 9 source files to /«PKGBUILDDIR»/slf4j-api/test/classes
>       [jar] Building jar: /«PKGBUILDDIR»/${slf4j-api-test.jar}
>     [mkdir] Created dir: /«PKGBUILDDIR»/slf4j-jcl/test/classes
>     [javac] /«PKGBUILDDIR»/debian/build.xml:166: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 1 source file to /«PKGBUILDDIR»/slf4j-jcl/test/classes
>     [mkdir] Created dir: /«PKGBUILDDIR»/slf4j-jdk14/test/classes
>     [javac] /«PKGBUILDDIR»/debian/build.xml:169: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 4 source files to /«PKGBUILDDIR»/slf4j-jdk14/test/classes
>     [javac] Note: /«PKGBUILDDIR»/slf4j-jdk14/src/test/java/org/slf4j/issue/LoggerSerializationTest.java uses or overrides a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [mkdir] Created dir: /«PKGBUILDDIR»/slf4j-log4j12/test/classes
>     [javac] /«PKGBUILDDIR»/debian/build.xml:172: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 4 source files to /«PKGBUILDDIR»/slf4j-log4j12/test/classes
>     [javac] /«PKGBUILDDIR»/slf4j-log4j12/src/test/java/org/slf4j/InvocationTest.java:114: warning: non-varargs call of varargs method with inexact argument type for last parameter;
>     [javac] cast to java.lang.Object for a varargs call
>     [javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
>     [javac]     logger.debug(msg, parameters);
>     [javac]                       ^
>     [javac] Note: /«PKGBUILDDIR»/slf4j-log4j12/src/test/java/org/slf4j/ListAppender.java uses unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 1 warning
>     [mkdir] Created dir: /«PKGBUILDDIR»/slf4j-nop/test/classes
>     [javac] /«PKGBUILDDIR»/debian/build.xml:175: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 1 source file to /«PKGBUILDDIR»/slf4j-nop/test/classes
>     [mkdir] Created dir: /«PKGBUILDDIR»/slf4j-simple/test/classes
>     [javac] /«PKGBUILDDIR»/debian/build.xml:178: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 3 source files to /«PKGBUILDDIR»/slf4j-simple/test/classes
>     [javac] /«PKGBUILDDIR»/slf4j-simple/src/test/java/org/slf4j/InvocationTest.java:91: warning: non-varargs call of varargs method with inexact argument type for last parameter;
>     [javac] cast to java.lang.Object for a varargs call
>     [javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
>     [javac]     logger.info(msg, parameters);
>     [javac]                      ^
>     [javac] Note: /«PKGBUILDDIR»/slf4j-simple/src/test/java/org/slf4j/impl/SimpleLoggerTest.java uses or overrides a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 1 warning
>     [mkdir] Created dir: /«PKGBUILDDIR»/slf4j-migrator/test/classes
>     [javac] /«PKGBUILDDIR»/debian/build.xml:181: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 15 source files to /«PKGBUILDDIR»/slf4j-migrator/test/classes
>     [mkdir] Created dir: /«PKGBUILDDIR»/jcl-over-slf4j/test/classes
>     [javac] /«PKGBUILDDIR»/debian/build.xml:184: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 2 source files to /«PKGBUILDDIR»/jcl-over-slf4j/test/classes
>     [mkdir] Created dir: /«PKGBUILDDIR»/jul-to-slf4j/test/classes
>     [javac] /«PKGBUILDDIR»/debian/build.xml:187: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 3 source files to /«PKGBUILDDIR»/jul-to-slf4j/test/classes
>     [javac] Note: /«PKGBUILDDIR»/jul-to-slf4j/src/test/java/org/slf4j/bridge/ListAppender.java uses unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [mkdir] Created dir: /«PKGBUILDDIR»/log4j-over-slf4j/test/classes
>     [javac] /«PKGBUILDDIR»/debian/build.xml:190: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 5 source files to /«PKGBUILDDIR»/log4j-over-slf4j/test/classes
>     [javac] Note: /«PKGBUILDDIR»/log4j-over-slf4j/src/test/java/org/dummy/ListHandler.java uses unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
> 
> test:
>     [mkdir] Created dir: /«PKGBUILDDIR»/slf4j-api/test/results
>     [junit] Running org.slf4j.BasicMarkerTest
>     [junit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
>     [junit] Running org.slf4j.NoBindingTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
>     [junit] Running org.slf4j.helpers.BubbleSortTest
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
>     [junit] Running org.slf4j.helpers.MessageFormatterTest
>     [junit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec
>     [mkdir] Created dir: /«PKGBUILDDIR»/slf4j-jcl/test/results
>     [junit] Running org.slf4j.InvocationTest
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec
>     [mkdir] Created dir: /«PKGBUILDDIR»/slf4j-jdk14/test/results
>     [junit] Running org.slf4j.InvocationTest
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 sec
>     [junit] Running org.slf4j.impl.JDK14AdapterLoggerNameTest
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec
>     [junit] Running org.slf4j.issue.LoggerSerializationTest
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.087 sec
>     [mkdir] Created dir: /«PKGBUILDDIR»/slf4j-log4j12/test/results
>     [junit] Running org.slf4j.InvocationTest
>     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.115 sec
>     [junit] Running org.slf4j.impl.RecursiveInitializationTest
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 sec
>     [mkdir] Created dir: /«PKGBUILDDIR»/slf4j-nop/test/results
>     [junit] Running org.slf4j.InvocationTest
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 sec
>     [mkdir] Created dir: /«PKGBUILDDIR»/slf4j-simple/test/results
>     [junit] Running org.slf4j.InvocationTest
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 sec
>     [junit] Running org.slf4j.impl.SimpleLoggerTest
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
> 
> BUILD FAILED
> /«PKGBUILDDIR»/debian/build.xml:225: The following error occurred while executing this line:
> /«PKGBUILDDIR»/debian/build.xml:198: Test org.slf4j.impl.SimpleLoggerTest failed
> 
> Total time: 7 seconds
> make: *** [debian/stamp-ant-check] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/06/20/libslf4j-java_1.7.5-1_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