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 2020/05/28 17:20:48 UTC

[Bug 64479] New: JVM doesn't exit after successfull test run

https://bz.apache.org/bugzilla/show_bug.cgi?id=64479

            Bug ID: 64479
           Summary: JVM doesn't exit after successfull test run
           Product: JMeter
           Version: 5.3
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: honza@urban-cz.eu
  Target Milestone: JMETER_5.3.1

Created attachment 37275
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37275&action=edit
thread dump

After the upgrade to version 5.3 some of my scripts stopped working (works just
fine on 5.2.1).
I have the same config on both versions of JMeter, also the same plugins.

When running the test I get the following:

Creating summariser <summary>
Created the tree successfully using
..\Scripts\AGReportGeneratorForAutomatization.jmx
Starting standalone test @ Thu May 28 19:07:55 CEST 2020 (1590685675948)
Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port
4445
summary =      2 in 00:00:11 =    0.2/s Avg:     0 Min:     0 Max:     1 Err:  
  0 (0.00%)
Tidying up ...    @ Thu May 28 19:08:09 CEST 2020 (1590685689077)
... end of run
The JVM should have exited but did not.
The following non-daemon threads are still running (DestroyJavaVM is OK):
Thread[AWT-Shutdown,5,system], stackTrace:java.lang.Object#wait
sun.awt.AWTAutoShutdown#run
java.lang.Thread#run

Thread[DestroyJavaVM,5,main], stackTrace:
Thread[AWT-EventQueue-0,6,main], stackTrace:sun.misc.Unsafe#park
java.util.concurrent.locks.LockSupport#park
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject#await
java.awt.EventQueue#getNextEvent
java.awt.EventDispatchThread#pumpOneEventForFilters
java.awt.EventDispatchThread#pumpEventsForFilter
java.awt.EventDispatchThread#pumpEventsForHierarchy
java.awt.EventDispatchThread#pumpEvents
java.awt.EventDispatchThread#pumpEvents
java.awt.EventDispatchThread#run

jmeter.log attached.
Also, thread dump attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64479] JVM doesn't exit after successfull test run

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64479

--- Comment #8 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
To be clear issue is related to javax.swing.Timer being created and started in
constructor.
But never stopped.

Regards

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64479] Regression: HTTP(s) Script Recorder prevents proper shutdown in non-GUI mode

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64479

--- Comment #12 from honza@urban-cz.eu ---
Hi, sorry for the late response, I was on vacation.

I tested the fix on the r1781-fb66ca90547856d39b59e98b978cb551e53f5a04 build,
and is now working as intended.
Test is OK, ticket can be closed.

Thanks a lot!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64479] JVM doesn't exit after successfull test run

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64479

--- Comment #7 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
As a workaround until a fix is delivered, remove Http(s) Test Script recorder
from plan and issue will be resolved.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64479] Regression: HTTP(s) Script Recorder prevents proper shutdown in non-GUI mode

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64479

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEEDINFO                    |RESOLVED
            Summary|JVM doesn't exit after      |Regression: HTTP(s) Script
                   |successfull test run        |Recorder prevents proper
                   |                            |shutdown in non-GUI mode

--- Comment #11 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello Honza,
My tests show it is fixed, what does yours do ?

I will close it as fixed for now, if it is not please reopen.

Thank you

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64479] JVM doesn't exit after successfull test run

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64479

--- Comment #1 from honza@urban-cz.eu ---
Created attachment 37276
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37276&action=edit
jmeter.log file

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64479] JVM doesn't exit after successfull test run

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64479

--- Comment #9 from honza@urban-cz.eu ---
(In reply to Philippe Mouawad from comment #7)
> As a workaround until a fix is delivered, remove Http(s) Test Script
> recorder from plan and issue will be resolved.

I confirm this is working. Thanks for your response!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64479] JVM doesn't exit after successfull test run

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64479

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
             Status|NEW                         |NEEDINFO

--- Comment #2 from Felix Schumacher <fe...@internetallee.de> ---
Can you share more information about the scripts you use? Which features do
they use? What third party plugins do you use? Is the problem happening without
the plugins?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64479] JVM doesn't exit after successfull test run

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64479

--- Comment #5 from honza@urban-cz.eu ---
Created attachment 37279
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37279&action=edit
Picture of .jmx script used

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64479] JVM doesn't exit after successfull test run

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64479

--- Comment #3 from honza@urban-cz.eu ---
The script is basically just a Graphs Generator plugin listener in a thread
group (see png attached, screenshot is taken from 5.2.1, but the script is the
same).
I'll attach the list of plugins I'm using (all in their latest versions) as png
as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64479] JVM doesn't exit after successfull test run

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64479

honza@urban-cz.eu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64479] JVM doesn't exit after successfull test run

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64479

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #10 from Felix Schumacher <fe...@internetallee.de> ---
Thanks for the report and Philippe for the debugging. A fix has been submitted
in trunk.

@Honza Can you try out the next nightly or trunk build and report back, if it
fixes your issue?

commit 913735db54bf5a2e0a1461aee0e110df19512424
AuthorDate: Wed Jun 17 12:20:21 2020 +0200

    Fix ProxyControl timer that prevents correct shutdown

    Regression introduced with Bug 64400

    Bugzilla Id: 64479
---
 .../java/org/apache/jmeter/protocol/http/proxy/ProxyControl.java | 9 ++++++++-
 xdocs/changes.xml                                                | 1 +
 2 files changed, 9 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64479] JVM doesn't exit after successfull test run

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64479

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
           Severity|normal                      |regression

--- Comment #6 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
I confirm this bug has no relation with 3rd party plugins.
It has been introduced by fix to Bug 64400

Thanks for report.
Regards

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64479] JVM doesn't exit after successfull test run

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64479

--- Comment #4 from honza@urban-cz.eu ---
Created attachment 37278
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37278&action=edit
List of plugins used

-- 
You are receiving this mail because:
You are the assignee for the bug.