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 Ubuntu #696
Date Sun, 24 Feb 2019 23:11:53 GMT
See <https://builds.apache.org/job/JMeter%20Ubuntu/696/display/redirect?page=changes>

Changes:

[pmouawad] Fix svn:eol

[pmouawad] Fix tests failure due to headless

[pmouawad] Better handle exception

[pmouawad] Fix javadoc errors

[pmouawad] Bug 63204 - RenderAsJSON#prettyJSON : JSONParser#parse cannot return JSONValue

Also increase coverage
Bugzilla Id: 63204

[pmouawad] Fix checkstyle issue

[pmouawad] Fix svn:eol

[pmouawad] Fix tests failure due to headless mode

[pmouawad] Improve methods/variables naming
Make instance variable local
Increase coverage

[pmouawad] Bug 63203 - Unit Tests : Replace use of @Deprecated by @VisibleForTesting for methods/constructors/classes
made public for Unit Testing only
Bugzilla Id: 63203

------------------------------------------
[...truncated 454.49 KB...]
    [javac] Compiling 9 source files to <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/build/protocol/mongodb>
[native2ascii] Converting 4 files from <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/src/protocol/mongodb>
to <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/build/protocol/mongodb>

compile:

prepare-resources:
    [mkdir] Created dir: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/build/res>
    [mkdir] Created dir: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/build/res/META-INF>
     [copy] Copying 3 files to <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/build/res/META-INF>

package-only:
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/bin/ApacheJMeter.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_core.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_components.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_functions.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_http.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_ftp.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_jdbc.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_java.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/bshclient.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_junit.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/junit/test.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_ldap.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_mail.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_tcp.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_jms.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_native.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_mongodb.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/jorphan.jar>

package:

_check_3rdparty:

_message_3rdParty:

init-version:
     [echo] jmeter.version = 5.1-SNAPSHOT
     [echo] display.version = 5.1-SNAPSHOT r1854291
     [echo] implementation.version = 5.1-SNAPSHOT r1854291

compile-jorphan:

compile-core:

compile-components:

compile-functions:

compile-http:

compile-ftp:

compile-jdbc:

compile-java:

compile-ldap:

create-mail-dir:

compile-mail:

compile-tcp:

compile-protocols:

compile-junit:

compile-jms:

compile-native:

compile-mongodb:

compile:

compile-tests:
    [mkdir] Created dir: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/build/test>
    [javac] Compiling 195 source files to <https://builds.apache.org/job/JMeter%20Ubuntu/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 25 source files to <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/build/test>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/assertions/MD5HexAssertionSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/assertions/gui/AssertionGuiSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/control/RandomOrderControllerSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/control/RunTimeSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/control/ThroughputControllerSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/engine/util/PackageSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/extractor/BoundaryExtractorSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/extractor/JoddExtractorSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/extractor/json/render/RenderAsJsonRendererSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/functions/ChangeCaseSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/functions/gui/FunctionHelperSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/gui/util/MenuFactorySpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/junit/spock/JMeterSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/protocol/http/util/HTTPUtilsSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/protocol/jdbc/sampler/JDBCSamplerSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/report/core/SampleMetadataParserSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/report/processor/ApdexSummaryConsumerSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/report/processor/FieldSampleComparatorSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/report/processor/ListResultDataSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/report/processor/Top5ErrorsBySamplerConsumerSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/report/processor/Top5ErrorsSummaryDataSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/services/FileServerSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jmeter/timers/UniformRandomTimerSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jorphan/io/TextFileSpec.groovy>
  [groovyc] <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/test/src/org/apache/jorphan/util/ConverterSpec.groovy>

prepare-resources:
     [copy] Copying 3 files to <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/build/res/META-INF>

package-only:
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/bin/ApacheJMeter.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_core.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_components.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_functions.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_http.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_ftp.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_jdbc.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_java.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/bshclient.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_junit.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/junit/test.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_ldap.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_mail.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_tcp.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_jms.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_native.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/ext/ApacheJMeter_mongodb.jar>
      [jar] Building jar: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/jorphan.jar>

package:

_test:
     [echo] 
     [echo]    gump.run = false
     [echo]    java.awt.headless = true
     [echo]    test.headless = true
     [echo]    user.dir = <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk>
     [echo]    basedir = <https://builds.apache.org/job/JMeter%20Ubuntu/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%20Ubuntu/ws/trunk/lib/log4j-slf4j-impl-2.11.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]>
     [java] SLF4J: Found binding in [jar:<https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/lib/opt/activemq-all-5.15.8.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%20Ubuntu/ws/trunk>
     [java] Using initializeProperties() from org.apache.jmeter.util.JMeterUtils
     [java] Setting up initial properties using: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/bin/jmeter.properties>
     [java] Initializing Properties: <https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/bin/jmeter.properties>
     [java] JMeterVersion=5.1-SNAPSHOT r1854291
     [java] java.version=1.8.0_191
     [java] java.home=/usr/local/asfpackages/java/jdk1.8.0_191/jre
     [java] file.encoding=UTF-8
     [java] default encoding=UTF-8
     [java] user.dir=<https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/bin>
     [java] Locale=en_US
     [java] os.name=Linux
     [java] os.version=4.4.0-139-generic
     [java] JCE max key length = 2147483647
     [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 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=asf941.gq1.ygridcore.net
     [java] asf941.gq1.ygridcore.net/67.195.81.173
     [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] asf941.gq1.ygridcore.net/67.195.81.173
     [java] isSiteLocalAddress:false
     [java] isAnyLocalAddress:false
     [java] isLinkLocalAddress:false
     [java] isLoopbackAddress:false
     [java] isMulticastAddress:false
     [java] Interfaces: {name:vethe972d6a (vethe972d6a) => [/fe80:0:0:0:986a:6cff:fe41:440b%vethe972d6a/64
[null]], name:docker0 (docker0) => [/fe80:0:0:0:42:fdff:fed7:84b%docker0/64 [null], /172.17.0.1/16
[/0.0.0.0]], name:eno1 (eno1) => [/fe80:0:0:0:f292:1cff:fe12:f654%eno1/64 [null], /67.195.81.173/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=asf941.gq1.ygridcore.net
     [java] ...........................................................................................................................................................I............................................................Throwing
on Engine creation to simulate failure
     [java] .........................................................................................................................................................I.I....................................................................................................................................................................................................................................................................................................I.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................II...................................................................................................................
     [java] Time: 33.645
     [java] There was 1 failure:
     [java] 1) testWithCustomResolverAnd1Server(org.apache.jmeter.protocol.http.control.TestDNSCacheManager)
     [java] java.lang.AssertionError: Should have succeeded resolving jmeter.apache.org, error:Failed
to resolve host name: jmeter.apache.org
     [java] 	at org.junit.Assert.fail(Assert.java:88)
     [java] 	at org.apache.jmeter.protocol.http.control.TestDNSCacheManager.testWithCustomResolverAnd1Server(TestDNSCacheManager.java:120)
     [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.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: 3306,  Failures: 1
     [java] 
     [java] .................................................................................
     [java] Time: 4.417
     [java] 
     [java] OK (81 tests)
     [java] 

BUILD FAILED
<https://builds.apache.org/job/JMeter%20Ubuntu/ws/trunk/build.xml>:3192: Java returned:
1

Total time: 1 minute 31 seconds
Build step 'Invoke Ant' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succedeed?
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released

Mime
View raw message