You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2007/12/22 04:30:31 UTC
DO NOT REPLY [Bug 44126] New: - ConcurrentModificationException executing test on multiple machines
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44126>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44126
Summary: ConcurrentModificationException executing test on
multiple machines
Product: JMeter
Version: 2.3.1
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Main
AssignedTo: jmeter-dev@jakarta.apache.org
ReportedBy: enebel@yahoo.com
I have a single, simple test with one thread group (2 threads, ramp up time 1,
loop 1). The thread group contains 3 HTTP requests (1 POST that sends contents
of a small file and 2 GETs) and one View Results Tree listener. In
jmeter.properties: mode=Batch, num_sample_threshold=1000, and
time_threshold=60000. Only other modifications to jmeter.properties:
jmeter.laf=javax.com.sun.java.swing.plaf.windows.WindowsLookAndFeel and 6
remote_hosts defined. From the master GUI, I call Run->Remote Start All and I get:
Exception in thread "Thread-4" java.util.ConcurrentModificationException
at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:365)
at java.util.LinkedHashMap$ValueIterator.next(LinkedHashMap.java:380)
at
org.apache.jmeter.testelement.property.PropertyIteratorImpl.next(PropertyIteratorImpl.java:50)
at
org.apache.jmeter.engine.util.ValueReplacer.replaceValues(ValueReplacer.java:113)
at
org.apache.jmeter.engine.util.ValueReplacer.replaceValues(ValueReplacer.java:65)
at org.apache.jmeter.engine.PreCompiler.addNode(PreCompiler.java:70)
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:972)
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:973)
at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:956)
at org.apache.jmeter.engine.ClientJMeterEngine.run(ClientJMeterEngine.java:116)
at java.lang.Thread.run(Thread.java:595)
The error also occurs with mode=Statistical and with the Summary Report
listener. I didn't see this error as often with fewer remote hosts.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 44126] - ConcurrentModificationException executing test on multiple machines
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44126>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44126
------- Additional Comments From sebb@apache.org 2008-01-30 16:39 -------
See also Bug 43431.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 44126] - ConcurrentModificationException executing test on multiple machines
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44126>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44126
------- Additional Comments From enebel@yahoo.com 2007-12-21 20:34 -------
I haven't looked at the JMeter source code, but this seems to happen when JMeter
is trying to start the test on each of the remote slaves. The error doesn't
occur every time, but if it occurs, one of the remote slaves doesn't run the
test. All jmeter properties I modified except remote_hosts seem to be
irrelevant: the greater the number of remote_hosts, the more likely it is that
this ConcurrentModificationException will occur. (I'm now testing with 7 remote
hosts.)
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 44126] - ConcurrentModificationException executing test on multiple machines
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44126>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44126
------- Additional Comments From sebb@apache.org 2008-01-14 06:23 -------
Thanks,I'll try that out later.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 44126] - ConcurrentModificationException executing test on multiple machines
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44126>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44126
------- Additional Comments From dmitry@ardas.dp.ua 2008-01-14 06:00 -------
Created an attachment (id=21384)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=21384&action=view)
Concurrent Exception Example
Test plan example is attached to reproduce ConcurrentModificationException for
multi server mode. I have 10 jmeter servers and this exception occurred in 90%
cases.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 44126] - ConcurrentModificationException executing test on multiple machines
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44126>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44126
------- Additional Comments From horst@mailinator.com 2008-01-14 02:00 -------
I got the same problem - I could work around it by adding a
try { Thread.sleep(6); } catch (InterruptedException ie) {}
after the line that reads
doRemoteStart(el.trim());
in org/apache/jmeter/gui/action/RemoteStart.java
If that exception still shows, try a number greater than 6ms.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 44126] - ConcurrentModificationException executing test on multiple machines
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44126>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44126
sebb@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
------- Additional Comments From sebb@apache.org 2008-01-14 03:11 -------
Does anyone have a *simple* public test case they could attach to this issue?
I have tried to reproduce the problem, but so far not succeeded.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 44126] - ConcurrentModificationException executing test on multiple machines
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44126>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44126
sebb@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dmitry@ardas.dp.ua
------- Additional Comments From sebb@apache.org 2008-01-14 04:23 -------
*** Bug 44222 has been marked as a duplicate of this bug. ***
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 44126] - ConcurrentModificationException executing test on multiple machines
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44126>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44126
------- Additional Comments From david@davidwbrown.name 2008-02-06 15:40 -------
Hello Sebb, I have the SpringFramework JPetstore shopping cart demo running
publicly. This is the same application I was using for the remote distributed
testing that you helped me with previously off-list. I have a viable and fairly
simple Test Plan. If you or someone else could use the app to help resolve the
concurrency issue I can reply with the link. Please advise, David.
(In reply to comment #4)
> Does anyone have a *simple* public test case they could attach to this issue?
>
> I have tried to reproduce the problem, but so far not succeeded.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 44126] - ConcurrentModificationException executing test on multiple machines
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44126>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44126
------- Additional Comments From enebel@yahoo.com 2007-12-21 19:33 -------
This is similar to 43431 and 43168, but not the same (I think).
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 44126] - ConcurrentModificationException executing test on multiple machines
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44126>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44126
------- Additional Comments From david@davidwbrown.name 2008-02-06 18:29 -------
Hello sebb, in response to your email on the user list please find included
below the Test Plan that generates the Concurrency exception. You have previous
ASCII network topology diagrams of my LAN but I will repeat it here: I am using
2 client slaves as defined in my jmeter.properties. The target application
resides at:
https://www.davidwbrown.name:8543/jpetstore/
Click the sign-in bread-crumb trail and create a user and password.
Open the Test Plan (your gmail address) and input your new user and password on
the empty petstoreuser and petstorepass name-value on the Test Plan page.
My use of the Test Plan invoked the Concurrency Exception with 3 users (defined
in the ThreadGroup) against two client slaves (Remote Start All). 1 user and 1
client seems more stable but not really tested. My Test Plan client slaves (2)
were: Suse 10.1 (Intel 233 mHz 1 cpu 384 mb mem) and Windows XP (Intel 2.x+ gHz
duo core 1 gb mem). Target application machine: Debian 3.1-2.6.8-2-686-smp
(Intel 2 CPU @3.0 gHz 2 gb mem)
(In reply to comment #4)
> Does anyone have a *simple* public test case they could attach to this issue?
>
> I have tried to reproduce the problem, but so far not succeeded.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org