You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2018/10/02 14:41:31 UTC
[Bug 62795] New: JMeter master sometimes ends distributed test even
though some of the slaves have not finished
https://bz.apache.org/bugzilla/show_bug.cgi?id=62795
Bug ID: 62795
Summary: JMeter master sometimes ends distributed test even
though some of the slaves have not finished
Product: JMeter
Version: 4.0
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Main
Assignee: issues@jmeter.apache.org
Reporter: bararu.catalin@gmail.com
Target Milestone: JMETER_5.1
Created attachment 36185
--> https://bz.apache.org/bugzilla/attachment.cgi?id=36185&action=edit
Archive with logs from master and slaves
- Description: JMeter master sometimes ends distributed test even though some
of the slaves have not finished
- Environment:
-- 1 Master: ubuntu 16.04, JMeter version: 4
-- 2 Slaves: ubuntu 16.04, JMeter version: 4
All machines are running: openjdk version "1.8.0_181"
The .jmx file is checking if a variable from user.properties is set to true,
and if it is, it then runs some code.
Steps:
1.
./jmeter -n -t /fake-path/prepare-environment.jmx -r
-Djava.rmi.server.hostname=MASTERIP
Results:
In some conditions, the master decides that the test has ended even thought one
of the slaves has not finished.
It seems this is happening when one of the slaves finishes before the other
slaves starts.
As seen in jmeter.log the second slave finishes "Finished remote host:
10.17.41.203" and then the first slaves starts "Started remote host:
10.17.41.202". After this the master creates the dashboard while one of the
slaves is still running.
If i change the logic of the two slaves and jmeter starts the remote engines in
the same order the test fill finish successful, but i can not rely on this.
As a workaround i put both slaves to sleep for a couple of seconds at the start
of test so one does not finish before the other starts.
I do not really know how jmeter decides which slave will start first.
Attached jmeter.log for master and both slaves.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62795] JMeter master sometimes ends distributed test even
though some of the slaves have not finished
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62795
--- Comment #8 from Catalin Bararu <ba...@gmail.com> ---
I tried copying ApacheJMeter.jar to my master (from LATEST (r1845186)) and
running the test again. The issues still reproduced, but i think that the way I
did this is not correct.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62795] JMeter master sometimes ends distributed test even
though some of the slaves have not finished
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62795
--- Comment #6 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
(In reply to Catalin Bararu from comment #5)
> Hello,
>
> Can you tell me the location from where i can download your fix ?
>
> Thank you.
Here:
https://ci.apache.org/projects/jmeter/nightlies/
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62795] JMeter master sometimes ends distributed test even
though some of the slaves have not finished
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62795
isuk <is...@mailinator.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62795] JMeter master sometimes ends distributed test even
though some of the slaves have not finished
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62795
Catalin Bararu <ba...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--- Comment #2 from Catalin Bararu <ba...@gmail.com> ---
Hello,
For the moment i can not do the test with jmeter 5.0, as my jmeter
imfrastructure is at my workplace and i can not change/upgrade it at this time.
I will try to do it, but i can not say for sure when.
As for the "Run Thread Groups consecutively", i think this is irrelevant
because the .jmx file has only 1 thread group. If you think it is not, i will
do the test.
Thanks you.
Catalin B.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62795] JMeter master sometimes ends distributed test even
though some of the slaves have not finished
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62795
--- Comment #5 from Catalin Bararu <ba...@gmail.com> ---
Hello,
Can you tell me the location from where i can download your fix ?
Thank you.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62795] JMeter master sometimes ends distributed test even
though some of the slaves have not finished
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62795
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Keywords| |FixedInTrunk
Resolution|--- |FIXED
--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Sat Oct 27 14:30:13 2018
New Revision: 1844975
URL: http://svn.apache.org/viewvc?rev=1844975&view=rev
Log:
Bug 62795 - JMeter master sometimes ends distributed test even though some of
the slaves have not finished
Bugzilla Id: 62795
Modified:
jmeter/trunk/src/core/org/apache/jmeter/JMeter.java
jmeter/trunk/xdocs/changes.xml
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62795] JMeter master sometimes ends distributed test even
though some of the slaves have not finished
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62795
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Target Milestone|JMETER_5.1 |---
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62795] JMeter master sometimes ends distributed test even
though some of the slaves have not finished
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62795
--- Comment #7 from Catalin Bararu <ba...@gmail.com> ---
(In reply to Catalin Bararu from comment #5)
> Hello,
>
> Can you tell me the location from where i can download your fix ?
>
> Thank you.
Hi, can you please explain how should I upgrade my env? Can I just copy some
files from that build to my env (jmeter 4) or how should I use it ?
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62795] JMeter master sometimes ends distributed test even
though some of the slaves have not finished
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62795
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
CC| |p.mouawad@ubik-ingenierie.c
| |om
OS| |All
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
Can you run your test again with 5.0 and provide the logs and console output of
each server and client ?
Also did you check in Test Plan "Run Thread Groups consecutively" ?
Thank you
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62795] JMeter master sometimes ends distributed test even
though some of the slaves have not finished
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62795
--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
Issue should be fixed in nightly build.
Could you download it after tomorrow, test and confirm issue is fixed for you ?
Thanks
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62795] JMeter master sometimes ends distributed test even
though some of the slaves have not finished
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62795
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |JMETER_5.1
Severity|enhancement |normal
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62795] JMeter master sometimes ends distributed test even
though some of the slaves have not finished
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62795
--- Comment #9 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
(In reply to Catalin Bararu from comment #8)
> I tried copying ApacheJMeter.jar to my master (from LATEST (r1845186)) and
> running the test again. The issues still reproduced, but i think that the
> way I did this is not correct.
Indeed you don't proceed correctly.
To replace the version, you need to unzip the bundle you download from the link
and use it, you need to do it on masters and slaves.
Thanks
Regards
--
You are receiving this mail because:
You are the assignee for the bug.