Ticket #259 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

Mac OS X Functional Tests Hang (CPU 100%)

Reported by: fcohen Owned by:
Priority: blocker Milestone:
Version: 5.2 Keywords:
Cc:

Description

Whatever we did yesterday changed TestMaker so that Functional Tests cause the 100% CPU problem in Java 1.5 and 1.6. And, the change now makes it fail in a TestGen4Web and soapUI test. Previously it failed only with TestGen4Web.

This is good news since Avantica has Mac equipment that runs 1.5. And the difference from Tuesday's code to today's is in cvs as a diff. Please investigate this problem.

When I run the following tests I see the TestNode stage the test. The "Making Transactions" message appears in the Output panel. The CPU goes to 100%. The Mac Activity Monitor shows TestMaker at 0.1% CPU usage and a Java process 140% CPU usage. See the attached screen shot.

PushToTest_TestMaker0626/example_agents/SOAPWSDLTests/FunctionalTest/BrewBizServiceTest_TestScenario.xml
PushToTest_TestMaker0626/example_agents/WebRecordPlayback/FunctionalTest/BrewBizWebTest_TestScenario.xml

The Output panel shows:

	-	Validating test			-
The test is valid.
	-	Test Resources		-
XML Scenario:	/Applications/PushToTest_TestMaker0626/example_agents/SOAPWSDLTests/FunctionalTest/BrewBizServiceTest_TestScenario.xml
SOAPUI File:	/Applications/PushToTest_TestMaker0626/./example_agents/SOAPWSDLTests/FunctionalTest/BrewBizService-soapui-project.xml
	-	Loading Scenario		-
The node localhost is valid
The node localhost has loaded the scenario
	-	Starting Monitors		-
	-	Monitoring on Testnodes is disabled	-
	-	Monitoring of Host disabled	-
	-	Making Transactions		-

TestNode Output:

Adding file localhost/mylog.xml
INFO - New scenario BrewBiz Service Functional Test
INFO - Node name:localhost
Running a use case 0
Message size 1
INFO - Creating test use case soapUIusecase Concurrent Request Level:1 MessageSize:1
Configuring log4j from [jar:file:/Applications/PushToTest_TestMaker0626/TestNetwork/TestNode/webapps/TestNetwork/WEB-INF/lib/soapui-2.0.2.jar!/soapui-log4j.xml]
07:47:52,681 WARN  [DefaultSoapUICore] Missing folder [/Applications/PushToTest_TestMaker0626/TestNetwork/TestNode/ext] for external libraries
07:47:52,681 INFO  [DefaultSoapUICore] Creating new settings at [/Applications/PushToTest_TestMaker0626/TestNetwork/TestNode/soapui-settings.xml]
07:47:53,411 INFO  [WsdlProject] Loaded project from [file:/Applications/PushToTest_TestMaker0626/TestNetwork/TestNode/./localhost/BrewBizService-soapui-project.xml]
Trying soapUI test suite TestSuite
Trying ./localhost/BrewBizService-soapui-project.xml
07:47:53,702 INFO  [WsdlProject] Loaded project from [file:/Applications/PushToTest_TestMaker0626/TestNetwork/TestNode/./localhost/BrewBizService-soapui-project.xml]
Trying soapUI test suite TestSuite
Using soapUI testcase com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase@3c724f11
INFO - Starting Threads on Thu Jun 26 07:47:53 PDT 2008
INFO - Starting warm up on Thu Jun 26 07:47:54 PDT 2008
INFO - Warm up time 0 seconds 
INFO - Starting recording on Thu Jun 26 07:48:04 PDT 2008

TestNode Error output:

2008-06-26 07:30:18.484::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2008-06-26 07:30:18.858::INFO:  jetty-6.1.4
2008-06-26 07:30:18.088::INFO:  NO JSP Support for /axis, did not find org.apache.jasper.servlet.JspServlet
2008-06-26 07:30:19.075::INFO:  Extract jar:file:/Applications/PushToTest_TestMaker0626/TestNetwork/TestNode/webapps/BrewBizWeb.war!/ to /tmp/Jetty_0_0_0_0_8080_BrewBizWeb.war__BrewBizWeb__2tlky5/webapp
2008-06-26 07:30:20.328::INFO:  NO JSP Support for /BrewBizWeb, did not find org.apache.jasper.servlet.JspServlet
2008-06-26 07:30:20.429::INFO:  Extract jar:file:/Applications/PushToTest_TestMaker0626/TestNetwork/TestNode/webapps/responder.war!/ to /tmp/Jetty_0_0_0_0_8080_responder.war__responder__-4z4j09/webapp
2008-06-26 07:30:20.547::INFO:  NO JSP Support for /responder, did not find org.apache.jasper.servlet.JspServlet
2008-06-26 07:30:21.693::INFO:  NO JSP Support for /TestNetwork, did not find org.apache.jasper.servlet.JspServlet
2008-06-26 07:30:22.462::INFO:  Started SelectChannelConnector@0.0.0.0:8080

General info:

TestMaker
Version:       PushToTest TestMaker 5.2 (beta 5)
Number:        517
TOOL Version:  1.5
Build Date:    June 19, 2008
OS Name:       Mac OS X
User Name:     frankcohen
User Home:     /Users/frankcohen
User Directory:/Applications/PushToTest_TestMaker0626
Class Version: 49.0
JVM Version:   1.5.0_13

Attachments

cpu100.png (113.4 kB) - added by fcohen 2 months ago.
Screen shot of Activity Monitor
cpu100_2.png (41.3 kB) - added by fcohen 2 months ago.
Activity Monitor statistics
javasample.txt (25.1 kB) - added by fcohen 2 months ago.
Activity Monitor stack trace sample

Change History

Changed 2 months ago by fcohen

Screen shot of Activity Monitor

Changed 2 months ago by fcohen

Activity Monitor statistics

Changed 2 months ago by fcohen

Activity Monitor stack trace sample

Changed 2 months ago by fcohen

  • status changed from new to closed
  • resolution set to fixed

Confirmed Fixed. -Frank

Note: See TracTickets for help on using tickets.