jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62974] Uncaught IllegalStateException at setupTest-phase makes JMeter hanging and never stopping
Date Thu, 06 Dec 2018 16:43:43 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=62974

--- Comment #3 from Dmytro Muravov <muravov@yahoo.com> ---
For your information: 
I have patched the 3rd party backend listener  
rocks.nt.apm.jmeter.JMeterInfluxDBBackendListenerClient in order to warn the
user and then deactivate wrtiting to the InfluxDB. After that I have run the
JMeter tests using Maven. The behavior is as shown below (pay attention to the
error message "The JVM should have exited but did not"):

[INFO] --- jmeter-maven-plugin:2.8.1:configure (configure) @ server-load-test
---
[INFO] -------------------------------------------------------
[INFO]  Configuring JMeter...
[INFO] -------------------------------------------------------
[INFO]  Building JMeter directory structure...
[INFO]  Configuring JMeter artifacts :[]
[INFO]  Populating JMeter directory ...
[INFO]  Copying extensions [org.dcm4che:dcm4che-core:3.3.7] to JMeter lib/ext
directory C:\Development\sandbox\ForumServerLoadTest\target\jmeter\lib\ext with
downloadExtensionDependencies set to true ...
[INFO]  Copying  JUnit libraries [] to JMeter junit lib directory
C:\Development\sandbox\ForumServerLoadTest\target\jmeter\lib\junit with
downloadLibraryDependencies set to true ...
[INFO]  Copying test libraries [] to JMeter lib directory
C:\Development\sandbox\ForumServerLoadTest\target\jmeter\lib with
downloadLibraryDependencies set to true ...
[INFO]  Configuring jmeter properties ...
[INFO]  Generating JSON Test config ...
[INFO]
[INFO] <<< jmeter-maven-plugin:2.8.1:jmeter (jmeter-tests) < :configure @
server-load-test <<<
[INFO]
[INFO]
[INFO] --- jmeter-maven-plugin:2.8.1:jmeter (jmeter-tests) @ server-load-test
---
[INFO]
[INFO] -------------------------------------------------------
[INFO]  P E R F O R M A N C E    T E S T S
[INFO] -------------------------------------------------------
[INFO]
[INFO]
[INFO] Executing test: import-and-download-dicoms-short.jmx
[INFO] Starting process with:[java, -Xms512M, -Xmx2048M,
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger,
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9010, -jar,
ApacheJMeter-5.0.jar, -d,
C:\Development\sandbox\ForumServerLoadTest\target\jmeter, -e, -j,
C:\Development\sandbox\ForumServerLoadTest\target\jmeter\logs\import-and-download-dicoms-short.jmx.log,
-l,
C:\Development\sandbox\ForumServerLoadTest\target\jmeter\results\20181206-import-and-download-dicoms-short.csv,
-n, -o,
C:\Development\sandbox\ForumServerLoadTest\target\jmeter\reports\import-and-download-dicoms-short_20181206_173642,
-t,
C:\Development\sandbox\ForumServerLoadTest\target\jmeter\testFiles\import-and-download-dicoms-short.jmx,
-L, INFO]
[INFO] Listening for transport dt_socket at address: 9010
[INFO] SLF4J: Class path contains multiple SLF4J bindings.
[INFO] SLF4J: Found binding in
[jar:file:/C:/Development/sandbox/ForumServerLoadTest/target/jmeter/lib/log4j-slf4j-impl-2.11.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[INFO] SLF4J: Found binding in
[jar:file:/C:/Development/sandbox/ForumServerLoadTest/target/jmeter/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[INFO] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
[INFO] SLF4J: Actual binding is of type
[org.apache.logging.slf4j.Log4jLoggerFactory]
[INFO] Creating summariser <summary>
[INFO] Created the tree successfully using
C:\Development\sandbox\ForumServerLoadTest\target\jmeter\testFiles\import-and-download-dicoms-short.jmx
[INFO] Starting the test @ Thu Dec 06 17:36:45 CET 2018 (1544114205741)
[INFO] Waiting for possible Shutdown/StopTestNow/Heapdump message on port 4445
[INFO] summary =      3 in 00:00:01 =    3,2/s Avg:   233 Min:    33 Max:   631
Err:     3 (100,00%)
[INFO] Tidying up ...    @ Thu Dec 06 17:36:50 CET 2018 (1544114210259)
[INFO] ... end of run
[INFO] The JVM should have exited but did not.
[INFO] The following non-daemon threads are still running (DestroyJavaVM is
OK):
[INFO] Thread[pool-4-thread-1,5,main], stackTrace:sun.misc.Unsafe#park
[INFO] java.util.concurrent.locks.LockSupport#parkNanos at line:215
[INFO]
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject#awaitNanos
at line:2078
[INFO] java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue#take
at line:1093
[INFO] java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue#take
at line:809
[INFO] java.util.concurrent.ThreadPoolExecutor#getTask at line:1074
[INFO] java.util.concurrent.ThreadPoolExecutor#runWorker at line:1134
[INFO] java.util.concurrent.ThreadPoolExecutor$Worker#run at line:624
[INFO] java.lang.Thread#run at line:748
[INFO]
[INFO] Thread[pool-2-thread-1,5,main],
stackTrace:java.net.DualStackPlainSocketImpl#waitForConnect
[INFO] java.net.DualStackPlainSocketImpl#socketConnect at line:85
[INFO] java.net.AbstractPlainSocketImpl#doConnect at line:350
[INFO] java.net.AbstractPlainSocketImpl#connectToAddress at line:206
[INFO] java.net.AbstractPlainSocketImpl#connect at line:188
[INFO] java.net.PlainSocketImpl#connect at line:172
[INFO] java.net.SocksSocketImpl#connect at line:392
[INFO] java.net.Socket#connect at line:589
[INFO] okhttp3.internal.platform.Platform#connectSocket at line:129
[INFO] okhttp3.internal.connection.RealConnection#connectSocket at line:245
[INFO] okhttp3.internal.connection.RealConnection#connect at line:165
[INFO] okhttp3.internal.connection.StreamAllocation#findConnection at line:257
[INFO] okhttp3.internal.connection.StreamAllocation#findHealthyConnection at
line:135
[INFO] okhttp3.internal.connection.StreamAllocation#newStream at line:114
[INFO] okhttp3.internal.connection.ConnectInterceptor#intercept at line:42
[INFO] okhttp3.internal.http.RealInterceptorChain#proceed at line:147
[INFO] okhttp3.internal.http.RealInterceptorChain#proceed at line:121
[INFO] okhttp3.internal.cache.CacheInterceptor#intercept at line:93
[INFO] okhttp3.internal.http.RealInterceptorChain#proceed at line:147
[INFO] okhttp3.internal.http.RealInterceptorChain#proceed at line:121
[INFO] okhttp3.internal.http.BridgeInterceptor#intercept at line:93
[INFO] okhttp3.internal.http.RealInterceptorChain#proceed at line:147
[INFO] okhttp3.internal.http.RetryAndFollowUpInterceptor#intercept at line:126
[INFO] okhttp3.internal.http.RealInterceptorChain#proceed at line:147
[INFO] okhttp3.internal.http.RealInterceptorChain#proceed at line:121
[INFO] org.influxdb.impl.BasicAuthInterceptor#intercept at line:22
[INFO] okhttp3.internal.http.RealInterceptorChain#proceed at line:147
[INFO] okhttp3.internal.http.RealInterceptorChain#proceed at line:121
[INFO] org.influxdb.impl.GzipRequestInterceptor#intercept at line:42
[INFO] okhttp3.internal.http.RealInterceptorChain#proceed at line:147
[INFO] okhttp3.internal.http.RealInterceptorChain#proceed at line:121
[INFO] okhttp3.logging.HttpLoggingInterceptor#intercept at line:144
[INFO] okhttp3.internal.http.RealInterceptorChain#proceed at line:147
[INFO] okhttp3.internal.http.RealInterceptorChain#proceed at line:121
[INFO] okhttp3.RealCall#getResponseWithInterceptorChain at line:200
[INFO] okhttp3.RealCall#execute at line:77
[INFO] retrofit2.OkHttpCall#execute at line:180
[INFO] org.influxdb.impl.InfluxDBImpl#execute at line:788
[INFO] org.influxdb.impl.InfluxDBImpl#write at line:455
[INFO] org.influxdb.impl.OneShotBatchWriter#write at line:22
[INFO] org.influxdb.impl.BatchProcessor#write at line:321
[INFO] org.influxdb.impl.BatchProcessor$1#run at line:269
[INFO] java.util.concurrent.Executors$RunnableAdapter#call at line:511
[INFO] java.util.concurrent.FutureTask#run at line:266
[INFO]
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask#access$201
at line:180
[INFO] java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask#run
at line:293
[INFO] java.util.concurrent.ThreadPoolExecutor#runWorker at line:1149
[INFO] java.util.concurrent.ThreadPoolExecutor$Worker#run at line:624
[INFO] java.lang.Thread#run at line:748
[INFO]
[INFO] Thread[DestroyJavaVM,5,main], stackTrace:
[INFO] Dez 06, 2018 5:36:54 PM org.influxdb.impl.BatchProcessor write
[INFO] SCHWERWIEGEND: Batch could not be sent. Data will be lost
[INFO] org.influxdb.InfluxDBIOException: java.net.ConnectException: Failed to
connect to localhost/0:0:0:0:0:0:0:1:8086
[INFO]  at org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:800)
[INFO]  at org.influxdb.impl.InfluxDBImpl.write(InfluxDBImpl.java:455)
[INFO]  at
org.influxdb.impl.OneShotBatchWriter.write(OneShotBatchWriter.java:22)
[INFO]  at org.influxdb.impl.BatchProcessor.write(BatchProcessor.java:321)
[INFO]  at org.influxdb.impl.BatchProcessor$1.run(BatchProcessor.java:269)
[INFO]  at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[INFO]  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[INFO]  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
[INFO]  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
[INFO]  at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[INFO]  at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[INFO]  at java.lang.Thread.run(Thread.java:748)
[INFO] Caused by: java.net.ConnectException: Failed to connect to
localhost/0:0:0:0:0:0:0:1:8086
[INFO]  at
okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:247)
[INFO]  at
okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165)
[INFO]  at
okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257)
[INFO]  at
okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135)
[INFO]  at
okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114)
[INFO]  at
okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
[INFO]  at
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
[INFO]  at
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
[INFO]  at
okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
[INFO]  at
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
[INFO]  at
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
[INFO]  at
okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
[INFO]  at
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
[INFO]  at
okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126)
[INFO]  at
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
[INFO]  at
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
[INFO]  at
org.influxdb.impl.BasicAuthInterceptor.intercept(BasicAuthInterceptor.java:22)
[INFO]  at
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
[INFO]  at
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
[INFO]  at
org.influxdb.impl.GzipRequestInterceptor.intercept(GzipRequestInterceptor.java:42)
[INFO]  at
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
[INFO]  at
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
[INFO]  at
okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:144)
[INFO]  at
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
[INFO]  at
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
[INFO]  at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
[INFO]  at okhttp3.RealCall.execute(RealCall.java:77)
[INFO]  at retrofit2.OkHttpCall.execute(OkHttpCall.java:180)
[INFO]  at org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:788)
[INFO]  ... 11 more
[INFO] Caused by: java.net.ConnectException: Connection refused: connect
[INFO]  at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
[INFO]  at
java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
[INFO]  at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
[INFO]  at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
[INFO]  at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
[INFO]  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
[INFO]  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
[INFO]  at java.net.Socket.connect(Socket.java:589)
[INFO]  at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129)
[INFO]  at
okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245)
[INFO]  ... 39 more
[INFO]

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message