List Info

Thread: jboss-trunk testsuite hang




jboss-trunk testsuite hang
user name
2007-07-12 19:42:01

The jboss-trunk testsuite hangs on the tomcat-webctx-tests and eventually the testsuite times out after 6 hrs.

 

The point of hang is shown in the test log.

http://cruisecontrol.jboss.com/cc/artifacts/jboss-head-testsuite-sun-1.5/20070712124156/tests.log

 

I have attached the server log which shows the errors in starting up tomcat in this server config.

 

This reveals another problem with the jboss-test package.

The <server:start> task verifies the server had started by opening a connection to tomcat.

In this case since tomcat had failed to start the testsuite hangs when trying to establish an HTTPConnection.

 

 

Thanks

Rajesh

 

  
RE: jboss-trunk testsuite hang
user name
2007-07-12 19:45:56

Here’;s a portion of the thread dump on the hung process:

 

"main" prio=1 tid=0x0805cc58 nid=0x31c2 runnable [0xbfffc000..0xbfffd4f8]

 &nbsp; &nbsp; &nbsp;  at java.net.SocketInputStream.socketRead0(Native Method)

 &nbsp; &nbsp; &nbsp;  at java.net.SocketInputStream.read(SocketInputStream.java:129)

 &nbsp; &nbsp; &nbsp;  at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)

 &nbsp; &nbsp; &nbsp;  at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)

 &nbsp; &nbsp; &nbsp;  at java.io.BufferedInputStream.read(BufferedInputStream.java:313)

   &nbsp; &nbsp; &nbsp;- locked <0xade5f508> (a java.io.BufferedInputStream)

 &nbsp; &nbsp; &nbsp;  at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:659)

 &nbsp; &nbsp; &nbsp;  at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:604)

 &nbsp; &nbsp; &nbsp;  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:961)

 &nbsp; &nbsp; &nbsp;  - locked <0xade59720> (a sun.net.www.protocol.http.HttpURLConnection)

 &nbsp; &nbsp; &nbsp;  at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)

 &nbsp; &nbsp; &nbsp;  at org.jboss.test.util.server.ServerController.isServerStarted(ServerController.java:213)

 &nbsp; &nbsp; &nbsp;  at org.jboss.test.util.server.ServerController.waitForServer(ServerController.java:185)

 &nbsp; &nbsp; &nbsp;  at org.jboss.test.util.server.ServerController.startServer(ServerController.java:110)

 &nbsp; &nbsp; &nbsp;  at org.jboss.test.util.server.ServerManager.startServer(ServerManager.java:132)

 &nbsp; &nbsp; &nbsp;  at org.jboss.ant.taskdefs.server.StartServerTask.execute(StartServerTask.java:50)

 &nbsp; &nbsp; &nbsp;  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

 &nbsp; &nbsp; &nbsp;  at org.apache.tools.ant.Task.perform(Task.java:364)

 &nbsp; &nbsp; &nbsp;  at org.apache.tools.ant.Target.execute(Target.java:341)

 &nbsp; &nbsp; &nbsp;  at org.apache.tools.ant.Target.performTasks(Target.java:369)

 &nbsp; &nbsp; &nbsp;  at org.apache.tools.ant.Project.executeTarget(Project.java:1214)

 &nbsp; &nbsp; &nbsp;  at org.apache.tools.ant.Project.executeTargets(Project.java:1062)

 &nbsp; &nbsp; &nbsp;  at org.apache.tools.ant.Main.runBuild(Main.java:673)

 &nbsp; &nbsp; &nbsp;  at org.apache.tools.ant.Main.startAnt(Main.java:188)

 &nbsp; &nbsp; &nbsp;  at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)

 &nbsp; &nbsp; &nbsp;  at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

 


From: jboss-development-bounceslists.jboss.org [mailto:jboss-development-bounceslists.jboss.org] On Behalf Of Rajesh Rajasekaran
Sent: Thursday, July 12, 2007 7:42 PM
To: 'JBoss.org development list'
Subject: [jboss-dev] jboss-trunk testsuite hang

 

The jboss-trunk testsuite hangs on the tomcat-webctx-tests and eventually the testsuite times out after 6 hrs.

 

The point of hang is shown in the test log.

http://cruisecontrol.jboss.com/cc/artifacts/jboss-head-testsuite-sun-1.5/20070712124156/tests.log

 

I have attached the server log which shows the errors in starting up tomcat in this server config.

 

This reveals another problem with the jboss-test package.

The <server:start> task verifies the server had started by opening a connection to tomcat.

In this case since tomcat had failed to start the testsuite hangs when trying to establish an HTTPConnection.

 

 

Thanks

Rajesh

 

Re: jboss-trunk testsuite hang
user name
2007-07-12 20:03:52
I'll look at the server startup error.

