jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: JMeter-trunk #6124
Date Mon, 01 May 2017 10:34:29 GMT
See <https://builds.apache.org/job/JMeter-trunk/6124/display/redirect?page=changes>

Changes:

[pmouawad] Improve logging
Fix SONAR error
Clariy code
Use try with resource

------------------------------------------
[...truncated 151.83 KB...]
     [java] 	at junit.framework.TestSuite.runTest(TestSuite.java:252)
     [java] 	at junit.framework.TestSuite.run(TestSuite.java:247)
     [java] 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
     [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:215)
     [java] 2) warning(junit.framework.TestSuite$1)
     [java] junit.framework.AssertionFailedError: No tests found in groovy.util.GroovyShellTestCase
     [java] 	at junit.framework.Assert.fail(Assert.java:57)
     [java] 	at junit.framework.TestCase.fail(TestCase.java:227)
     [java] 	at junit.framework.TestSuite$1.runTest(TestSuite.java:97)
     [java] 	at junit.framework.TestCase.runBare(TestCase.java:141)
     [java] 	at junit.framework.TestResult$1.protect(TestResult.java:122)
     [java] 	at junit.framework.TestResult.runProtected(TestResult.java:142)
     [java] 	at junit.framework.TestResult.run(TestResult.java:125)
     [java] 	at junit.framework.TestCase.run(TestCase.java:129)
     [java] 	at junit.framework.TestSuite.runTest(TestSuite.java:252)
     [java] 	at junit.framework.TestSuite.run(TestSuite.java:247)
     [java] 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
     [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:215)
     [java] 3) warning(junit.framework.TestSuite$1)
     [java] junit.framework.AssertionFailedError: No tests found in groovy.util.GroovyTestCase
     [java] 	at junit.framework.Assert.fail(Assert.java:57)
     [java] 	at junit.framework.TestCase.fail(TestCase.java:227)
     [java] 	at junit.framework.TestSuite$1.runTest(TestSuite.java:97)
     [java] 	at junit.framework.TestCase.runBare(TestCase.java:141)
     [java] 	at junit.framework.TestResult$1.protect(TestResult.java:122)
     [java] 	at junit.framework.TestResult.runProtected(TestResult.java:142)
     [java] 	at junit.framework.TestResult.run(TestResult.java:125)
     [java] 	at junit.framework.TestCase.run(TestCase.java:129)
     [java] 	at junit.framework.TestSuite.runTest(TestSuite.java:252)
     [java] 	at junit.framework.TestSuite.run(TestSuite.java:247)
     [java] 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
     [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:215)
     [java] 4) warning(junit.framework.TestSuite$1)
     [java] junit.framework.AssertionFailedError: Class junit.framework.TestSuite$1 has no
public constructor TestCase(String name) or TestCase()
     [java] 	at junit.framework.Assert.fail(Assert.java:57)
     [java] 	at junit.framework.TestCase.fail(TestCase.java:227)
     [java] 	at junit.framework.TestSuite$1.runTest(TestSuite.java:97)
     [java] 	at junit.framework.TestCase.runBare(TestCase.java:141)
     [java] 	at junit.framework.TestResult$1.protect(TestResult.java:122)
     [java] 	at junit.framework.TestResult.runProtected(TestResult.java:142)
     [java] 	at junit.framework.TestResult.run(TestResult.java:125)
     [java] 	at junit.framework.TestCase.run(TestCase.java:129)
     [java] 	at junit.framework.TestSuite.runTest(TestSuite.java:252)
     [java] 	at junit.framework.TestSuite.run(TestSuite.java:247)
     [java] 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
     [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:215)
     [java] 5) initializationError(org.apache.jmeter.junit.JMeterTest)
     [java] java.lang.Exception: Error creating bsh.Primitive
     [java] 	at org.apache.jmeter.junit.JMeterTest.getObjects(JMeterTest.java:488)
     [java] 	at org.apache.jmeter.junit.JMeterTest.suiteSerializableElements(JMeterTest.java:388)
     [java] 	at org.apache.jmeter.junit.JMeterTest.suite(JMeterTest.java:133)
     [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.internal.runners.SuiteMethod.testFromSuiteMethod(SuiteMethod.java:35)
     [java] 	at org.junit.internal.runners.SuiteMethod.<init>(SuiteMethod.java:24)
     [java] 	at org.junit.internal.builders.SuiteMethodBuilder.runnerForClass(SuiteMethodBuilder.java:11)
     [java] 	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
     [java] 	at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
     [java] 	at org.junit.runner.Computer.getRunner(Computer.java:40)
     [java] 	at org.junit.runner.Computer$1.runnerForClass(Computer.java:31)
     [java] 	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
     [java] 	at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:101)
     [java] 	at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:87)
     [java] 	at org.junit.runners.Suite.<init>(Suite.java:81)
     [java] 	at org.junit.runner.Computer.getSuite(Computer.java:28)
     [java] 	at org.junit.runner.Request.classes(Request.java:75)
     [java] 	at org.apache.jorphan.test.AllTests.main(AllTests.java:211)
     [java] Caused by: java.lang.reflect.InvocationTargetException
     [java] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     [java] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
     [java] 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
     [java] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
     [java] 	at org.apache.jmeter.junit.JMeterTest.getObjects(JMeterTest.java:461)
     [java] 	... 20 more
     [java] Caused by: bsh.InterpreterError: Not a wrapper type: class java.lang.String
     [java] 	at bsh.Primitive.<init>(Primitive.java:128)
     [java] 	... 25 more
     [java] 6) warning(junit.framework.TestSuite$1)
     [java] junit.framework.AssertionFailedError: Class org.apache.jmeter.protocol.java.sampler.JUnitSampler$AnnotatedTestCase
has no public constructor TestCase(String name) or TestCase()
     [java] 	at junit.framework.Assert.fail(Assert.java:57)
     [java] 	at junit.framework.TestCase.fail(TestCase.java:227)
     [java] 	at junit.framework.TestSuite$1.runTest(TestSuite.java:97)
     [java] 	at junit.framework.TestCase.runBare(TestCase.java:141)
     [java] 	at junit.framework.TestResult$1.protect(TestResult.java:122)
     [java] 	at junit.framework.TestResult.runProtected(TestResult.java:142)
     [java] 	at junit.framework.TestResult.run(TestResult.java:125)
     [java] 	at junit.framework.TestCase.run(TestCase.java:129)
     [java] 	at junit.framework.TestSuite.runTest(TestSuite.java:252)
     [java] 	at junit.framework.TestSuite.run(TestSuite.java:247)
     [java] 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
     [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:215)
     [java] 7) runTestElement(org.apache.jmeter.testelement.TestElementTest)
     [java] junit.framework.AssertionFailedError: SaveService nameMap (saveservice.properties)
should contain org.apache.jmeter.junit.stubs.TestSampler
     [java] 	at junit.framework.Assert.fail(Assert.java:57)
     [java] 	at junit.framework.TestCase.fail(TestCase.java:227)
     [java] 	at org.apache.jmeter.testelement.TestElementTest.checkElementAlias(TestElementTest.java:99)
     [java] 	at org.apache.jmeter.testelement.TestElementTest.runTestElement(TestElementTest.java:71)
     [java] 	at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:498)
     [java] 	at junit.framework.TestCase.runTest(TestCase.java:176)
     [java] 	at junit.framework.TestCase.runBare(TestCase.java:141)
     [java] 	at junit.framework.TestResult$1.protect(TestResult.java:122)
     [java] 	at junit.framework.TestResult.runProtected(TestResult.java:142)
     [java] 	at junit.framework.TestResult.run(TestResult.java:125)
     [java] 	at junit.framework.TestCase.run(TestCase.java:129)
     [java] 	at junit.framework.TestSuite.runTest(TestSuite.java:252)
     [java] 	at junit.framework.TestSuite.run(TestSuite.java:247)
     [java] 	at junit.framework.TestSuite.runTest(TestSuite.java:252)
     [java] 	at junit.framework.TestSuite.run(TestSuite.java:247)
     [java] 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
     [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:215)
     [java] 8) runTestElement(org.apache.jmeter.testelement.TestElementTest)
     [java] junit.framework.AssertionFailedError: SaveService nameMap (saveservice.properties)
should contain org.apache.jmeter.protocol.http.sampler.HTTPNullSampler
     [java] 	at junit.framework.Assert.fail(Assert.java:57)
     [java] 	at junit.framework.TestCase.fail(TestCase.java:227)
     [java] 	at org.apache.jmeter.testelement.TestElementTest.checkElementAlias(TestElementTest.java:99)
     [java] 	at org.apache.jmeter.testelement.TestElementTest.runTestElement(TestElementTest.java:71)
     [java] 	at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:498)
     [java] 	at junit.framework.TestCase.runTest(TestCase.java:176)
     [java] 	at junit.framework.TestCase.runBare(TestCase.java:141)
     [java] 	at junit.framework.TestResult$1.protect(TestResult.java:122)
     [java] 	at junit.framework.TestResult.runProtected(TestResult.java:142)
     [java] 	at junit.framework.TestResult.run(TestResult.java:125)
     [java] 	at junit.framework.TestCase.run(TestCase.java:129)
     [java] 	at junit.framework.TestSuite.runTest(TestSuite.java:252)
     [java] 	at junit.framework.TestSuite.run(TestSuite.java:247)
     [java] 	at junit.framework.TestSuite.runTest(TestSuite.java:252)
     [java] 	at junit.framework.TestSuite.run(TestSuite.java:247)
     [java] 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
     [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:215)
     [java] 9) runTestElement(org.apache.jmeter.testelement.TestElementTest)
     [java] junit.framework.AssertionFailedError: SaveService nameMap (saveservice.properties)
should contain org.apache.jmeter.samplers.NullSampler
     [java] 	at junit.framework.Assert.fail(Assert.java:57)
     [java] 	at junit.framework.TestCase.fail(TestCase.java:227)
     [java] 	at org.apache.jmeter.testelement.TestElementTest.checkElementAlias(TestElementTest.java:99)
     [java] 	at org.apache.jmeter.testelement.TestElementTest.runTestElement(TestElementTest.java:71)
     [java] 	at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:498)
     [java] 	at junit.framework.TestCase.runTest(TestCase.java:176)
     [java] 	at junit.framework.TestCase.runBare(TestCase.java:141)
     [java] 	at junit.framework.TestResult$1.protect(TestResult.java:122)
     [java] 	at junit.framework.TestResult.runProtected(TestResult.java:142)
     [java] 	at junit.framework.TestResult.run(TestResult.java:125)
     [java] 	at junit.framework.TestCase.run(TestCase.java:129)
     [java] 	at junit.framework.TestSuite.runTest(TestSuite.java:252)
     [java] 	at junit.framework.TestSuite.run(TestSuite.java:247)
     [java] 	at junit.framework.TestSuite.runTest(TestSuite.java:252)
     [java] 	at junit.framework.TestSuite.run(TestSuite.java:247)
     [java] 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
     [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:215)
     [java] 
     [java] FAILURES!!!
     [java] Tests run: 2165,  Failures: 9
     [java] 

BUILD FAILED
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/build.xml>:2848: Java returned:
1

Total time: 2 minutes 55 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

Mime
View raw message