See
<https://builds.apache.org/job/JMeter%20Windows/1323/display/redirect?page=changes>
Changes:
[fschumacher] Add License header to new test class
Relates to #400 on github
Bugzilla Id: 62785
[fschumacher] Make test work in both IDE and ant setting
The test used the setting of CWD, which is different when run from an IDE or
from ant.
Now it uses JMeterHome which is the same for both environments.
And while we are at the test,
* we try to make sure, that we don't disturb other tests with the manipulated
base dir
* use more descriptive messages in the case of a failure
Relates to #400 on github
Bugzilla Id: 62785
------------------------------------------
[...truncated 143.40 KB...]
[java] os.name=Windows Server 2012 R2
[java] os.version=6.3
[java] JCE max key length = 128
[java] +++++++++++
[java] java.awt.headless=true
[java] java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
[java] ------------
[java] Searching junit tests in : build/test
[java] o.a.j.junit.JMeterTest INFO: JMeterGUIComponent: skipping some
tests org.apache.jmeter.testbeans.gui.TestBeanGUI
[java] o.a.j.junit.JMeterTest Error creating
org.apache.jmeter.SplashScreen java.awt.HeadlessException
[java] o.a.j.junit.JMeterTest Error creating
org.apache.jmeter.config.gui.RowDetailDialog java.awt.HeadlessException
[java] o.a.j.junit.JMeterTest Error creating
org.apache.jmeter.functions.gui.FunctionHelper java.awt.HeadlessException
[java] o.a.j.junit.JMeterTest WARN: java.io.Serializable:
NoSuchMethodException org.apache.jmeter.gui.GlobalUndoableEdit, missing empty
Constructor or Constructor with Object parameter
[java] o.a.j.junit.JMeterTest Error creating
org.apache.jmeter.gui.MainFrame java.awt.HeadlessException
[java] o.a.j.junit.JMeterTest Error creating
org.apache.jmeter.gui.SavePropertyDialog java.awt.HeadlessException
[java] o.a.j.junit.JMeterTest Error creating
org.apache.jmeter.gui.action.SearchTreeDialog java.awt.HeadlessException
[java] o.a.j.junit.JMeterTest Error creating
org.apache.jmeter.gui.action.SelectTemplatesDialog java.awt.HeadlessException
[java] o.a.j.junit.JMeterTest Error creating
org.apache.jmeter.gui.util.EscapeDialog java.awt.HeadlessException
[java] o.a.j.junit.JMeterTest Error creating
org.apache.jmeter.gui.util.JSyntaxTextArea java.awt.HeadlessException
[java] o.a.j.junit.JMeterTest Error creating
org.apache.jmeter.protocol.http.proxy.gui.RecorderDialog
java.awt.HeadlessException
[java] o.a.j.junit.JMeterTest WARN: java.io.Serializable:
NoSuchMethodException org.apache.jmeter.rmi.RMIServerSocketFactoryImpl,
missing empty Constructor or Constructor with Object parameter
[java] o.a.j.junit.JMeterTest WARN: java.io.Serializable:
NoSuchMethodException org.apache.jmeter.rmi.SSLRMIServerSocketFactory, missing
empty Constructor or Constructor with Object parameter
[java] java.rmi.server.hostname=null
[java] jenkins-win2012-1/10.20.2.147
[java] isSiteLocalAddress:true
[java] isAnyLocalAddress:false
[java] isLinkLocalAddress:false
[java] isLoopbackAddress:false
[java] isMulticastAddress:false
[java] localhost/127.0.0.1
[java] isSiteLocalAddress:false
[java] isAnyLocalAddress:false
[java] isLinkLocalAddress:false
[java] isLoopbackAddress:true
[java] isMulticastAddress:false
[java] ====================
[java] jenkins-win2012-1/10.20.2.147
[java] isSiteLocalAddress:true
[java] isAnyLocalAddress:false
[java] isLinkLocalAddress:false
[java] isLoopbackAddress:false
[java] isMulticastAddress:false
[java] ====================
[java] jenkins-win2012-1/fe80:0:0:0:581f:7c50:9fc8:f309%14
[java] isSiteLocalAddress:false
[java] isAnyLocalAddress:false
[java] isLinkLocalAddress:true
[java] isLoopbackAddress:false
[java] isMulticastAddress:false
[java] Interfaces: {name:lo (Software Loopback Interface 1) =>
[/127.0.0.1/8 [/127.255.255.255], /0:0:0:0:0:0:0:1/128 [null]], name:net0 (WAN
Miniport (L2TP)) => [], name:net1 (WAN Miniport (SSTP)) => [], name:net2 (WAN
Miniport (IKEv2)) => [], name:net3 (WAN Miniport (PPTP)) => [], name:ppp0 (WAN
Miniport (PPPOE)) => [], name:eth0 (WAN Miniport (IP)) => [], name:eth1 (WAN
Miniport (IPv6)) => [], name:eth2 (WAN Miniport (Network Monitor)) => [],
name:eth3 (Microsoft Kernel Debug Network Adapter) => [], name:ppp1 (RAS Async
Adapter) => [], name:net4 (Microsoft ISATAP Adapter) =>
[/fe80:0:0:0:0:5efe:a14:293%net4/128 [null]], name:eth4 (Microsoft Hyper-V
Network Switch Default Miniport) => [], name:eth5 (Intel(R) PRO/1000 MT Network
Connection) => [/10.20.2.147/24 [/10.20.2.255],
/fe80:0:0:0:581f:7c50:9fc8:f309%eth5/64 [null]], name:eth6 (Intel(R) PRO/1000
MT Network Connection-WFP Native MAC Layer LightWeight Filter-0000) => [],
name:eth7 (Intel(R) PRO/1000 MT Network Connection-QoS Packet Scheduler-0000)
=> [], name:eth8 (Intel(R) PRO/1000 MT Network Connection-WFP 802.3 MAC Layer
LightWeight Filter-0000) => [], name:eth9 (WAN Miniport (IP)-WFP Native MAC
Layer LightWeight Filter-0000) => [], name:eth10 (WAN Miniport (IP)-QoS Packet
Scheduler-0000) => [], name:eth11 (WAN Miniport (IPv6)-WFP Native MAC Layer
LightWeight Filter-0000) => [], name:eth12 (WAN Miniport (IPv6)-QoS Packet
Scheduler-0000) => [], name:eth13 (WAN Miniport (Network Monitor)-WFP Native
MAC Layer LightWeight Filter-0000) => [], name:eth14 (WAN Miniport (Network
Monitor)-QoS Packet Scheduler-0000) => []}
[java] java.rmi.server.hostname=null
[java]
.........................................................................................................................................................I.......................................................................................................................................................................................................................I.I....................................................................................................................................................................................................................................................................................................I.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Ignoring
missing junit_failure_default_code=0001 in
org/apache/jmeter/resources/messages_fr.properties
[java] Ignoring missing aggregate_report_90=90% in
org/apache/jmeter/resources/messages_fr.properties
[java] Ignoring missing junit_error_default_code=9999 in
org/apache/jmeter/resources/messages_fr.properties
[java] Ignoring missing junit_success_default_code=1000 in
org/apache/jmeter/resources/messages_fr.properties
[java]
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................I.I.................................................................................................................
[java] Time: 72.498
[java]
[java] OK (3308 tests)
[java]
[java]
..................................................................................
[java] Time: 5.557
[java]
[java] OK (82 tests)
[java]
batchtest:
[echo] Starting BatchTestLocal with file BatchTestLocal.jmx using -X
-Jdummy=dummy
[jmeter] SLF4J: Class path contains multiple SLF4J bindings.
[jmeter] SLF4J: Found binding in
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/log4j-slf4j-impl-2.11.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[jmeter] SLF4J: Found binding in
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/opt/activemq-all-5.15.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[jmeter] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
[jmeter] SLF4J: Actual binding is of type
[org.apache.logging.slf4j.Log4jLoggerFactory]
[jmeter] Creating summariser <summary>
[jmeter] Created the tree successfully using testfiles/BatchTestLocal.jmx
[jmeter] Starting the test @ Sat Mar 02 19:23:00 UTC 2019 (1551554580819)
[jmeter] Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump
message on port 4445
[jmeter] summary + 1 in 00:00:00 = 3.1/s Avg: 214 Min: 214 Max:
214 Err: 0 (0.00%) Active: 1 Started: 1 Finished: 0
[jmeter] summary + 132 in 00:00:49 = 2.7/s Avg: 117 Min: 1 Max:
373 Err: 16 (12.12%) Active: 0 Started: 1 Finished: 1
[jmeter] summary = 133 in 00:00:49 = 2.7/s Avg: 118 Min: 1 Max:
373 Err: 16 (12.03%)
[jmeter] Tidying up ... @ Sat Mar 02 19:23:51 UTC 2019 (1551554631435)
[jmeter] ... end of run
[echo] BatchTestLocal output files compared OK
batchtestserver:
[server] SLF4J: Class path contains multiple SLF4J bindings.
[server] SLF4J: Found binding in
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/log4j-slf4j-impl-2.11.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[server] SLF4J: Found binding in
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/opt/activemq-all-5.15.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[server] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
[server] SLF4J: Actual binding is of type
[org.apache.logging.slf4j.Log4jLoggerFactory]
batchtest:
[echo] Starting BatchTestLocal with file BatchTestLocal.jmx using
-Rjenkins-win2012-1:2892 -Jdummy=dummy
[client] SLF4J: Class path contains multiple SLF4J bindings.
[client] SLF4J: Found binding in
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/log4j-slf4j-impl-2.11.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[client] SLF4J: Found binding in
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/opt/activemq-all-5.15.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[client] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
[client] SLF4J: Actual binding is of type
[org.apache.logging.slf4j.Log4jLoggerFactory]
[server] Created remote object: UnicastServerRef2 [liveRef:
[endpoint:[10.20.2.147:59136,SSLRMIServerSocketFactory(host=jenkins-win2012-1/10.20.2.147,
keyStoreLocation=rmi_keystore.jks, type=JKS,
trustStoreLocation=rmi_keystore.jks, type=JKS,
alias=rmi),SSLRMIClientSocketFactory(keyStoreLocation=rmi_keystore.jks,
type=JKS, trustStoreLocation=rmi_keystore.jks, type=JKS,
alias=rmi)](local),objID:[2ac72ea:1693fdce6dd:-7fff, 981737444166453155]]]
[client] Creating summariser <summary>
[client] Created the tree successfully using testfiles/BatchTestLocal.jmx
[client] Configuring remote engine: jenkins-win2012-1:2892
[client] Starting remote engines
[client] Starting the test @ Sat Mar 02 19:24:01 UTC 2019 (1551554641855)
[client] Remote engines have been started
[client] Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump
message on port 4445
[server] Starting the test on host jenkins-win2012-1:2892 @ Sat Mar 02
19:24:07 UTC 2019 (1551554647781)
[client] summary + 120 in 00:00:51 = 2.4/s Avg: 123 Min: 2 Max:
254 Err: 16 (13.33%) Active: 1 Started: 6 Finished: 5
[client] summary + 13 in 00:00:02 = 7.2/s Avg: 77 Min: 1 Max:
208 Err: 0 (0.00%) Active: 0 Started: 11 Finished: 11
[client] summary = 133 in 00:00:53 = 2.5/s Avg: 119 Min: 1 Max:
254 Err: 16 (12.03%)
[client] Tidying up remote @ Sat Mar 02 19:25:01 UTC 2019 (1551554701962)
[server] Finished the test on host jenkins-win2012-1:2892 @ Sat Mar 02
19:25:01 UTC 2019 (1551554701962) - exit requested.
[client] ... end of run
[echo] BatchTestLocal output files compared OK
batch_scripts:
batchtest:
[echo] Starting BUG_62847 with file BUG_62847.jmx using -X -Jdummy=dummy
[jmeter] SLF4J: Class path contains multiple SLF4J bindings.
[jmeter] SLF4J: Found binding in
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/log4j-slf4j-impl-2.11.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[jmeter] SLF4J: Found binding in
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/opt/activemq-all-5.15.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[jmeter] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
[jmeter] SLF4J: Actual binding is of type
[org.apache.logging.slf4j.Log4jLoggerFactory]
[jmeter] Creating summariser <summary>
[jmeter] Created the tree successfully using testfiles/BUG_62847.jmx
[jmeter] Starting the test @ Sat Mar 02 19:25:12 UTC 2019 (1551554712881)
[jmeter] Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump
message on port 4445
[jmeter] summary = 6 in 00:00:01 = 6.5/s Avg: 1 Min: 0 Max:
6 Err: 0 (0.00%)
[jmeter] Tidying up ... @ Sat Mar 02 19:25:14 UTC 2019 (1551554714289)
[jmeter] ... end of run
[echo] BUG_62847 output files compared OK
batchtest:
[echo] Starting TestResultStatusAction with file
TestResultStatusAction.jmx using -X -Jdummy=dummy
[jmeter] SLF4J: Class path contains multiple SLF4J bindings.
[jmeter] SLF4J: Found binding in
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/log4j-slf4j-impl-2.11.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[jmeter] SLF4J: Found binding in
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/opt/activemq-all-5.15.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[jmeter] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
[jmeter] SLF4J: Actual binding is of type
[org.apache.logging.slf4j.Log4jLoggerFactory]
[jmeter] Creating summariser <summary>
[jmeter] Created the tree successfully using
testfiles/TestResultStatusAction.jmx
[jmeter] Starting the test @ Sat Mar 02 19:25:19 UTC 2019 (1551554719301)
[jmeter] Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump
message on port 4445
[jmeter] summary = 135 in 00:00:02 = 89.3/s Avg: 1 Min: 0 Max:
116 Err: 18 (13.33%)
[jmeter] Tidying up ... @ Sat Mar 02 19:25:23 UTC 2019 (1551554723167)
[jmeter] ... end of run
[echo] TestResultStatusAction output files compared OK
batchtest:
[echo] Starting TestRedirectionPolicies with file
TestRedirectionPolicies.jmx using -X -Jdummy=dummy
[jmeter] SLF4J: Class path contains multiple SLF4J bindings.
[jmeter] SLF4J: Found binding in
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/log4j-slf4j-impl-2.11.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[jmeter] SLF4J: Found binding in
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/opt/activemq-all-5.15.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[jmeter] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
[jmeter] SLF4J: Actual binding is of type
[org.apache.logging.slf4j.Log4jLoggerFactory]
[jmeter] Creating summariser <summary>
[jmeter] Created the tree successfully using
testfiles/TestRedirectionPolicies.jmx
[jmeter] Starting the test @ Sat Mar 02 19:25:28 UTC 2019 (1551554728240)
[jmeter] Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump
message on port 4445
[jmeter] summary + 1 in 00:00:02 = 0.5/s Avg: 307 Min: 307 Max:
307 Err: 1 (100.00%) Active: 1 Started: 1 Finished: 0
[jmeter] summary + 5 in 00:00:39 = 0.1/s Avg: 7771 Min: 82 Max:
32489 Err: 1 (20.00%) Active: 0 Started: 2 Finished: 2
[jmeter] summary = 6 in 00:00:41 = 0.1/s Avg: 6527 Min: 82 Max:
32489 Err: 2 (33.33%)
[jmeter] Tidying up ... @ Sat Mar 02 19:26:11 UTC 2019 (1551554771622)
[jmeter] ... end of run
Target 'batchtest' failed with message 'CSV Files are not identical.
<https://builds.apache.org/job/JMeter%20Windows/ws/trunk\bin\testfiles\TestRedirectionPolicies.csv>
HR_AutoRedirect,200,OK,TG1 1-1,text,true
HR_NoAutoRedirect,302,FOUND,TG1 1-1,text,true
HR_FollowRedirect,200,OK,TG1 1-1,text,true
HR_NoAutoRedirect,302,FOUND,TG2 2-1,text,true
HR_FollowRedirect,200,OK,TG2 2-1,text,true
HR_AutoRedirect,200,OK,TG2 2-1,text,true
<https://builds.apache.org/job/JMeter%20Windows/ws/trunk\bin\TestRedirectionPolicies.csv>
HR_AutoRedirect,503,Service Unavailable: Back-end server is at
capacity,TG1 1-1,,false
HR_NoAutoRedirect,503,Service Unavailable: Back-end server is at capacity,TG1
1-1,,false
HR_FollowRedirect,200,OK,TG1 1-1,text,true
HR_NoAutoRedirect,302,FOUND,TG2 2-1,text,true
HR_FollowRedirect,200,OK,TG2 2-1,text,true
HR_AutoRedirect,200,OK,TG2 2-1,text,true'.
Target 'batch_scripts' failed with message 'The following error occurred while
executing this line:
<https://builds.apache.org/job/JMeter%20Windows/ws/trunk\build.xml>:2882: CSV
Files are not identical.
<https://builds.apache.org/job/JMeter%20Windows/ws/trunk\bin\testfiles\TestRedirectionPolicies.csv>
HR_AutoRedirect,200,OK,TG1 1-1,text,true
HR_NoAutoRedirect,302,FOUND,TG1 1-1,text,true
HR_FollowRedirect,200,OK,TG1 1-1,text,true
HR_NoAutoRedirect,302,FOUND,TG2 2-1,text,true
HR_FollowRedirect,200,OK,TG2 2-1,text,true
HR_AutoRedirect,200,OK,TG2 2-1,text,true
<https://builds.apache.org/job/JMeter%20Windows/ws/trunk\bin\TestRedirectionPolicies.csv>
HR_AutoRedirect,503,Service Unavailable: Back-end server is at
capacity,TG1 1-1,,false
HR_NoAutoRedirect,503,Service Unavailable: Back-end server is at capacity,TG1
1-1,,false
HR_FollowRedirect,200,OK,TG1 1-1,text,true
HR_NoAutoRedirect,302,FOUND,TG2 2-1,text,true
HR_FollowRedirect,200,OK,TG2 2-1,text,true
HR_AutoRedirect,200,OK,TG2 2-1,text,true'.
Cannot execute '_allbatchtests' - 'batch_scripts' failed or was not executed.
Cannot execute 'test' - '_allbatchtests' failed or was not executed.
download_checkstyle:
_process_checkstyle_jars:
_check_exists:
_check_jarfile:
[echo] Checking checkstyle-8.8-all.jar
[echo] Deleting checkstyle-8.8-all.jar (excluding checkstyle-8.8-all.jar)
setproxy:
_get_jarfile:
setproxy:
_get_zipfile:
checkstyle:
_process_checkstyle_jars:
_check_exists:
_check_jarfile:
[checkstyle] Running Checkstyle 8.8 on 1750 files
BUILD FAILED
<https://builds.apache.org/job/JMeter%20Windows/ws/trunk\build.xml>:2939: The
following error occurred while executing this line:
<https://builds.apache.org/job/JMeter%20Windows/ws/trunk\build.xml>:2882: CSV
Files are not identical.
<https://builds.apache.org/job/JMeter%20Windows/ws/trunk\bin\testfiles\TestRedirectionPolicies.csv>
HR_AutoRedirect,200,OK,TG1 1-1,text,true
HR_NoAutoRedirect,302,FOUND,TG1 1-1,text,true
HR_FollowRedirect,200,OK,TG1 1-1,text,true
HR_NoAutoRedirect,302,FOUND,TG2 2-1,text,true
HR_FollowRedirect,200,OK,TG2 2-1,text,true
HR_AutoRedirect,200,OK,TG2 2-1,text,true
<https://builds.apache.org/job/JMeter%20Windows/ws/trunk\bin\TestRedirectionPolicies.csv>
HR_AutoRedirect,503,Service Unavailable: Back-end server is at
capacity,TG1 1-1,,false
HR_NoAutoRedirect,503,Service Unavailable: Back-end server is at capacity,TG1
1-1,,false
HR_FollowRedirect,200,OK,TG1 1-1,text,true
HR_NoAutoRedirect,302,FOUND,TG2 2-1,text,true
HR_FollowRedirect,200,OK,TG2 2-1,text,true
HR_AutoRedirect,200,OK,TG2 2-1,text,true
Total time: 6 minutes 35 seconds
Build step 'Invoke Ant' marked build as failure