Rajesh Rajasekaran wrote:
> 
> 
> The jboss-trunk testsuite hangs on the
tomcat-webctx-tests and
> eventually the testsuite times out after 6 hrs.
> 
>  
> 
> The point of hang is shown in the test log.
> 
> http://cruiseco
ntrol.jboss.com/cc/artifacts/jboss-head-testsuite-sun-1.5/20
070712124156/tests.log
> 
> 
>  
> 
> I have attached the server log which shows the errors
in starting up
> tomcat in this server config.
> 
>  
> 
> This reveals another problem with the jboss-test
package.
> 
> The <server:start> task verifies the server had
started by opening a
> connection to tomcat.
> 
> In this case since tomcat had failed to start the
testsuite hangs when
> trying to establish an HTTPConnection.
> 
>  
> 
>  
> 
> Thanks
> 
> Rajesh

_______________________________________________
jboss-development mailing list
jboss-developmentlists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-develop
ment

Re: jboss-trunk testsuite hang
user name
2007-07-12 20:06:48
Unfortunately, there's no server.log visible under 
http://cruisecontrol.jboss.com/cc
/artifacts/jboss-head-testsuite-sun-1.5/build.

Is there still one on the system somewhere?

Scott M Stark wrote:
> I'll look at the server startup error.
> 
> Rajesh Rajasekaran wrote:
>>
>> The jboss-trunk testsuite hangs on the
tomcat-webctx-tests and
>> eventually the testsuite times out after 6 hrs.
>>
>>  
>>
>> The point of hang is shown in the test log.
>>
>> http://cruiseco
ntrol.jboss.com/cc/artifacts/jboss-head-testsuite-sun-1.5/20
070712124156/tests.log
>>
>>
>>  
>>
>> I have attached the server log which shows the
errors in starting up
>> tomcat in this server config.
>>
>>  
>>
>> This reveals another problem with the jboss-test
package.
>>
>> The <server:start> task verifies the server
had started by opening a
>> connection to tomcat.
>>
>> In this case since tomcat had failed to start the
testsuite hangs when
>> trying to establish an HTTPConnection.
>>
>>  
>>
>>  
>>
>> Thanks
>>
>> Rajesh
> 
> _______________________________________________
> jboss-development mailing list
> jboss-developmentlists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-develop
ment


-- 
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
brian.stansberryredhat.com

_______________________________________________
jboss-development mailing list
jboss-developmentlists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-develop
ment

Re: jboss-trunk testsuite hang
user name
2007-07-12 20:36:37
I have fixed it.

tomcat-webctx-tests:
     [echo] creating tomcat-webctx config
     [echo] Overwriting config descriptors
     [copy] Copying 1 file to
/home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.Beta
3/server/tomcat-webctx
[server:start] Starting server "tomcat-webctx"
with command:
[server:start] /usr/java/jdk1.5.0_11/bin/java -cp
/home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.Beta
3/bin/run.jar:/usr/java/jdk1.5.0_11/lib/tools.jar
  org.jboss.Main -c tomcat-webctx -b localhost
    [mkdir] Created dir:
/home/svn/JBossHead/jboss-head/testsuite/output/log
     [echo] Starting patternset=tomcat.webctx.includes
config=tomcat-webctx
    [junit] Running
org.jboss.test.web.test.WebCtxLoaderTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
elapsed: 2.494 sec
[server:stop] Shutting down server: tomcat-webctx
[server:stop] Shutting down server:
/usr/java/jdk1.5.0_11/bin/java -cp
/home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.Beta
3/bin/shutdown.jar:/home/svn/JBossHead/jboss-head/build/outp
ut/jboss-5.0.0.Beta3/client/jbossall-client.jar:/home/svn/JB
ossHead/jboss-head/build/output/jboss-5.0.0.Beta3/client/jbo
ss-common.jar
org.jboss.Shutdown --server jnp://localhost:1099 --shutdown
[server:stop] shutdownTimeout will be=45

BUILD SUCCESSFUL
Total time: 1 minute 10 seconds


Scott M Stark wrote:
> I'll look at the server startup error.
> 
> Rajesh Rajasekaran wrote:
>>
>> The jboss-trunk testsuite hangs on the
tomcat-webctx-tests and
>> eventually the testsuite times out after 6 hrs.
>>
>>  
>>
>> The point of hang is shown in the test log.
>>
>> http://cruiseco
ntrol.jboss.com/cc/artifacts/jboss-head-testsuite-sun-1.5/20
070712124156/tests.log
>>
>>
>>  
>>
>> I have attached the server log which shows the
errors in starting up
>> tomcat in this server config.
>>
>>  
>>
>> This reveals another problem with the jboss-test
package.
>>
>> The <server:start> task verifies the server
had started by opening a
>> connection to tomcat.
>>
>> In this case since tomcat had failed to start the
testsuite hangs when
>> trying to establish an HTTPConnection.
>>
>>  
>>
>>  
>>
>> Thanks
>>
>> Rajesh
> 

_______________________________________________
jboss-development mailing list
jboss-developmentlists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-develop
ment

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )