See
<https://builds.apache.org/job/JMeter-trunk/6672/display/redirect?page=changes>
Changes:
[fschumacher] Use StringUtils
Part of #356 on Github. Based on contribution by Graham Russell (graham at
ham1.co.uk)
[fschumacher] Extract logic in smaller methods and local variables
Part of #356 on Github. Based on contribution by Graham Russell (graham at
ham1.co.uk)
[fschumacher] No need to cast here.
[fschumacher] Use isEmpty instead of comparing to size
Part of #356 on Github. Based on contribution by Graham Russell (graham at
ham1.co.uk)
[fschumacher] No need to cast here
Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)
[fschumacher] Return values directly
Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)
[fschumacher] Remove useless assignment. Part of #356
[fschumacher] Use string concatenation as it is easier to read and results in
the same bytecode
Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)
[fschumacher] Remove useless assignment
Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)
[fschumacher] Spacepolice
[fschumacher] Convert to lambda expression
Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)
[fschumacher] Return a singleton list instead of allocating a new array and
wrapping that
Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)
[fschumacher] No need for explicit type here
Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)
[fschumacher] Use char instead of string to search for
Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)
[fschumacher] Spacepolice
[fschumacher] Join if statements
Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)
[fschumacher] Name part of the logic by assigning it to a variable
Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)
[fschumacher] Use System.arraycopy
Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)
[fschumacher] No need to cast here
Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)
[fschumacher] Simplify logic (re-arrange it)
Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)
[fschumacher] Use lambda instead of subclassing Thread.
Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)
[fschumacher] Use Deque instead of stack
Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)
[fschumacher] Use java 8 stream features to collect data
Part of #356 on Github. Based on contribution by Graham Russell (graham at
ham1.co.uk)
[fschumacher] Spacepolice
Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)
[fschumacher] Reduce scope of variables
Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)
[fschumacher] Spacepolice
Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)
[fschumacher] Extract lengthy if statement in private method.
Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)
------------------------------------------
[...truncated 154.80 KB...]
[javadoc] Loading source files for package
org.apache.jmeter.protocol.mongodb.sampler...
[javadoc] Constructing Javadoc information...
[javadoc] Standard Doclet version 1.8.0_152
[javadoc] Building tree for all the packages and classes...
[javadoc] Building index for all the packages and classes...
[javadoc] Building index for all classes...
compile-tests:
[javac] Compiling 188 source files to
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/build/test>
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[groovyc] Compiling 19 source files to
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/build/test>
[groovyc]
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/test/src/org/apache/jmeter/assertions/MD5HexAssertionSpec.groovy>
[groovyc]
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/test/src/org/apache/jmeter/control/RandomOrderControllerSpec.groovy>
[groovyc]
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/test/src/org/apache/jmeter/control/RunTimeSpec.groovy>
[groovyc]
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/test/src/org/apache/jmeter/control/ThroughputControllerSpec.groovy>
[groovyc]
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/test/src/org/apache/jmeter/engine/util/PackageSpec.groovy>
[groovyc]
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/test/src/org/apache/jmeter/extractor/BoundaryExtractorSpec.groovy>
[groovyc]
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/test/src/org/apache/jmeter/functions/ChangeCaseSpec.groovy>
[groovyc]
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/test/src/org/apache/jmeter/gui/util/MenuFactorySpec.groovy>
[groovyc]
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/test/src/org/apache/jmeter/junit/spock/JMeterSpec.groovy>
[groovyc]
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/test/src/org/apache/jmeter/protocol/http/util/HTTPUtilsSpec.groovy>
[groovyc]
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/test/src/org/apache/jmeter/protocol/jdbc/sampler/JDBCSamplerSpec.groovy>
[groovyc]
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/test/src/org/apache/jmeter/report/core/SampleMetadataParserSpec.groovy>
[groovyc]
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/test/src/org/apache/jmeter/report/processor/ApdexSummaryConsumerSpec.groovy>
[groovyc]
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/test/src/org/apache/jmeter/report/processor/ListResultDataSpec.groovy>
[groovyc]
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/test/src/org/apache/jmeter/report/processor/Top5ErrorsBySamplerConsumerSpec.groovy>
[groovyc]
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/test/src/org/apache/jmeter/report/processor/Top5ErrorsSummaryDataSpec.groovy>
[groovyc]
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/test/src/org/apache/jmeter/services/FileServerSpec.groovy>
[groovyc]
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/test/src/org/apache/jmeter/timers/UniformRandomTimerSpec.groovy>
[groovyc]
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/test/src/org/apache/jorphan/io/TextFileSpec.groovy>
_test:
[echo]
[echo] gump.run = false
[echo] java.awt.headless = true
[echo] test.headless = true
[echo] user.dir = <https://builds.apache.org/job/JMeter-trunk/ws/trunk>
[echo] basedir = <https://builds.apache.org/job/JMeter-trunk/ws/trunk>
[echo] test dir = build/test
[echo] test dir gump = build/test
[echo] testsaveservice.saveout = ${testsaveservice.saveout}
[echo] test.encoding = UTF-8
[echo]
[java] SLF4J: Class path contains multiple SLF4J bindings.
[java] SLF4J: Found binding in
[jar:<https://builds.apache.org/job/JMeter-trunk/ws/trunk/lib/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]>
[java] SLF4J: Found binding in
[jar:<https://builds.apache.org/job/JMeter-trunk/ws/trunk/lib/opt/activemq-all-5.15.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]>
[java] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
[java] SLF4J: Actual binding is of type
[org.apache.logging.slf4j.Log4jLoggerFactory]
[java] Setting JMeterHome:
<https://builds.apache.org/job/JMeter-trunk/ws/trunk>
[java] Using initializeProperties() from org.apache.jmeter.util.JMeterUtils
[java] Setting up initial properties using:
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/bin/jmeter.properties>
[java] Initializing Properties:
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/bin/jmeter.properties>
[java] JMeterVersion=r1824044
[java] java.version=1.8.0_152
[java] java.home=/usr/local/asfpackages/java/jdk1.8.0_152/jre
[java] file.encoding=UTF-8
[java] default encoding=UTF-8
[java] user.dir=<https://builds.apache.org/job/JMeter-trunk/ws/trunk/bin>
[java] Locale=en_US
[java] os.name=Linux
[java] os.version=4.4.0-98-generic
[java] JCE max key length = 128
[java] +++++++++++
[java] java.awt.headless=true
[java] java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
[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 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] asf935.gq1.ygridcore.net/67.195.81.176
[java] isSiteLocalAddress:false
[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] asf935.gq1.ygridcore.net/67.195.81.176
[java] isSiteLocalAddress:false
[java] isAnyLocalAddress:false
[java] isLinkLocalAddress:false
[java] isLoopbackAddress:false
[java] isMulticastAddress:false
[java] Interfaces: {name:veth9b1d235 (veth9b1d235) =>
[/fe80:0:0:0:10ef:1bff:fef2:687e%veth9b1d235/64 [null]], name:docker0 (docker0)
=> [/fe80:0:0:0:42:68ff:feb1:41e6%docker0/64 [null], /172.17.0.1/16
[/0.0.0.0]], name:enp5s0f0 (enp5s0f0) =>
[/fe80:0:0:0:28c:faff:fe5b:3bc4%enp5s0f0/64 [null], /67.195.81.176/26
[/67.195.81.191]], name:lo (lo) => [/0:0:0:0:0:0:0:1%lo/128 [null],
/127.0.0.1/8 [null]]}
[java] java.rmi.server.hostname=null
[java] Security framework of XStream not initialized, XStream is probably
vulnerable.
[java] Security framework of XStream not initialized, XStream is probably
vulnerable.
[java] Security framework of XStream not initialized, XStream is probably
vulnerable.
[java] Security framework of XStream not initialized, XStream is probably
vulnerable.
[java]
........................................................................................................................................................I.........................................................E...........E.E.E.E.E..............E......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................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: 29.921
[java] There were 7 failures:
[java] 1) test parsing StringProperty 'just some text' == 'just some
text'(org.apache.jmeter.engine.util.PackageSpec)
[java] Condition not satisfied:
[java]
[java] newProp.getClass().getName() ==
'org.apache.jmeter.testelement.property.StringProperty'
[java] | | | |
[java] | | | false
[java] | | | 7 differences (87% similarity)
[java] | | |
org.apache.jmeter.testelement.property.(Func)t(-)i(o)n(-)Property
[java] | | |
org.apache.jmeter.testelement.property.(S---)t(r)i(-)n(g)Property
[java] | |
org.apache.jmeter.testelement.property.FunctionProperty
[java] | class
org.apache.jmeter.testelement.property.FunctionProperty
[java] just some text
[java]
[java] at org.apache.jmeter.engine.util.PackageSpec.test parsing
StringProperty '#propertyValue' == '#stringValue'(PackageSpec.groovy:74)
[java] 2) Backslashes are removed before escaped dollar, comma and
backslash with FunctionProperty[0](org.apache.jmeter.engine.util.PackageSpec)
[java] Condition not satisfied:
[java]
[java] newProp.getClass().getName() ==
'org.apache.jmeter.testelement.property.' + className
[java] | | | |
| |
[java] $a | | |
| StringProperty
[java] | | |
org.apache.jmeter.testelement.property.StringProperty
[java] | | false
[java] | | 7 differences (87% similarity)
[java] | |
org.apache.jmeter.testelement.property.(Func)t(-)i(o)n(-)Property
[java] | |
org.apache.jmeter.testelement.property.(S---)t(r)i(-)n(g)Property
[java] |
org.apache.jmeter.testelement.property.FunctionProperty
[java] class
org.apache.jmeter.testelement.property.FunctionProperty
[java]
[java] at org.apache.jmeter.engine.util.PackageSpec.Backslashes are
removed before escaped dollar, comma and backslash with
FunctionProperty(PackageSpec.groovy:119)
[java] 3) Backslashes are removed before escaped dollar, comma and
backslash with FunctionProperty[1](org.apache.jmeter.engine.util.PackageSpec)
[java] Condition not satisfied:
[java]
[java] newProp.getClass().getName() ==
'org.apache.jmeter.testelement.property.' + className
[java] | | | |
| |
[java] , | | |
| StringProperty
[java] | | |
org.apache.jmeter.testelement.property.StringProperty
[java] | | false
[java] | | 7 differences (87% similarity)
[java] | |
org.apache.jmeter.testelement.property.(Func)t(-)i(o)n(-)Property
[java] | |
org.apache.jmeter.testelement.property.(S---)t(r)i(-)n(g)Property
[java] |
org.apache.jmeter.testelement.property.FunctionProperty
[java] class
org.apache.jmeter.testelement.property.FunctionProperty
[java]
[java] at org.apache.jmeter.engine.util.PackageSpec.Backslashes are
removed before escaped dollar, comma and backslash with
FunctionProperty(PackageSpec.groovy:119)
[java] 4) Backslashes are removed before escaped dollar, comma and
backslash with FunctionProperty[2](org.apache.jmeter.engine.util.PackageSpec)
[java] Condition not satisfied:
[java]
[java] newProp.getClass().getName() ==
'org.apache.jmeter.testelement.property.' + className
[java] | | | |
| |
[java] \ | | |
| StringProperty
[java] | | |
org.apache.jmeter.testelement.property.StringProperty
[java] | | false
[java] | | 7 differences (87% similarity)
[java] | |
org.apache.jmeter.testelement.property.(Func)t(-)i(o)n(-)Property
[java] | |
org.apache.jmeter.testelement.property.(S---)t(r)i(-)n(g)Property
[java] |
org.apache.jmeter.testelement.property.FunctionProperty
[java] class
org.apache.jmeter.testelement.property.FunctionProperty
[java]
[java] at org.apache.jmeter.engine.util.PackageSpec.Backslashes are
removed before escaped dollar, comma and backslash with
FunctionProperty(PackageSpec.groovy:119)
[java] 5) Backslashes are removed before escaped dollar, comma and
backslash with FunctionProperty[3](org.apache.jmeter.engine.util.PackageSpec)
[java] Condition not satisfied:
[java]
[java] newProp.getClass().getName() ==
'org.apache.jmeter.testelement.property.' + className
[java] | | | |
| |
[java] \ | | |
| StringProperty
[java] | | |
org.apache.jmeter.testelement.property.StringProperty
[java] | | false
[java] | | 7 differences (87% similarity)
[java] | |
org.apache.jmeter.testelement.property.(Func)t(-)i(o)n(-)Property
[java] | |
org.apache.jmeter.testelement.property.(S---)t(r)i(-)n(g)Property
[java] |
org.apache.jmeter.testelement.property.FunctionProperty
[java] class
org.apache.jmeter.testelement.property.FunctionProperty
[java]
[java] at org.apache.jmeter.engine.util.PackageSpec.Backslashes are
removed before escaped dollar, comma and backslash with
FunctionProperty(PackageSpec.groovy:119)
[java] 6) Backslashes are removed before escaped dollar, comma and
backslash with FunctionProperty[4](org.apache.jmeter.engine.util.PackageSpec)
[java] Condition not satisfied:
[java]
[java] newProp.getClass().getName() ==
'org.apache.jmeter.testelement.property.' + className
[java] | | | |
| |
[java] \x | | |
| StringProperty
[java] | | |
org.apache.jmeter.testelement.property.StringProperty
[java] | | false
[java] | | 7 differences (87% similarity)
[java] | |
org.apache.jmeter.testelement.property.(Func)t(-)i(o)n(-)Property
[java] | |
org.apache.jmeter.testelement.property.(S---)t(r)i(-)n(g)Property
[java] |
org.apache.jmeter.testelement.property.FunctionProperty
[java] class
org.apache.jmeter.testelement.property.FunctionProperty
[java]
[java] at org.apache.jmeter.engine.util.PackageSpec.Backslashes are
removed before escaped dollar, comma and backslash with
FunctionProperty(PackageSpec.groovy:119)
[java] 7)
testReplaceStringWithBackslash(org.apache.jmeter.engine.util.TestValueReplacer)
[java] org.junit.ComparisonFailure: expected:<[\${server} \ \\ \\\ \], >
but was:<[${server} \ \ \\ ], >
[java] at org.junit.Assert.assertEquals(Assert.java:115)
[java] at org.junit.Assert.assertEquals(Assert.java:144)
[java] at
org.apache.jmeter.engine.util.TestValueReplacer.testReplaceStringWithBackslash(TestValueReplacer.java:161)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:498)
[java] at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
[java] at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[java] at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
[java] at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[java] at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
[java] at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
[java] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
[java] at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
[java] at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
[java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[java] at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[java] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[java] at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[java] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[java] at java.lang.Thread.run(Thread.java:748)
[java]
[java] FAILURES!!!
[java] Tests run: 3215, Failures: 7
[java]
[java] ................................................
[java] Time: 4.449
[java]
[java] OK (48 tests)
[java]
BUILD FAILED
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/build.xml>:3061: Java
returned: 1
Total time: 2 minutes 31 seconds
Build step 'Invoke Ant' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Archiving artifacts
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: Test reports were found
but none of them are new. Did leafNodes run?
For example,
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/reports/TEST-org.apache.commons.cli.avalon.ClutilTestCase.xml>
is 20 hr old