You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2019/10/02 13:51:39 UTC
Build failed in Jenkins: JMeter Windows #1506
See <https://builds.apache.org/job/JMeter%20Windows/1506/display/redirect?page=changes>
Changes:
[sitnikov.vladimir] Support OpenJDK13 in TCP_TESTS: update exception message normalizer
[sitnikov.vladimir] Use union merge strategy for changes.xml and changes_history.xml
[sitnikov.vladimir] Run Spotless and Checkstyle for Gradle 6.0 / Java 13 build as well
------------------------------------------
[...truncated 212.32 KB...]
[server] Starting the test on host jenkins-win-he-de-2.apache.org:49762 @ Wed Oct 02 06:50:21 PDT 2019 (1570024221272)
> Task :src:dist-check:batchServerBatchTestLocal
Remote engines have been started:{jenkins-win-he-de-2.apache.org:49762=ClientJMeterEngine [hostAndPort=jenkins-win-he-de-2.apache.org:49762]}
Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port 4445
[server] Oct 02, 2019 6:50:21 AM java.util.prefs.WindowsPreferences <init>
[server] WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
[server] Finished the test on host jenkins-win-he-de-2.apache.org:49762 @ Wed Oct 02 06:50:28 PDT 2019 (1570024228204) - exit requested.
> Task :src:dist-check:batchServerBatchTestLocal
summary = 132 in 00:00:07 = 20.0/s Avg: 4 Min: 0 Max: 92 Err: 16 (12.12%)
Tidying up remote @ Wed Oct 02 06:50:28 PDT 2019 (1570024228204)
... end of run
No errors present in the logfile F:\jenkins\jenkins-slave\workspace\JMeter Windows\bin\BatchTestLocal.log (the file is empty)
No errors present in the logfile F:\jenkins\jenkins-slave\workspace\JMeter Windows\bin\BatchTestLocalServer.log (the file is empty)
> Task :src:dist-check:batchSlowCharsFeatureHttpClient4
Oct 02, 2019 6:50:34 AM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Creating summariser <summary>
Created the tree successfully using F:\jenkins\jenkins-slave\workspace\JMeter Windows\bin\testfiles\SlowCharsFeature.jmx
Starting standalone test @ Wed Oct 02 06:50:34 PDT 2019 (1570024234993)
Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port 4445
summary + 1 in 00:00:00 = 3.1/s Avg: 299 Min: 299 Max: 299 Err: 0 (0.00%) Active: 1 Started: 1 Finished: 0
summary + 4 in 00:00:28 = 0.1/s Avg: 6937 Min: 5586 Max: 10777 Err: 0 (0.00%) Active: 1 Started: 1 Finished: 0
summary = 5 in 00:00:28 = 0.2/s Avg: 5610 Min: 299 Max: 10777 Err: 0 (0.00%)
summary = 5 in 00:00:28 = 0.2/s Avg: 5610 Min: 299 Max: 10777 Err: 0 (0.00%)
Tidying up ... @ Wed Oct 02 06:51:03 PDT 2019 (1570024263634)
... end of run
No errors present in the logfile F:\jenkins\jenkins-slave\workspace\JMeter Windows\bin\SlowCharsFeature.log (the file is empty)
> Task :src:dist-check:batchSlowCharsFeatureJava
Oct 02, 2019 6:51:05 AM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Creating summariser <summary>
Created the tree successfully using F:\jenkins\jenkins-slave\workspace\JMeter Windows\bin\testfiles\SlowCharsFeature.jmx
Starting standalone test @ Wed Oct 02 06:51:05 PDT 2019 (1570024265486)
Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port 4445
summary = 4 in 00:00:23 = 0.2/s Avg: 5717 Min: 301 Max: 11361 Err: 0 (0.00%)
Tidying up ... @ Wed Oct 02 06:51:28 PDT 2019 (1570024288933)
... end of run
No errors present in the logfile F:\jenkins\jenkins-slave\workspace\JMeter Windows\bin\SlowCharsFeature.log (the file is empty)
> Task :src:dist-check:batchTCP_TESTS
Oct 02, 2019 6:51:30 AM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Creating summariser <summary>
Created the tree successfully using F:\jenkins\jenkins-slave\workspace\JMeter Windows\bin\testfiles\TCP_TESTS.jmx
Starting standalone test @ Wed Oct 02 06:51:30 PDT 2019 (1570024290345)
Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port 4445
summary + 1 in 00:00:01 = 1.8/s Avg: 548 Min: 548 Max: 548 Err: 0 (0.00%) Active: 1 Started: 1 Finished: 0
02/10/2019 06:51:33
summary + 10 in 00:00:07 = 1.5/s Avg: 551 Min: 0 Max: 2419 Err: 0 (0.00%) Active: 0 Started: 1 Finished: 1
summary = 11 in 00:00:07 = 1.5/s Avg: 551 Min: 0 Max: 2419 Err: 0 (0.00%)
Tidying up ... @ Wed Oct 02 06:51:38 PDT 2019 (1570024298179)
... end of run
ERROR: unexpected output for TCP_TESTS.csv:
- expected 1177 bytes, F:\jenkins\jenkins-slave\workspace\JMeter Windows\bin\testfiles\TCP_TESTS.csv
+ actual 1186 bytes, F:\jenkins\jenkins-slave\workspace\JMeter Windows\bin\TCP_TESTS.csv
@@ -6,7 +6,7 @@
TCP Sampler-Binary-Hello,200,OK,TG-BinaryTCPClientImpl 2-1,text,true,1,1,1,0
TCP Sampler-Binary-Timeout,500,org.apache.jmeter.protocol.tcp.sampler.ReadException: ,TG-BinaryTCPClientImpl 2-1,text,true,1,1,1,0
TCP Sampler-Binary-Quit,200,OK,TG-BinaryTCPClientImpl 2-1,text,true,1,1,1,0
-TCP Sampler-ConnectError,500,java.net.ConnectException: Connection refused,TG-TCPClientImpl-Errors 3-1,,true,1,1,1,0
+TCP Sampler-ConnectError,500,java.net.ConnectException: Connection refused: connect,TG-TCPClientImpl-Errors 3-1,,true,1,1,1,0
TCP Sampler-HostUnknown,500,java.net.UnknownHostException: localhostXXXX,TG-TCPClientImpl-Errors 3-1,,true,1,1,1,0
TCP Sampler-ClassNotFoundException,500,Protocol handler not found,TG-TCPClientImpl-Errors 3-1,,true,1,1,1,0
JSR223S_stopTcpServer,200,OK,tearDown Thread Group 1-1,text,true,1,1,1,0
ERROR: unexpected output for TCP_TESTS.xml:
- expected 3428 bytes, F:\jenkins\jenkins-slave\workspace\JMeter Windows\bin\testfiles\TCP_TESTS.xml
+ actual 3355 bytes, F:\jenkins\jenkins-slave\workspace\JMeter Windows\bin\TCP_TESTS.xml
@@ -41,7 +41,7 @@
</assertionResult>
</sample>
<sample s="true" lb="TCP Sampler-Binary-Quit" rc="200" rm="OK" tn="TG-BinaryTCPClientImpl 2-1" dt="text" sc="1" ec="0" ng="1" na="1"/>
-<sample s="true" lb="TCP Sampler-ConnectError" rc="500" rm="java.net.ConnectException: Connection refused" tn="TG-TCPClientImpl-Errors 3-1" dt="" sc="1" ec="0" ng="1" na="1">
+<sample s="true" lb="TCP Sampler-ConnectError" rc="500" rm="java.net.ConnectException: Connection refused: connect" tn="TG-TCPClientImpl-Errors 3-1" dt="" sc="1" ec="0" ng="1" na="1">
<assertionResult>
<name>RC_500</name>
<failure>false</failure>
WARNING: the task was configured to ignore errors in the output log
Logfile contents (errors during the test, see F:\jenkins\jenkins-slave\workspace\JMeter Windows\bin\TCP_TESTS.log):
2019-10-02 06:51:33,634 ERROR o.a.j.p.t.s.TCPSampler:
org.apache.jmeter.protocol.tcp.sampler.ReadException: Error reading from server, bytes read: 0
at org.apache.jmeter.protocol.tcp.sampler.TCPClientImpl.read(TCPClientImpl.java:123) ~[ApacheJMeter_tcp.jar:5.2.0-SNAPSHOT]
at org.apache.jmeter.protocol.tcp.sampler.TCPSampler.sample(TCPSampler.java:399) [ApacheJMeter_tcp.jar:5.2.0-SNAPSHOT]
at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:627) [ApacheJMeter_core.jar:5.2.0-SNAPSHOT]
at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:551) [ApacheJMeter_core.jar:5.2.0-SNAPSHOT]
at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:490) [ApacheJMeter_core.jar:5.2.0-SNAPSHOT]
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257) [ApacheJMeter_core.jar:5.2.0-SNAPSHOT]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method) ~[?:1.8.0_152]
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) ~[?:1.8.0_152]
at java.net.SocketInputStream.read(SocketInputStream.java:171) ~[?:1.8.0_152]
at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_152]
at java.net.SocketInputStream.read(SocketInputStream.java:127) ~[?:1.8.0_152]
at org.apache.jmeter.protocol.tcp.sampler.TCPClientImpl.read(TCPClientImpl.java:106) ~[ApacheJMeter_tcp.jar:5.2.0-SNAPSHOT]
... 6 more
2019-10-02 06:51:34,634 WARN o.a.m.f.l.LoggingFilter: EXCEPTION :
java.io.IOException: An established connection was aborted by the software in your host machine
at sun.nio.ch.SocketDispatcher.read0(Native Method) ~[?:1.8.0_152]
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) ~[?:1.8.0_152]
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:1.8.0_152]
at sun.nio.ch.IOUtil.read(IOUtil.java:197) ~[?:1.8.0_152]
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) ~[?:1.8.0_152]
at org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:378) ~[mina-core-2.0.19.jar:?]
at org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:47) ~[mina-core-2.0.19.jar:?]
at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:519) [mina-core-2.0.19.jar:?]
at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$1200(AbstractPollingIoProcessor.java:68) [mina-core-2.0.19.jar:?]
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.process(AbstractPollingIoProcessor.java:1242) [mina-core-2.0.19.jar:?]
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.process(AbstractPollingIoProcessor.java:1231) [mina-core-2.0.19.jar:?]
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:683) [mina-core-2.0.19.jar:?]
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [mina-core-2.0.19.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_152]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
2019-10-02 06:51:34,635 ERROR TimeServerHandler: Exception occured
java.io.IOException: An established connection was aborted by the software in your host machine
at sun.nio.ch.SocketDispatcher.read0(Native Method) ~[?:1.8.0_152]
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) ~[?:1.8.0_152]
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:1.8.0_152]
at sun.nio.ch.IOUtil.read(IOUtil.java:197) ~[?:1.8.0_152]
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) ~[?:1.8.0_152]
at org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:378) ~[mina-core-2.0.19.jar:?]
at org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:47) ~[mina-core-2.0.19.jar:?]
at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:519) [mina-core-2.0.19.jar:?]
at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$1200(AbstractPollingIoProcessor.java:68) [mina-core-2.0.19.jar:?]
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.process(AbstractPollingIoProcessor.java:1242) [mina-core-2.0.19.jar:?]
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.process(AbstractPollingIoProcessor.java:1231) [mina-core-2.0.19.jar:?]
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:683) [mina-core-2.0.19.jar:?]
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [mina-core-2.0.19.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_152]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
2019-10-02 06:51:34,692 ERROR o.a.j.p.t.s.TCPSampler:
org.apache.jmeter.protocol.tcp.sampler.ReadException:
at org.apache.jmeter.protocol.tcp.sampler.BinaryTCPClientImpl.read(BinaryTCPClientImpl.java:146) ~[ApacheJMeter_tcp.jar:5.2.0-SNAPSHOT]
at org.apache.jmeter.protocol.tcp.sampler.TCPSampler.sample(TCPSampler.java:399) [ApacheJMeter_tcp.jar:5.2.0-SNAPSHOT]
at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:627) [ApacheJMeter_core.jar:5.2.0-SNAPSHOT]
at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:551) [ApacheJMeter_core.jar:5.2.0-SNAPSHOT]
at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:490) [ApacheJMeter_core.jar:5.2.0-SNAPSHOT]
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257) [ApacheJMeter_core.jar:5.2.0-SNAPSHOT]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method) ~[?:1.8.0_152]
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) ~[?:1.8.0_152]
at java.net.SocketInputStream.read(SocketInputStream.java:171) ~[?:1.8.0_152]
at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_152]
at java.net.SocketInputStream.read(SocketInputStream.java:127) ~[?:1.8.0_152]
at org.apache.jmeter.protocol.tcp.sampler.BinaryTCPClientImpl.read(BinaryTCPClientImpl.java:128) ~[ApacheJMeter_tcp.jar:5.2.0-SNAPSHOT]
... 6 more
2019-10-02 06:51:35,692 WARN o.a.m.f.l.LoggingFilter: EXCEPTION :
java.io.IOException: An established connection was aborted by the software in your host machine
at sun.nio.ch.SocketDispatcher.read0(Native Method) ~[?:1.8.0_152]
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) ~[?:1.8.0_152]
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:1.8.0_152]
at sun.nio.ch.IOUtil.read(IOUtil.java:197) ~[?:1.8.0_152]
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) ~[?:1.8.0_152]
at org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:378) ~[mina-core-2.0.19.jar:?]
at org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:47) ~[mina-core-2.0.19.jar:?]
at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:519) [mina-core-2.0.19.jar:?]
at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$1200(AbstractPollingIoProcessor.java:68) [mina-core-2.0.19.jar:?]
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.process(AbstractPollingIoProcessor.java:1242) [mina-core-2.0.19.jar:?]
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.process(AbstractPollingIoProcessor.java:1231) [mina-core-2.0.19.jar:?]
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:683) [mina-core-2.0.19.jar:?]
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [mina-core-2.0.19.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_152]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
2019-10-02 06:51:35,693 ERROR TimeServerHandler: Exception occured
java.io.IOException: An established connection was aborted by the software in your host machine
at sun.nio.ch.SocketDispatcher.read0(Native Method) ~[?:1.8.0_152]
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) ~[?:1.8.0_152]
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:1.8.0_152]
at sun.nio.ch.IOUtil.read(IOUtil.java:197) ~[?:1.8.0_152]
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) ~[?:1.8.0_152]
at org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:378) ~[mina-core-2.0.19.jar:?]
at org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:47) ~[mina-core-2.0.19.jar:?]
at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:519) [mina-core-2.0.19.jar:?]
at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$1200(AbstractPollingIoProcessor.java:68) [mina-core-2.0.19.jar:?]
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.process(AbstractPollingIoProcessor.java:1242) [mina-core-2.0.19.jar:?]
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.process(AbstractPollingIoProcessor.java:1231) [mina-core-2.0.19.jar:?]
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:683) [mina-core-2.0.19.jar:?]
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [mina-core-2.0.19.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_152]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
2019-10-02 06:51:35,703 WARN o.a.j.p.t.s.TCPSampler: Could not create socket for tcp://localhost:2223
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[?:1.8.0_152]
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) ~[?:1.8.0_152]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_152]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_152]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_152]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_152]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_152]
at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_152]
at org.apache.jmeter.protocol.tcp.sampler.TCPSampler.getSocket(TCPSampler.java:168) [ApacheJMeter_tcp.jar:5.2.0-SNAPSHOT]
at org.apache.jmeter.protocol.tcp.sampler.TCPSampler.sample(TCPSampler.java:381) [ApacheJMeter_tcp.jar:5.2.0-SNAPSHOT]
at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:627) [ApacheJMeter_core.jar:5.2.0-SNAPSHOT]
at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:551) [ApacheJMeter_core.jar:5.2.0-SNAPSHOT]
at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:490) [ApacheJMeter_core.jar:5.2.0-SNAPSHOT]
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257) [ApacheJMeter_core.jar:5.2.0-SNAPSHOT]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
2019-10-02 06:51:38,134 WARN o.a.j.p.t.s.TCPSampler: Unknown host for tcp://localhostXXXX:2223
java.net.UnknownHostException: localhostXXXX
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) ~[?:1.8.0_152]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_152]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_152]
at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_152]
at org.apache.jmeter.protocol.tcp.sampler.TCPSampler.getSocket(TCPSampler.java:168) [ApacheJMeter_tcp.jar:5.2.0-SNAPSHOT]
at org.apache.jmeter.protocol.tcp.sampler.TCPSampler.sample(TCPSampler.java:381) [ApacheJMeter_tcp.jar:5.2.0-SNAPSHOT]
at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:627) [ApacheJMeter_core.jar:5.2.0-SNAPSHOT]
at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:551) [ApacheJMeter_core.jar:5.2.0-SNAPSHOT]
at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:490) [ApacheJMeter_core.jar:5.2.0-SNAPSHOT]
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257) [ApacheJMeter_core.jar:5.2.0-SNAPSHOT]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
2019-10-02 06:51:38,136 ERROR o.a.j.p.t.s.TCPSampler: Could not find protocol class 'org.foo.xxx'
> Task :src:dist-check:batchTCP_TESTS FAILED
checksum-dependency elapsed time: 169668ms, configurations processed: 518
SHA-512 computation time: 908ms (goes in parallel, it might exceed wall-clock time), files processed: 29, processed: 5MiB, skipped: 3025MiB
PGP key resolution time: 8548ms (wall-clock), resolution requests: 154, download time: 13897ms (goes in parallel, it might exceed wall-clock time), keys downloaded: 92
PGP signature verification time: 7298ms (goes in parallel, it might exceed wall-clock time), files processed: 310, processed: 238MiB, skipped: 2765MiB
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':src:dist-check:batchTCP_TESTS'.
> Failures detected while testing F:\jenkins\jenkins-slave\workspace\JMeter Windows\bin\testfiles\TCP_TESTS.jmx: [unexpected output TCP_TESTS.csv, unexpected output TCP_TESTS.xml]
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.6.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 11m 49s
276 actionable tasks: 276 executed
Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Re: Build failed in Jenkins: JMeter Windows #1506
Posted by Vladimir Sitnikov <si...@gmail.com>.
>Or it may be possible to drop the message field from the output
without compromising the test.
For now, I've came up with
if (message.contains("java.net.ConnectException: Connection refused")) {
prev.setMessage("java.net.ConnectException: Connection refused");
}
That should work, and we don't really need to search for braces and colons.
Vladimir
Re: Build failed in Jenkins: JMeter Windows #1506
Posted by sebb <se...@gmail.com>.
In this case, it looks like the comparison needs to allow for
differences in error messages.
Or it may be possible to drop the message field from the output
without compromising the test.
On Wed, 2 Oct 2019 at 17:39, sebb <se...@gmail.com> wrote:
>
> On Wed, 2 Oct 2019 at 15:29, Philippe Mouawad
> <ph...@gmail.com> wrote:
> >
> > IMO, we should have integration tests as those even if we have JUnit tests
>
> Agreed.
>
> Unit tests are no substitute for integration tests.
>
> > On Wed, Oct 2, 2019 at 3:56 PM Vladimir Sitnikov <
> > sitnikov.vladimir@gmail.com> wrote:
> >
> > > -TCP Sampler-ConnectError,500,java.net.ConnectException: Connection
> > > refused,TG-TCPClientImpl-Errors 3-1,,true,1,1,1,0
> > > +TCP Sampler-ConnectError,500,java.net.ConnectException: Connection
> > > refused: connect,TG-TCPClientImpl-Errors 3-1,,true,1,1,1,0
> > >
> > > Holy cow!
> > >
> > > Do we really need that as a batch test?
> > > Should we better write a trivial JUnit test with "contains" assertion?
> > >
> > > Vladimir
> > >
> >
> >
> > --
> > Cordialement.
> > Philippe Mouawad.
Re: Build failed in Jenkins: JMeter Windows #1506
Posted by sebb <se...@gmail.com>.
On Wed, 2 Oct 2019 at 15:29, Philippe Mouawad
<ph...@gmail.com> wrote:
>
> IMO, we should have integration tests as those even if we have JUnit tests
Agreed.
Unit tests are no substitute for integration tests.
> On Wed, Oct 2, 2019 at 3:56 PM Vladimir Sitnikov <
> sitnikov.vladimir@gmail.com> wrote:
>
> > -TCP Sampler-ConnectError,500,java.net.ConnectException: Connection
> > refused,TG-TCPClientImpl-Errors 3-1,,true,1,1,1,0
> > +TCP Sampler-ConnectError,500,java.net.ConnectException: Connection
> > refused: connect,TG-TCPClientImpl-Errors 3-1,,true,1,1,1,0
> >
> > Holy cow!
> >
> > Do we really need that as a batch test?
> > Should we better write a trivial JUnit test with "contains" assertion?
> >
> > Vladimir
> >
>
>
> --
> Cordialement.
> Philippe Mouawad.
Re: Build failed in Jenkins: JMeter Windows #1506
Posted by Philippe Mouawad <ph...@gmail.com>.
IMO, we should have integration tests as those even if we have JUnit tests
On Wed, Oct 2, 2019 at 3:56 PM Vladimir Sitnikov <
sitnikov.vladimir@gmail.com> wrote:
> -TCP Sampler-ConnectError,500,java.net.ConnectException: Connection
> refused,TG-TCPClientImpl-Errors 3-1,,true,1,1,1,0
> +TCP Sampler-ConnectError,500,java.net.ConnectException: Connection
> refused: connect,TG-TCPClientImpl-Errors 3-1,,true,1,1,1,0
>
> Holy cow!
>
> Do we really need that as a batch test?
> Should we better write a trivial JUnit test with "contains" assertion?
>
> Vladimir
>
--
Cordialement.
Philippe Mouawad.
Re: Build failed in Jenkins: JMeter Windows #1506
Posted by Vladimir Sitnikov <si...@gmail.com>.
-TCP Sampler-ConnectError,500,java.net.ConnectException: Connection
refused,TG-TCPClientImpl-Errors 3-1,,true,1,1,1,0
+TCP Sampler-ConnectError,500,java.net.ConnectException: Connection
refused: connect,TG-TCPClientImpl-Errors 3-1,,true,1,1,1,0
Holy cow!
Do we really need that as a batch test?
Should we better write a trivial JUnit test with "contains" assertion?
Vladimir
Jenkins build is back to normal : JMeter Windows #1507
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/JMeter%20Windows/1507/display/redirect?page=changes>