You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Myrna van Lunteren (JIRA)" <ji...@apache.org> on 2014/03/06 23:21:42 UTC

[jira] [Commented] (DERBY-6331) test failure in AutoloadTest; Timed out waiting for server port to become available

    [ https://issues.apache.org/jira/browse/DERBY-6331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13923165#comment-13923165 ] 

Myrna van Lunteren commented on DERBY-6331:
-------------------------------------------

Failed again: http://people.apache.org/~myrnavl/derby_test_results/v10_10/windows/testlog/ibm17/1574754-suites.All_diff.txt

There was 1 failure:
1) AutoloadTest: clientjunit.framework.AssertionFailedError: Timed out waiting for server port to become available (localhost:3500)
	at org.apache.derbyTesting.junit.BaseTestCase.fail(BaseTestCase.java:1114)
	at org.apache.derbyTesting.junit.NetworkServerTestSetup.waitForAvailablePort(NetworkServerTestSetup.java:256)
	at org.apache.derbyTesting.junit.NetworkServerTestSetup.setUp(NetworkServerTestSetup.java:202)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
Caused by: java.net.BindException: Address already in use: JVM_Bind
	at java.net.DualStackPlainSocketImpl.bind0(Native Method)
	at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:117)
	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:406)
	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:209)
	at java.net.ServerSocket.bind(ServerSocket.java:453)
	at java.net.ServerSocket.<init>(ServerSocket.java:257)
	at org.apache.derbyTesting.junit.NetworkServerTestSetup$1.run(NetworkServerTestSetup.java:276)
	at java.security.AccessController.doPrivileged(AccessController.java:330)
	at org.apache.derbyTesting.junit.NetworkServerTestSetup.probeServerPort(NetworkServerTestSetup.java:274)
	at org.apache.derbyTesting.junit.NetworkServerTestSetup.waitForAvailablePort(NetworkServerTestSetup.java:250)
	... 16 more

FAILURES!!!
Tests run: 10,  Failures: 1,  Errors: 0


	at org.apache.derbyTesting.functionTests.tests.jdbcapi.AutoloadTest.spawnProcess(AutoloadTest.java:272)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:118)
	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:442)
	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:459)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)

> test failure in AutoloadTest; Timed out waiting for server port to become available
> -----------------------------------------------------------------------------------
>
>                 Key: DERBY-6331
>                 URL: https://issues.apache.org/jira/browse/DERBY-6331
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.10.1.4
>         Environment: Windows 2008, ibm 1.7 sr5
>            Reporter: Myrna van Lunteren
>
> I saw the following failure in the 10.10.1.3 nightly testing with the branch svn  updated to revision 1519329:
> http://people.apache.org/~myrnavl/derby_test_results/v10_10/windows/testlog/ibm17/1519329-suites.All_diff.txt
> This is the stack from the console output:
> 1) spawnProcess:JDBCDriversEmbeddedTest(org.apache.derbyTesting.functionTests.tests.jdbcapi.AutoloadTest)junit.framework.AssertionFailedError: Test process failed:Spawned org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCDriversEmbeddedTest exitCode=1
> STDOUT:
> .......F...
> Time: 245.485
> There was 1 failure:
> 1) AutoloadTest: clientjunit.framework.AssertionFailedError: Timed out waiting for server port to become available (localhost:3400)
> 	at org.apache.derbyTesting.junit.BaseTestCase.fail(BaseTestCase.java:1105)
> 	at org.apache.derbyTesting.junit.NetworkServerTestSetup.waitForAvailablePort(NetworkServerTestSetup.java:256)
> 	at org.apache.derbyTesting.junit.NetworkServerTestSetup.setUp(NetworkServerTestSetup.java:202)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> Caused by: java.net.BindException: Address already in use: JVM_Bind
> 	at java.net.DualStackPlainSocketImpl.bind0(Native Method)
> 	at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106)
> 	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:395)
> 	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:198)
> 	at java.net.ServerSocket.bind(ServerSocket.java:419)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:245)
> 	at org.apache.derbyTesting.junit.NetworkServerTestSetup$1.run(NetworkServerTestSetup.java:276)
> 	at java.security.AccessController.doPrivileged(AccessController.java:330)
> 	at org.apache.derbyTesting.junit.NetworkServerTestSetup.probeServerPort(NetworkServerTestSetup.java:274)
> 	at org.apache.derbyTesting.junit.NetworkServerTestSetup.waitForAvailablePort(NetworkServerTestSetup.java:250)
> 	... 16 more
> FAILURES!!!
> Tests run: 10,  Failures: 1,  Errors: 0
> 	at org.apache.derbyTesting.functionTests.tests.jdbcapi.AutoloadTest.spawnProcess(AutoloadTest.java:272)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:117)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:442)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:459)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)



--
This message was sent by Atlassian JIRA
(v6.2#6252)