Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318690 - Jetty6ContinuationNioTest.testSuspendWaitResumeSuspend errors, possibly intermittently
Summary: Jetty6ContinuationNioTest.testSuspendWaitResumeSuspend errors, possibly inter...
Status: CLOSED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: build (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 trivial (vote)
Target Milestone: 7.1.x   Edit
Assignee: Jesse McConnell CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-02 06:16 EDT by Glyn Normington CLA
Modified: 2010-07-02 10:05 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glyn Normington CLA 2010-07-02 06:16:59 EDT
This occurred while building Jetty 7 at svn revision 2061 using mvn clean install.
Symptoms::


Tests in error: 
  testSuspendWaitResumeSuspend(org.eclipse.jetty.continuation.Jetty6ContinuationNioTest)

Tests run: 68, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE


Extract of surefire report:
<testcase time="0.004" classname="org.eclipse.jetty.continuation.Jetty6ContinuationNioTest" name="testSuspendWaitResumeSuspend">
    <error message="Connection refused" type="java.net.ConnectException">java.net.ConnectException: Connection refused
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
	at java.net.Socket.connect(Socket.java:529)
	at java.net.Socket.connect(Socket.java:478)
	at java.net.Socket.&lt;init&gt;(Socket.java:375)
	at java.net.Socket.&lt;init&gt;(Socket.java:189)
	at org.eclipse.jetty.continuation.test.ContinuationBase.process(ContinuationBase.java:236)
	at org.eclipse.jetty.continuation.test.ContinuationBase.doSuspendWaitResumeSuspend(ContinuationBase.java:119)
	at org.eclipse.jetty.continuation.Jetty6ContinuationNioTest.testSuspendWaitResumeSuspend(Jetty6ContinuationNioTest.java:108)
</error>
    <system-err>2010-07-02 09:41:42.024:INFO::jetty-6.1.24
2010-07-02 09:41:42.024:INFO:/:ContinuationFilter  jetty=false jetty6=true faux=false filtered=true servlet3=false
2010-07-02 09:41:42.024:INFO::Started SelectChannelConnector@0.0.0.0:53133
2010-07-02 09:41:42.025:INFO::Stopped SelectChannelConnector@0.0.0.0:0
</system-err>
  </testcase>

Environment::

Hardware:
  Model Name:	MacBook Pro
  Model Identifier:	MacBookPro6,2
  Processor Name:	Intel Core i7
  Processor Speed:	2.66 GHz
  Number Of Processors:	1
  Total Number Of Cores:	2
  L2 Cache (per core):	256 KB
  L3 Cache:	4 MB
  Memory:	8 GB

OS:
  System Version:	Mac OS X 10.6.4 (10F569)
  Kernel Version:	Darwin 10.4.0

Java:
 java version "1.6.0_20"
 Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065)
 Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode)

Maven:
 Apache Maven 2.2.1 (r801777; 2009-08-06 20:16:01+0100)
Comment 1 Glyn Normington CLA 2010-07-02 10:05:30 EDT
It seems I needed to set ulimit -n 10000.