Intermittent control-flow UserFlowControllerTest failure breaks build
---------------------------------------------------------------------
Key: GEOS-4462
URL: http://jira.codehaus.org/browse/GEOS-4462
Project: GeoServer
Issue Type: Bug
Affects Versions: 2.1.x
Environment: Apache Maven 2.2.1 (r801777; 2009-08-07 03:16:01+0800)
Java version: 1.5.0_22
Java home: /opt/jdk1.5.0_22/jre
Default locale: en_AU, platform encoding: UTF-8
OS name: "linux" version: "2.6.26-2-686" arch: "i386" Family: "unix"
Reporter: Ben Caradoc-Davies
Assignee: Andrea Aime
We are seeing an intermittent build failure in control-flow UserFlowControllerTest. Threading issue?
{code}
[...]
Running org.geoserver.flow.controller.UserFlowControllerTest
Thread[Thread-6,5,main] calling requestIncoming
Thread[Thread-6,5,main] waiting
Thread[Thread-6,5,main] calling requestComplete
Thread[Thread-6,5,main] done
Thread[Thread-7,5,main] calling requestIncoming
Thread[Thread-7,5,main] waiting
Thread[Thread-8,5,main] calling requestIncoming
Thread[Thread-7,5,main] calling requestComplete
Thread[Thread-7,5,main] done
Thread[Thread-8,5,main] waiting
Thread[Thread-8,5,main] calling requestComplete
Thread[Thread-8,5,main] done
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.084 sec <<< FAILURE!
Running org.geoserver.flow.config.DefaultControlFlowConfigurationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Results :
Failed tests:
testConcurrentRequestsSingleUser(org.geoserver.flow.controller.UserFlowControllerTest)
Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
{code}
The surefire report:
{code}
$ cat geoserver-trunk/src/extension/control-flow/target/surefire-reports/org.geoserver.flow.controller.UserFlowControllerTest.txt
-------------------------------------------------------------------------------
Test set: org.geoserver.flow.controller.UserFlowControllerTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.084 sec <<< FAILURE!
testConcurrentRequestsSingleUser(org.geoserver.flow.controller.UserFlowControllerTest) Time elapsed: 1.077 sec <<< FAILURE!
junit.framework.AssertionFailedError: expected:<PROCESSING> but was:<STARTED>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:280)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:71)
at org.geoserver.flow.controller.UserFlowControllerTest.testConcurrentRequestsSingleUser(UserFlowControllerTest.java:49)
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira