Bug#834680: tomcat7: FTBFS in testing (failing tests)

Santiago Vila sanvila at debian.org
Wed Aug 17 22:21:24 UTC 2016


Package: src:tomcat7
Version: 7.0.70-2
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
   dh_testdir -i
   dh_update_autotools_config -i
   dh_auto_configure -i
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
ant -propertyfile debian/ant.properties -Dyear=2016 -Dtoday='Aug 2 2016' -Dtstamp=09:43:11 -Ddistribution.name=Debian extras-jmx-remote deploy
Buildfile: /<<PKGBUILDDIR>>/build.xml

extras-prepare:
    [mkdir] Created dir: /<<PKGBUILDDIR>>/output/extras
    [mkdir] Created dir: /<<PKGBUILDDIR>>/output/extras-src-jars

[... snipped ...]

    [junit] INFO: Starting test case [testDuplicatePaths_02]
    [junit] Aug 10, 2016 9:40:15 PM org.apache.coyote.AbstractProtocol destroy
    [junit] INFO: Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6"]
    [junit] Aug 10, 2016 9:40:15 PM org.apache.catalina.startup.LoggingBaseTest setUp
    [junit] INFO: Starting test case [testDuplicatePaths_03]
    [junit] Aug 10, 2016 9:40:15 PM org.apache.coyote.AbstractProtocol destroy
    [junit] INFO: Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"]
    [junit] Aug 10, 2016 9:40:15 PM org.apache.catalina.startup.LoggingBaseTest setUp
    [junit] INFO: Starting test case [testDuplicatePaths_04]
    [junit] Aug 10, 2016 9:40:15 PM org.apache.coyote.AbstractProtocol destroy
    [junit] INFO: Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8"]
    [junit] Running util.TestCookieFilter
    [junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 sec

test-apr-exists:

test-apr:

cobertura-report:

test:
   [concat] Testsuites with skipped tests:
   [concat] TEST-org.apache.catalina.comet.TestCometProcessor.BIO.txt
   [concat] TEST-org.apache.catalina.loader.TestWebappClassLoaderThreadLocalMemoryLeak.BIO.txt
   [concat] TEST-org.apache.catalina.loader.TestWebappClassLoaderThreadLocalMemoryLeak.NIO.txt
   [concat] TEST-org.apache.catalina.session.TestStandardSessionIntegration.BIO.txt
   [concat] TEST-org.apache.catalina.session.TestStandardSessionIntegration.NIO.txt
   [concat] TEST-org.apache.tomcat.websocket.TestWsWebSocketContainer.BIO.txt
   [concat] TEST-org.apache.tomcat.websocket.TestWsWebSocketContainerWithProxy.BIO.txt
   [concat] TEST-org.apache.tomcat.websocket.TestWsWebSocketContainerWithProxy.NIO.txt
   [concat] TEST-org.apache.tomcat.websocket.server.TestWsRemoteEndpointImplServer.BIO.txt
   [concat] TEST-org.apache.tomcat.websocket.server.TestWsRemoteEndpointImplServer.NIO.txt
   [concat] Testsuites with failed tests:
   [concat] TEST-org.apache.tomcat.websocket.TestWebSocketFrameClient.BIO.txt
   [concat] TEST-org.apache.tomcat.websocket.TestWebSocketFrameClient.NIO.txt
   [concat] TEST-org.apache.tomcat.websocket.TestWebSocketFrameClientSSL.BIO.txt
   [concat] TEST-org.apache.tomcat.websocket.TestWebSocketFrameClientSSL.NIO.txt

BUILD FAILED
/<<PKGBUILDDIR>>/build.xml:1381: Some tests completed with an Error. See /<<PKGBUILDDIR>>/output/build/logs for details, search for "ERROR".

Total time: 43 minutes 27 seconds
debian/rules:31: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:18: 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
using "dpkg-buildpackage -A" is quite irrelevant.

For this particular package, I've also checked that it fails to build
from source in the reproducible builds site:

https://tests.reproducible-builds.org/

Thanks.



More information about the pkg-java-maintainers mailing list