tomcat7 not running on port 8005 after installation

Bug #1025595 reported by Victor Zhou
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tomcat7 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

There is failures in the test job in Jenkins : https://jenkins.qa.ubuntu.com/view/Quantal/view/ISO%20Testing%20Dashboard/job/quantal-server-amd64_tomcat-server/55/

Tracback:
<testcase classname="test.TomcatServerTest" name="testTomcatDaemon" time="0.008">
<failure type="testtools.testresult.real._StringException">
_StringException: Traceback (most recent call last): File "test.py", line 41, in testTomcatDaemon self.assertEquals(len(output2), 2, output2) AssertionError: ['tcp6 0 0 :::8080 :::* LISTEN 898/java ']
</failure>
</testcase>

Changed in tomcat7 (Ubuntu):
status: New → Confirmed
Revision history for this message
James Page (james-page) wrote :

Note that this is intermittent

The output should contain an entry for the 8005 control port as well as the standard 8080 port.

summary: - tomcat7 test failed: AssertionError: ['tcp6 0 0 :::8080 :::* LISTEN
- 898/java '
+ tomcat7 not running on port 8005 after installation
Changed in tomcat7 (Ubuntu):
status: Confirmed → New
Revision history for this message
James Page (james-page) wrote :

This is actually just a timing issue.

Tomcat7 uses a secure random number generator to seed session ID's (unlike tomcat6) which takes some time on virtual instances to initialize (> 30 seconds).

I've increased the pre-test sleep time to 60 seconds to accomodate - nothing to fix in the package so marking 'Invalid'.

Changed in tomcat7 (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.