[ grinder-Bugs-3132643 ] Grinder 3.4 - exception "No statistics to report"

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.grinder.devel
Message-ID <[email protected]>
Bugs item #3132643, was opened at 2010-12-08 21:14
Message generated for change (Settings changed) made by philipa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3132643&group_id=18598

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: Core engine
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Wallander (wallander)
Assigned to: Philip Aston (philipa)
Summary: Grinder 3.4 - exception "No statistics to report"

Initial Comment:
Hi all,
a simple test script with a single HTTP request runs stable over hours without any issues with Grinder 3.2.
But with Grinder 3.4 the threads run into an exception "No statistics to report".
After this exception the thread dies in the next run with an "Last statistics were not reported" exception.

A trial with a single process and 3 threads results in:
- 08.12.10 11:36:20 - thread 1 run 0: "No statistics to report"
- 08.12.10 11:36:25 - thread 1 run 1: "Last statistics were not reported"
- 08.12.10 11:37:12 - thread 2 run 9: "No statistics to report"
- 08.12.10 11:37:18 - thread 2 run 10: "Last statistics were not reported"
- 08.12.10 11:37:19 - thread 0 run 13: "No statistics to report"
- 08.12.10 11:37:24 - thread 0 run 14: "Last statistics were not reported"

The test was configured to run forever but the load stopped after about 1 minute due to this issues.
Other trials have shown the same behaviour, each of them run into exceptions as listed above.

My Configuration is:
- Grinder 3.4
- JDK 1.6 (1.6.0_20)
- Jython 2.2.1
- Windows 2003 server 64 bit

Another server  (same hardware HP Proliant) with equal configuration shows the same issues.
On my notebook with Windows XP and 32 bit Grinder 3.4 runs stable, but our load generator is the 64 bit Windows 2003 server.

Any help will be appreciated.
Chris


----------------------------------------------------------------------------------------------------------------------------
08.12.10 11:36:20 (thread 1 run 0 test 101): Aborted run due to Java exception calling TestRunner
Java exception calling TestRunner
        File "D:\Grinder\.\pc001-file-store\current\.\Testscript.py", line 34, in Testscript_01
        File "D:\Grinder\.\pc001-file-store\current\.\Testscript.py", line 39, in __call__
Caused by: java.lang.AssertionError: net.grinder.engine.process.DispatchContext$DispatchStateException: No statistics to report
        at net.grinder.engine.process.ThreadContextImplementation.popDispatchContext(ThreadContextImplementation.java:249)
        at net.grinder.engine.process.TestData$RecorderHolder.end(TestData.java:183)
        at net.grinder.engine.process.TestData.end(TestData.java:108)
        at net.grinder.engine.process.instrumenter.traditionaljython.PyDispatcher.dispatch(PyDispatcher.java:77)
        at net.grinder.engine.process.instrumenter.traditionaljython.InstrumentationHelper.dispatch(InstrumentationHelper.java:102)
        at net.grinder.engine.process.instrumenter.traditionaljython.InstrumentedPyJavaInstanceForJavaInstances.invoke(InstrumentedPyJavaInstanceForJavaInstances.java:68)
        at org.python.pycode._pyx0.Testscript_01$2(D:\Grinder\.\pc001-file-store\current\.\Testscript.py:34)
        at org.python.pycode._pyx0.call_function(D:\Grinder\.\pc001-file-store\current\.\Testscript.py)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyFunction.__call__(Unknown Source)
        at org.python.core.PyInstance.invoke(Unknown Source)
        at org.python.pycode._pyx0.__call__$3(D:\Grinder\.\pc001-file-store\current\.\Testscript.py:39)
        at org.python.pycode._pyx0.call_function(D:\Grinder\.\pc001-file-store\current\.\Testscript.py)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyFunction.__call__(Unknown Source)
        at org.python.core.PyMethod.__call__(Unknown Source)
        at org.python.core.PyObject.invoke(Unknown Source)
        at org.python.core.PyInstance.__call__(Unknown Source)
        at org.python.core.PyObject.__call__(Unknown Source)
        at net.grinder.engine.process.jython.JythonScriptEngine$JythonWorkerRunnable.run(JythonScriptEngine.java:193)
        at net.grinder.engine.process.GrinderThread.run(GrinderThread.java:131)
        at java.lang.Thread.run(Thread.java:619)
Caused by: net.grinder.engine.process.DispatchContext$DispatchStateException: No statistics to report
        at net.grinder.engine.process.TestData$TestRecorder.report(TestData.java:259)
        at net.grinder.engine.process.ThreadContextImplementation.popDispatchContext(ThreadContextImplementation.java:246)
        ... 24 more
08.12.10 11:36:25 (thread 1 run 1 test 101): Aborted run due to Java exception calling TestRunner
Java exception calling TestRunner
        File "D:\Grinder\.\pc001-file-store\current\.\Testscript.py", line 34, in Testscript_01
        File "D:\Grinder\.\pc001-file-store\current\.\Testscript.py", line 39, in __call__
Caused by: net.grinder.engine.process.DispatchContext$DispatchStateException: Last statistics were not reported
        at net.grinder.engine.process.TestData$TestRecorder.start(TestData.java:222)
        at net.grinder.engine.process.TestData$RecorderHolder.start(TestData.java:175)
        at net.grinder.engine.process.TestData.start(TestData.java:104)
        at net.grinder.engine.process.instrumenter.traditionaljython.PyDispatcher.dispatch(PyDispatcher.java:65)
        at net.grinder.engine.process.instrumenter.traditionaljython.InstrumentationHelper.dispatch(InstrumentationHelper.java:102)
        at net.grinder.engine.process.instrumenter.traditionaljython.InstrumentedPyJavaInstanceForJavaInstances.invoke(InstrumentedPyJavaInstanceForJavaInstances.java:68)
        at org.python.pycode._pyx0.Testscript_01$2(D:\Grinder\.\pc001-file-store\current\.\Testscript.py:34)
        at org.python.pycode._pyx0.call_function(D:\Grinder\.\pc001-file-store\current\.\Testscript.py)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyFunction.__call__(Unknown Source)
        at org.python.core.PyInstance.invoke(Unknown Source)
        at org.python.pycode._pyx0.__call__$3(D:\Grinder\.\pc001-file-store\current\.\Testscript.py:39)
        at org.python.pycode._pyx0.call_function(D:\Grinder\.\pc001-file-store\current\.\Testscript.py)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyFunction.__call__(Unknown Source)
        at org.python.core.PyMethod.__call__(Unknown Source)
        at org.python.core.PyObject.invoke(Unknown Source)
        at org.python.core.PyInstance.__call__(Unknown Source)
        at org.python.core.PyObject.__call__(Unknown Source)
        at net.grinder.engine.process.jython.JythonScriptEngine$JythonWorkerRunnable.run(JythonScriptEngine.java:193)
        at net.grinder.engine.process.GrinderThread.run(GrinderThread.java:131)
        at java.lang.Thread.run(Thread.java:619)
08.12.10 11:37:12 (thread 2 run 9 test 101): Aborted run due to Java exception calling TestRunner
Java exception calling TestRunner
...

----------------------------------------------------------------------

>Comment By: Philip Aston (philipa)
Date: 2010-12-16 09:40

Message:
Fixed for next version:
http://grinder.svn.sourceforge.net/viewvc/grinder?view=revision&revision=4264

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3132643&group_id=18598

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.