Bug#739999: tomcat7: FTBFS: Unit tests are failing ('java.net.BindException: Address already in use' error)

Miguel Landaeta nomadium at debian.org
Mon Feb 24 19:55:45 UTC 2014


Package: src:tomcat7
Version: 7.0.52-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

The full log is attached to this bug report.

Relevant error message:

    [junit] INFO: Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-56034"]
    [junit] Feb 24, 2014 6:53:59 PM org.apache.coyote.AbstractProtocol stop
    [junit] INFO: Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-56034"]
    [junit] Feb 24, 2014 6:53:59 PM org.apache.tomcat.util.net.TestXxxEndpoint testStartStopBindOnInit
    [junit] INFO: Exception was
    [junit] java.net.BindException: Address already in use
    [junit]     at java.net.PlainSocketImpl.socketBind(Native Method)
    [junit]     at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
    [junit]     at java.net.ServerSocket.bind(ServerSocket.java:376)
    [junit]     at java.net.ServerSocket.<init>(ServerSocket.java:237)
    [junit]     at org.apache.tomcat.util.net.TestXxxEndpoint.testStartStopBindOnInit(TestXxxEndpoint.java:141)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:606)
    [junit]     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    [junit]     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    [junit]     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    [junit]     at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    [junit]     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    [junit]     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    [junit]     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    [junit]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    [junit]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    [junit]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    [junit]     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    [junit]     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    [junit]     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    [junit]     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    [junit]     at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    [junit]     at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:532)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1165)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1016)
    [junit]
    [junit] Feb 24, 2014 6:53:59 PM org.apache.coyote.AbstractProtocol start
    [junit] INFO: Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-56034"]
    [junit] Feb 24, 2014 6:53:59 PM org.apache.coyote.AbstractProtocol pause
    [junit] INFO: Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-56034"]



-- System Information:
Debian Release: 7.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
Miguel Landaeta, nomadium at debian.org
secure email with PGP 0x6E608B637D8967E9 available at
http://db.debian.org/fetchkey.cgi?fingerprint=4CB7FE1E280ECC90F29A597E6E608B637D8967E9
"Faith means not wanting to know what is true." -- Nietzsche
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tomcat7_7.0.52-1_amd64.build.gz
Type: application/octet-stream
Size: 145276 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20140224/fd25d964/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20140224/fd25d964/attachment-0001.sig>


More information about the pkg-java-maintainers mailing list