Hi Tim, I took a look at the code, and suspected the failure is caused by network. Here're my comments:
I guess there are two possible reasons that why this test failed. The first possible one is network problem. If the failure is caused by network problem, the failure point is strange. It failed at "configureBlocking". In fact it should fail earlier, at "ssc.accept()" with SocketException. After looking at the code, I found a bug of ServerSocketChannel.accept(). So Harmony does not throw SocketException sometimes when there are network problems. Another possibilty is Harmony code bug. I checked all java code, and I think they're good. I'll take a deep look at native code later then. Thanks! Best regards, On 6/30/06, Tim Ellison <[EMAIL PROTECTED]> wrote:
Latest Windows build just failed a test: java.nio.channels.ClosedChannelException at java.nio.channels.spi.AbstractSelectableChannel.configureBlocking( AbstractSelectableChannel.java:208) at org.apache.harmony.tests.java.nio.channels.SelectorTest.assert_select_OP_READ (SelectorTest.java:416) at org.apache.harmony.tests.java.nio.channels.SelectorTest.test_selectNow( SelectorTest.java:200) at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205) Apache Harmony Build wrote: > Online report : http://ibmonly.hursley.ibm.com/continuum/win.ia32/servlet/continuum/target/ProjectBuild.vm/view/ProjectBuild/id/6/buildId/1507 > Build statistics: > State: Failed > Previous State: Ok > Started at: Fri, 30 Jun 2006 09:05:23 +0100 > Finished at: Fri, 30 Jun 2006 09:14:47 +0100 > Total time: 9m 23s > Build Trigger: Schedule > Exit code: 1 > Building machine hostname: hy1 > Operating system : Windows XP(Service Pack 2) > Java version : 1.5.0_06(Sun Microsystems Inc.) > > Changes > classlib\modules\tools\src\main\java\org\apache\harmony\tools\javac\Compiler.java > classlib\modules\beans\src\main\java\java\beans\PropertyChangeSupport.java > classlib\modules\security\src\test\api\java\org\apache\harmony\security\tests\java\security\serialization\KeyPairTest.java > classlib\modules\security\src\test\resources\serialization\org\apache\harmony\security\tests\java\security\serialization\KeyPairTest.golden.ser > classlib\modules\security\build.xml > > **************************************************************************** > Output: > **************************************************************************** > Buildfile: build.xml > > > > -- Tim Ellison ([EMAIL PROTECTED]) IBM Java technology centre, UK. --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Andrew Zhang China Software Development Lab, IBM