See
<https://builds.apache.org/job/JMeter-trunk/7101/display/redirect?page=changes>
Changes:
[pmouawad] Updated to latest Spock-core v1.0 -> v1.2
Fix test failure
[pmouawad] Updated to latest Spock-core v1.0 -> v1.2
Contributed by Graham Russell
This closes #444
------------------------------------------
[...truncated 280.85 KB...]
[java] java.lang.IllegalStateException: Did not find call #0 on stack.
Invalid call of record method?
[java] at org.apache.jmeter.services.FileServerSpec.reading lines
loops to start once last line is read(FileServerSpec.groovy:86)
[java] 90) closing reserved file after reading
resets(org.apache.jmeter.services.FileServerSpec)
[java] java.lang.IllegalStateException: Did not find call #0 on stack.
Invalid call of record method?
[java] at org.apache.jmeter.services.FileServerSpec.closing reserved
file after reading resets(FileServerSpec.groovy:106)
[java] 91) closeFiles() prevents reading of reserved
file(org.apache.jmeter.services.FileServerSpec)
[java] java.lang.IllegalStateException: Did not find call #0 on stack.
Invalid call of record method?
[java] at org.apache.jmeter.services.FileServerSpec.closeFiles()
prevents reading of reserved file(FileServerSpec.groovy:119)
[java] 92) baseDir is the
defaultBasedir(org.apache.jmeter.services.FileServerSpec)
[java] java.lang.IllegalStateException: Did not find call #0 on stack.
Invalid call of record method?
[java] at org.apache.jmeter.services.FileServerSpec.baseDir is the
defaultBasedir(FileServerSpec.groovy:125)
[java] 93) setBaseDir doesn't error when no files are
open(org.apache.jmeter.services.FileServerSpec)
[java] java.lang.IllegalStateException: Did not find call #0 on stack.
Invalid call of record method?
[java] at org.apache.jmeter.services.FileServerSpec.setBaseDir doesn't
error when no files are open(FileServerSpec.groovy:132)
[java] 94) setting base to #file gives getBaseDirRelative ==
#expectedBaseDirRelative(org.apache.jmeter.services.FileServerSpec)
[java] java.lang.IllegalArgumentException: Method
'$spock_feature_1_13prov1([])' can't be called with parameters
'[[<https://builds.apache.org/job/JMeter-trunk/ws/trunk/bin,>
<https://builds.apache.org/job/JMeter-trunk/ws/trunk,>
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/abcd/defg.jmx,>
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/bin/abcd/defg.jmx]]'!>
[java] at
org.spockframework.util.ReflectionUtil.validateArguments(ReflectionUtil.java:212)
[java] at
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:199)
[java] at
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113)
[java] at org.junit.runners.Suite.runChild(Suite.java:128)
[java] at org.junit.runners.Suite.runChild(Suite.java:27)
[java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[java] at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[java] at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[java] at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[java] at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[java] at org.apache.jorphan.test.AllTests.main(AllTests.java:219)
[java] 95) non-existent filename to reserveFile will throw
exception(org.apache.jmeter.services.FileServerSpec)
[java] java.lang.IllegalStateException: Did not find call #0 on stack.
Invalid call of record method?
[java] at org.apache.jmeter.services.FileServerSpec.non-existent
filename to reserveFile will throw exception(FileServerSpec.groovy:181)
[java] 96) reserving a file with no header will throw an exception if the
header is expected(org.apache.jmeter.services.FileServerSpec)
[java] java.lang.IllegalStateException: Did not find call #0 on stack.
Invalid call of record method?
[java] at org.apache.jmeter.services.FileServerSpec.reserving a file
with no header will throw an exception if the header is
expected(FileServerSpec.groovy:193)
[java] 97) resolvedFile returns absolute and relative
files(org.apache.jmeter.services.FileServerSpec)
[java] java.lang.IllegalStateException: Did not find call #0 on stack.
Invalid call of record method?
[java] at org.apache.jmeter.services.FileServerSpec.resolvedFile
returns absolute and relative files(FileServerSpec.groovy:201)
[java] 98) resolvedFile returns relative files with BaseForScript
set(org.apache.jmeter.services.FileServerSpec)
[java] java.lang.IllegalStateException: Did not find call #0 on stack.
Invalid call of record method?
[java] at org.apache.jmeter.services.FileServerSpec.resolvedFile
returns relative files with BaseForScript set(FileServerSpec.groovy:214)
[java] 99) default delay is
0(org.apache.jmeter.timers.UniformRandomTimerSpec)
[java] java.lang.IllegalStateException: Did not find call #0 on stack.
Invalid call of record method?
[java] at org.apache.jmeter.timers.UniformRandomTimerSpec.default
delay is 0(UniformRandomTimerSpec.groovy:33)
[java] 100) default range is
0(org.apache.jmeter.timers.UniformRandomTimerSpec)
[java] java.lang.IllegalStateException: Did not find call #0 on stack.
Invalid call of record method?
[java] at org.apache.jmeter.timers.UniformRandomTimerSpec.default
range is 0(UniformRandomTimerSpec.groovy:43)
[java] 101) #delay <= computedDelay <= trunc(#delay +
abs(#range))(org.apache.jmeter.timers.UniformRandomTimerSpec)
[java] java.lang.IllegalArgumentException: Method
'$spock_feature_0_2prov1([])' can't be called with parameters '[[1, 1, 0]]'!
[java] at
org.spockframework.util.ReflectionUtil.validateArguments(ReflectionUtil.java:212)
[java] at
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:199)
[java] at
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113)
[java] at org.junit.runners.Suite.runChild(Suite.java:128)
[java] at org.junit.runners.Suite.runChild(Suite.java:27)
[java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[java] at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[java] at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[java] at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[java] at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[java] at org.apache.jorphan.test.AllTests.main(AllTests.java:219)
[java] 102) getText of empty file is empty
string(org.apache.jorphan.io.TextFileSpec)
[java] java.lang.IllegalStateException: Did not find call #0 on stack.
Invalid call of record method?
[java] at org.apache.jorphan.io.TextFileSpec.getText of empty file is
empty string(TextFileSpec.groovy:42)
[java] 103) getText returns exact content of
file[0](org.apache.jorphan.io.TextFileSpec)
[java] java.lang.IllegalStateException: Did not find call #0 on stack.
Invalid call of record method?
[java] at org.apache.jorphan.io.TextFileSpec.getText returns exact
content of file(TextFileSpec.groovy:50)
[java] 104) getText returns exact content of
file[1](org.apache.jorphan.io.TextFileSpec)
[java] java.lang.IllegalStateException: Did not find call #0 on stack.
Invalid call of record method?
[java] at org.apache.jorphan.io.TextFileSpec.getText returns exact
content of file(TextFileSpec.groovy:50)
[java] 105) getText returns exact content of file with specific
charset(org.apache.jorphan.io.TextFileSpec)
[java] java.lang.IllegalArgumentException: Method
'$spock_feature_0_2prov1([])' can't be called with parameters '[[a
[java] b
[java] c, a
[java] b
[java] c
[java] , a
[java] b
[java] c, a
[java] b
[java] c
[java] ]]'!
[java] at
org.spockframework.util.ReflectionUtil.validateArguments(ReflectionUtil.java:212)
[java] at
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:199)
[java] at
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113)
[java] at org.junit.runners.Suite.runChild(Suite.java:128)
[java] at org.junit.runners.Suite.runChild(Suite.java:27)
[java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[java] at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[java] at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[java] at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[java] at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[java] at org.apache.jorphan.test.AllTests.main(AllTests.java:219)
[java] 106) setText sets exact content of
file[0](org.apache.jorphan.io.TextFileSpec)
[java] java.lang.IllegalStateException: Did not find call #0 on stack.
Invalid call of record method?
[java] at org.apache.jorphan.io.TextFileSpec.setText sets exact
content of file(TextFileSpec.groovy:75)
[java] 107) setText sets exact content of
file[1](org.apache.jorphan.io.TextFileSpec)
[java] java.lang.IllegalStateException: Did not find call #0 on stack.
Invalid call of record method?
[java] at org.apache.jorphan.io.TextFileSpec.setText sets exact
content of file(TextFileSpec.groovy:75)
[java] 108) setText sets exact content of file other
charset(org.apache.jorphan.io.TextFileSpec)
[java] java.lang.IllegalArgumentException: Method
'$spock_feature_0_4prov1([])' can't be called with parameters '[[a
[java] b
[java] c, a
[java] b
[java] c
[java] , a
[java] b
[java] c, a
[java] b
[java] c
[java] ]]'!
[java] at
org.spockframework.util.ReflectionUtil.validateArguments(ReflectionUtil.java:212)
[java] at
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:199)
[java] at
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113)
[java] at org.junit.runners.Suite.runChild(Suite.java:128)
[java] at org.junit.runners.Suite.runChild(Suite.java:27)
[java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[java] at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[java] at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[java] at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[java] at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[java] at org.apache.jorphan.test.AllTests.main(AllTests.java:219)
[java] 109) convert #value to #type should give [#expected] when value or
type is null(org.apache.jorphan.util.ConverterSpec)
[java] java.lang.IllegalArgumentException: Method
'$spock_feature_1_0prov1([])' can't be called with parameters '[[null,
anything, 23, null, null]]'!
[java] at
org.spockframework.util.ReflectionUtil.validateArguments(ReflectionUtil.java:212)
[java] at
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:199)
[java] at
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113)
[java] at org.junit.runners.Suite.runChild(Suite.java:128)
[java] at org.junit.runners.Suite.runChild(Suite.java:27)
[java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[java] at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[java] at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[java] at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[java] at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[java] at org.apache.jorphan.test.AllTests.main(AllTests.java:219)
[java] 110) convert #value to #type should downcast gracefully and give
[#expected](org.apache.jorphan.util.ConverterSpec)
[java] java.lang.IllegalArgumentException: Method
'$spock_feature_1_1prov1([])' can't be called with parameters '[[anything,
anything, 23]]'!
[java] at
org.spockframework.util.ReflectionUtil.validateArguments(ReflectionUtil.java:212)
[java] at
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:199)
[java] at
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113)
[java] at org.junit.runners.Suite.runChild(Suite.java:128)
[java] at org.junit.runners.Suite.runChild(Suite.java:27)
[java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[java] at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[java] at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[java] at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[java] at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[java] at org.apache.jorphan.test.AllTests.main(AllTests.java:219)
[java] 111) convert #value to string should give
[#expected](org.apache.jorphan.util.ConverterSpec)
[java] java.lang.IllegalArgumentException: Method
'$spock_feature_1_2prov1([])' can't be called with parameters '[[anything,
23]]'!
[java] at
org.spockframework.util.ReflectionUtil.validateArguments(ReflectionUtil.java:212)
[java] at
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:199)
[java] at
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113)
[java] at org.junit.runners.Suite.runChild(Suite.java:128)
[java] at org.junit.runners.Suite.runChild(Suite.java:27)
[java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[java] at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[java] at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[java] at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[java] at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[java] at org.apache.jorphan.test.AllTests.main(AllTests.java:219)
[java] 112) convert #value to #type should give number
[#expected](org.apache.jorphan.util.ConverterSpec)
[java] java.lang.IllegalArgumentException: Method
'$spock_feature_1_3prov1([])' can't be called with parameters '[[23.0, 42.0,
42, 23.0, 42.0, 42, 23, 42, 42, 23, 42, 42]]'!
[java] at
org.spockframework.util.ReflectionUtil.validateArguments(ReflectionUtil.java:212)
[java] at
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:199)
[java] at
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113)
[java] at org.junit.runners.Suite.runChild(Suite.java:128)
[java] at org.junit.runners.Suite.runChild(Suite.java:27)
[java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[java] at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[java] at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[java] at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[java] at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[java] at org.apache.jorphan.test.AllTests.main(AllTests.java:219)
[java] 113) Convert #value to diverse class types
(#type)(org.apache.jorphan.util.ConverterSpec)
[java] java.lang.IllegalArgumentException: Method
'$spock_feature_1_4prov1([])' can't be called with parameters
'[[java.lang.String, not.a.valid.class]]'!
[java] at
org.spockframework.util.ReflectionUtil.validateArguments(ReflectionUtil.java:212)
[java] at
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:199)
[java] at
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113)
[java] at org.junit.runners.Suite.runChild(Suite.java:128)
[java] at org.junit.runners.Suite.runChild(Suite.java:27)
[java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[java] at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[java] at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[java] at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[java] at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[java] at org.apache.jorphan.test.AllTests.main(AllTests.java:219)
[java] 114) Convert #value to #type(org.apache.jorphan.util.ConverterSpec)
[java] java.lang.IllegalArgumentException: Method
'$spock_feature_1_5prov1([])' can't be called with parameters '[[, true, true,
false, , true, true, false, filename, filename, c, c, char, 65]]'!
[java] at
org.spockframework.util.ReflectionUtil.validateArguments(ReflectionUtil.java:212)
[java] at
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:199)
[java] at
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113)
[java] at org.junit.runners.Suite.runChild(Suite.java:128)
[java] at org.junit.runners.Suite.runChild(Suite.java:27)
[java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[java] at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[java] at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[java] at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[java] at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[java] at org.apache.jorphan.test.AllTests.main(AllTests.java:219)
[java]
[java] FAILURES!!!
[java] Tests run: 3099, Failures: 114
[java]
[java]
.................................................................................
[java] Time: 4.34
[java]
[java] OK (81 tests)
[java]
BUILD FAILED
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/build.xml>:3192: Java
returned: 1
Total time: 2 minutes 27 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 3 days 16 hr old