nio2 test failures on the buillds (different on ppas and distro buildds)

Bug #556597 reported by Matthias Klose on 2010-04-06
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
High
Unassigned

Bug Description

the jdk testsuite fails some network related tests which should be able to pass if only the local host is configured/available. these tests seem to pass on the ppa buildds, but fail on the distro buildds.

the tests do not fail in a native installation, but in a buildd chroot as well. any hint what is missing in the setup of the buildds?

ppa builds (pass/fail/error)
jdk
                amd64 i386 lpia
jaunty 3348/53/1 3348/53/1 3348/53/1
karmic 3349/52/1 3349/52/1 3348/53/1
lucid 3354/46/0 3352/48/2 ---

distro builds (pass/fail/error)
jdk
                amd64 i386 lpia
jaunty 3253/72/2 3000/88/239
karmic 3008/107/239 3300/52/2
lucid 3353/47/2 3057/106/239 ---

ppas:
https://launchpad.net/~openjdk/+archive/ppa/+packages (up to karmic)
https://launchpad.net/~openjdk/+archive/ppa/+packages (lucid)

FAILED: java/nio/channels/DatagramChannel/Connect.java
FAILED: java/nio/channels/DatagramChannel/EmptyBuffer.java
FAILED: java/nio/channels/DatagramChannel/IsBound.java
FAILED: java/nio/channels/DatagramChannel/IsConnected.java
FAILED: java/nio/channels/DatagramChannel/ReceiveISA.java
FAILED: java/nio/channels/DatagramChannel/Sender.java
Error: java/nio/channels/DatagramChannel/SRTest.java
FAILED: java/nio/channels/etc/Shadow.java
FAILED: java/nio/channels/FileChannel/LongTransferTest.java
FAILED: java/nio/channels/FileChannel/Transfer.java
FAILED: java/nio/channels/Selector/Alias.java
FAILED: java/nio/channels/Selector/BasicAccept.java
FAILED: java/nio/channels/Selector/BasicConnect.java
FAILED: java/nio/channels/Selector/CloseWhenKeyIdle.java
FAILED: java/nio/channels/Selector/Connect.java
FAILED: java/nio/channels/Selector/ConnectWrite.java
FAILED: java/nio/channels/Selector/KeysReady.java
FAILED: java/nio/channels/Selector/OpRead.java
FAILED: java/nio/channels/Selector/ReadAfterConnect.java
FAILED: java/nio/channels/Selector/SelectAfterRead.java
FAILED: java/nio/channels/Selector/SelectorLimit.java
FAILED: java/nio/channels/Selector/SelectorTest.java
FAILED: java/nio/channels/Selector/SelectWrite.java
FAILED: java/nio/channels/ServerSocketChannel/AcceptAddress.java
FAILED: java/nio/channels/ServerSocketChannel/Basic.java
FAILED: java/nio/channels/ServerSocketChannel/NonBlockingAccept.java
FAILED: java/nio/channels/SocketChannel/AdaptSocket.java
Error: java/nio/channels/SocketChannel/AsyncCloseChannel.java
FAILED: java/nio/channels/SocketChannel/Basic.java
FAILED: java/nio/channels/SocketChannel/CloseAfterConnect.java
FAILED: java/nio/channels/SocketChannel/CloseRegisteredChannel.java
FAILED: java/nio/channels/SocketChannel/CloseTimeoutChannel.java
FAILED: java/nio/channels/SocketChannel/Connect.java
FAILED: java/nio/channels/SocketChannel/ConnectState.java
FAILED: java/nio/channels/SocketChannel/FinishConnect.java
FAILED: java/nio/channels/SocketChannel/Hangup.java
FAILED: java/nio/channels/SocketChannel/IsConnectable.java
FAILED: java/nio/channels/SocketChannel/LocalAddress.java
FAILED: java/nio/channels/SocketChannel/Shutdown.java
FAILED: java/nio/channels/SocketChannel/Stream.java
FAILED: java/nio/channels/SocketChannel/VectorIO.java
FAILED: java/nio/channels/SocketChannel/VectorParams.java
FAILED: java/nio/channels/SocketChannel/Write.java
FAILED: java/nio/channels/AsyncCloseAndInterrupt.java

java.net.SocketException: Network is unreachable
        at sun.nio.ch.Net.connect(Native Method)
        at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:525)
        at java.nio.channels.SocketChannel.open(SocketChannel.java:164)
        at Transfer.xferTest07(Transfer.java:357)
        at Transfer.main(Transfer.java:54)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:636)

Matthias Klose (doko) on 2010-04-06
Changed in openjdk-6 (Ubuntu):
status: New → Confirmed
Matthias Klose (doko) wrote :

this works now with the fixed ant

Changed in openjdk-6 (Ubuntu):
status: Confirmed → Fix Released
Matthias Klose (doko) wrote :
Changed in openjdk-6 (Ubuntu):
importance: Undecided → High
status: Fix Released → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers