You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Milamber <mi...@apache.org> on 2015/02/28 21:11:47 UTC
Error or Warning message "Index: 0, Size: 0" on the ant task test
Hello,
When I run the ant task distribution, I've this message on the "test" task:
[java] Created: 92 tests including 8 suites
[java] Starting test run, test count = 2529
[java] .........................................
[java] .........................................
[java] .........................................
[java] ...................Index: 0, Size: 0
[java] Index: 0, Size: 0
[java] Index: 0, Size: 0
[java] Index: 0, Size: 0
[java] .Index: 0, Size: 0
[java] Index: 0, Size: 0
[java] .Index: 0, Size: 0
[java] Index: 0, Size: 0
[java] ....................
[java] .........................................
[java] .........................................
The "index: 0, Size: 0" strings seems be not necessary (or obvious)... ?
In the jmeter-test.log file, I've found theses messages:
2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Configuring
remote engine: test1
2015/02/28 20:01:13 ERROR - jmeter.engine.DistributedRunner: Failed to
create engine at test1 java.lang.IndexOutOfBoundsException: Index: 0,
Size: 0
at java.util.LinkedList.entry(LinkedList.java:365)
at java.util.LinkedList.remove(LinkedList.java:357)
at
org.apache.jmeter.engine.DistributedRunnerTest$DistributedRunnerEmul.createEngine(DistributedRunnerTest.java:120)
at
org.apache.jmeter.engine.DistributedRunner.getClientEngine(DistributedRunner.java:213)
at
org.apache.jmeter.engine.DistributedRunner.init(DistributedRunner.java:91)
at
org.apache.jmeter.engine.DistributedRunnerTest.testFailure3(DistributedRunnerTest.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at junit.textui.TestRunner.doRun(TestRunner.java:116)
at junit.textui.TestRunner.doRun(TestRunner.java:109)
at junit.textui.TestRunner.run(TestRunner.java:77)
at org.apache.jorphan.test.AllTests.main(AllTests.java:236)
2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Failed to
configure test1
2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Configuring
remote engine: test2
2015/02/28 20:01:13 ERROR - jmeter.engine.DistributedRunner: Failed to
create engine at test2 java.lang.IndexOutOfBoundsException: Index: 0,
Size: 0
at java.util.LinkedList.entry(LinkedList.java:365)
at java.util.LinkedList.remove(LinkedList.java:357)
at
org.apache.jmeter.engine.DistributedRunnerTest$DistributedRunnerEmul.createEngine(DistributedRunnerTest.java:120)
at
org.apache.jmeter.engine.DistributedRunner.getClientEngine(DistributedRunner.java:213)
at
org.apache.jmeter.engine.DistributedRunner.init(DistributedRunner.java:91)
at
org.apache.jmeter.engine.DistributedRunnerTest.testFailure3(DistributedRunnerTest.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at junit.textui.TestRunner.doRun(TestRunner.java:116)
at junit.textui.TestRunner.doRun(TestRunner.java:109)
at junit.textui.TestRunner.run(TestRunner.java:77)
at org.apache.jorphan.test.AllTests.main(AllTests.java:236)
2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Failed to
configure test2
2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Stopping
remote engines
2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Remote
engines have been stopped
2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Starting
remote engines
2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Starting
the test @ Sat Feb 28 20:01:13 WET 2015 (1425153673613)
2015/02/28 20:01:13 WARN - jmeter.engine.DistributedRunner: Host not
found in list of active engines: test1
2015/02/28 20:01:13 WARN - jmeter.engine.DistributedRunner: Host not
found in list of active engines: test2
2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Remote
engines have been started
2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Shutting
down remote engines
2015/02/28 20:01:13 WARN - jmeter.engine.DistributedRunner: Host not
found in list of active engines: test1
2015/02/28 20:01:13 WARN - jmeter.engine.DistributedRunner: Host not
found in list of active engines: test2
2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Remote
engines have been shut down
2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Stopping
remote engines
2015/02/28 20:01:13 WARN - jmeter.engine.DistributedRunner: Host not
found in list of active engines: test1
2015/02/28 20:01:13 WARN - jmeter.engine.DistributedRunner: Host not
found in list of active engines: test2
2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Remote
engines have been stopped
2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Exiting
remote engines
2015/02/28 20:01:13 WARN - jmeter.engine.DistributedRunner: Host not
found in list of active engines: test1
2015/02/28 20:01:13 WARN - jmeter.engine.DistributedRunner: Host not
found in list of active engines: test2
2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Remote
engines have been exited
2015/02/28 20:01:13 INFO - jmeter.util.JMeterUtils: Setting Locale to
ignoreresources
2015/02/28 20:01:13 ERROR - jmeter.util.JMeterUtils: Could not find
resources for 'ignoreresources'
2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Configuring
remote engine: test1
2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Configuring
remote engine: test2
Any idea to remove these messages (fix?)
Milamber
Re: Error or Warning message "Index: 0, Size: 0" on the ant task test
Posted by Philippe Mouawad <ph...@gmail.com>.
Hi Milamber,
I made the message a bit more self explanatory I hope.
Regards
On Saturday, February 28, 2015, Milamber <mi...@apache.org> wrote:
> Hello,
>
> When I run the ant task distribution, I've this message on the "test" task:
>
> [java] Created: 92 tests including 8 suites
> [java] Starting test run, test count = 2529
> [java] .........................................
> [java] .........................................
> [java] .........................................
> [java] ...................Index: 0, Size: 0
> [java] Index: 0, Size: 0
> [java] Index: 0, Size: 0
> [java] Index: 0, Size: 0
> [java] .Index: 0, Size: 0
> [java] Index: 0, Size: 0
> [java] .Index: 0, Size: 0
> [java] Index: 0, Size: 0
> [java] ....................
> [java] .........................................
> [java] .........................................
>
>
> The "index: 0, Size: 0" strings seems be not necessary (or obvious)... ?
>
> In the jmeter-test.log file, I've found theses messages:
>
> 2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Configuring
> remote engine: test1
> 2015/02/28 20:01:13 ERROR - jmeter.engine.DistributedRunner: Failed to
> create engine at test1 java.lang.IndexOutOfBoundsException: Index: 0,
> Size: 0
> at java.util.LinkedList.entry(LinkedList.java:365)
> at java.util.LinkedList.remove(LinkedList.java:357)
> at
>
> org.apache.jmeter.engine.DistributedRunnerTest$DistributedRunnerEmul.createEngine(DistributedRunnerTest.java:120)
> at
>
> org.apache.jmeter.engine.DistributedRunner.getClientEngine(DistributedRunner.java:213)
> at
> org.apache.jmeter.engine.DistributedRunner.init(DistributedRunner.java:91)
> at
>
> org.apache.jmeter.engine.DistributedRunnerTest.testFailure3(DistributedRunnerTest.java:105)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at junit.framework.TestCase.runTest(TestCase.java:176)
> at junit.framework.TestCase.runBare(TestCase.java:141)
> at junit.framework.TestResult$1.protect(TestResult.java:122)
> at junit.framework.TestResult.runProtected(TestResult.java:142)
> at junit.framework.TestResult.run(TestResult.java:125)
> at junit.framework.TestCase.run(TestCase.java:129)
> at junit.framework.TestSuite.runTest(TestSuite.java:252)
> at junit.framework.TestSuite.run(TestSuite.java:247)
> at junit.framework.TestSuite.runTest(TestSuite.java:252)
> at junit.framework.TestSuite.run(TestSuite.java:247)
> at junit.textui.TestRunner.doRun(TestRunner.java:116)
> at junit.textui.TestRunner.doRun(TestRunner.java:109)
> at junit.textui.TestRunner.run(TestRunner.java:77)
> at org.apache.jorphan.test.AllTests.main(AllTests.java:236)
>
> 2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Failed to
> configure test1
> 2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Configuring
> remote engine: test2
> 2015/02/28 20:01:13 ERROR - jmeter.engine.DistributedRunner: Failed to
> create engine at test2 java.lang.IndexOutOfBoundsException: Index: 0,
> Size: 0
> at java.util.LinkedList.entry(LinkedList.java:365)
> at java.util.LinkedList.remove(LinkedList.java:357)
> at
>
> org.apache.jmeter.engine.DistributedRunnerTest$DistributedRunnerEmul.createEngine(DistributedRunnerTest.java:120)
> at
>
> org.apache.jmeter.engine.DistributedRunner.getClientEngine(DistributedRunner.java:213)
> at
> org.apache.jmeter.engine.DistributedRunner.init(DistributedRunner.java:91)
> at
>
> org.apache.jmeter.engine.DistributedRunnerTest.testFailure3(DistributedRunnerTest.java:105)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at junit.framework.TestCase.runTest(TestCase.java:176)
> at junit.framework.TestCase.runBare(TestCase.java:141)
> at junit.framework.TestResult$1.protect(TestResult.java:122)
> at junit.framework.TestResult.runProtected(TestResult.java:142)
> at junit.framework.TestResult.run(TestResult.java:125)
> at junit.framework.TestCase.run(TestCase.java:129)
> at junit.framework.TestSuite.runTest(TestSuite.java:252)
> at junit.framework.TestSuite.run(TestSuite.java:247)
> at junit.framework.TestSuite.runTest(TestSuite.java:252)
> at junit.framework.TestSuite.run(TestSuite.java:247)
> at junit.textui.TestRunner.doRun(TestRunner.java:116)
> at junit.textui.TestRunner.doRun(TestRunner.java:109)
> at junit.textui.TestRunner.run(TestRunner.java:77)
> at org.apache.jorphan.test.AllTests.main(AllTests.java:236)
>
> 2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Failed to
> configure test2
> 2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Stopping
> remote engines
> 2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Remote
> engines have been stopped
> 2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Starting
> remote engines
> 2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Starting
> the test @ Sat Feb 28 20:01:13 WET 2015 (1425153673613)
> 2015/02/28 20:01:13 WARN - jmeter.engine.DistributedRunner: Host not
> found in list of active engines: test1
> 2015/02/28 20:01:13 WARN - jmeter.engine.DistributedRunner: Host not
> found in list of active engines: test2
> 2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Remote
> engines have been started
> 2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Shutting
> down remote engines
> 2015/02/28 20:01:13 WARN - jmeter.engine.DistributedRunner: Host not
> found in list of active engines: test1
> 2015/02/28 20:01:13 WARN - jmeter.engine.DistributedRunner: Host not
> found in list of active engines: test2
> 2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Remote
> engines have been shut down
> 2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Stopping
> remote engines
> 2015/02/28 20:01:13 WARN - jmeter.engine.DistributedRunner: Host not
> found in list of active engines: test1
> 2015/02/28 20:01:13 WARN - jmeter.engine.DistributedRunner: Host not
> found in list of active engines: test2
> 2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Remote
> engines have been stopped
> 2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Exiting
> remote engines
> 2015/02/28 20:01:13 WARN - jmeter.engine.DistributedRunner: Host not
> found in list of active engines: test1
> 2015/02/28 20:01:13 WARN - jmeter.engine.DistributedRunner: Host not
> found in list of active engines: test2
> 2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Remote
> engines have been exited
> 2015/02/28 20:01:13 INFO - jmeter.util.JMeterUtils: Setting Locale to
> ignoreresources
> 2015/02/28 20:01:13 ERROR - jmeter.util.JMeterUtils: Could not find
> resources for 'ignoreresources'
> 2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Configuring
> remote engine: test1
> 2015/02/28 20:01:13 INFO - jmeter.engine.DistributedRunner: Configuring
> remote engine: test2
>
>
> Any idea to remove these messages (fix?)
>
> Milamber
>
--
Cordialement.
Philippe Mouawad.