See 
<https://builds.apache.org/job/JMeter%20Windows/1432/display/redirect?page=changes>

Changes:

[sitnikov.vladimir] Increase timeouts for DNSCacheManagerSpec: 100 -> 5000

[sitnikov.vladimir] Add SpotBugs results to Sonarqube report

[sitnikov.vladimir] Build script: move JavaPluginConvention to the top of 
JavaPlugin block

------------------------------------------
[...truncated 100.55 KB...]
    org.gradle.internal.dispatch.ReflectionDispatch#dispatch at line:24
    
org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper#dispatch
 at line:175
    
org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper#dispatch
 at line:157
    org.gradle.internal.remote.internal.hub.MessageHub$Handler#run at line:404
    
org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures#onExecute 
at line:63
    org.gradle.internal.concurrent.ManagedExecutorImpl$1#run at line:46
    java.util.concurrent.ThreadPoolExecutor#runWorker at line:1149
    java.util.concurrent.ThreadPoolExecutor$Worker#run at line:624
    org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable#run 
at line:55
    java.lang.Thread#run at line:748

    Thread[/127.0.0.1:52170 to /127.0.0.1:52169 workers Thread 2,5,main], 
stackTrace:sun.nio.ch.SocketDispatcher#write0
    sun.nio.ch.SocketDispatcher#write at line:51
    sun.nio.ch.IOUtil#writeFromNativeBuffer at line:93
    sun.nio.ch.IOUtil#write at line:51
    sun.nio.ch.SocketChannelImpl#write at line:471
    
org.gradle.internal.remote.internal.inet.SocketConnection$SocketOutputStream#writeWithNonBlockingRetry
 at line:273
    
org.gradle.internal.remote.internal.inet.SocketConnection$SocketOutputStream#writeBufferToChannel
 at line:261
    
org.gradle.internal.remote.internal.inet.SocketConnection$SocketOutputStream#flush
 at line:255
    org.gradle.internal.remote.internal.inet.SocketConnection#flush at line:133
    org.gradle.internal.remote.internal.hub.MessageHub$ConnectionDispatch#run 
at line:329
    
org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures#onExecute 
at line:63
    org.gradle.internal.concurrent.ManagedExecutorImpl$1#run at line:46
    java.util.concurrent.ThreadPoolExecutor#runWorker at line:1149
    java.util.concurrent.ThreadPoolExecutor$Worker#run at line:624
    org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable#run 
at line:55
    java.lang.Thread#run at line:748

    Thread[main,5,main], stackTrace:sun.misc.Unsafe#park
    java.util.concurrent.locks.LockSupport#park at line:175
    java.util.concurrent.locks.AbstractQueuedSynchronizer#parkAndCheckInterrupt 
at line:836
    
java.util.concurrent.locks.AbstractQueuedSynchronizer#doAcquireSharedInterruptibly
 at line:997
    
java.util.concurrent.locks.AbstractQueuedSynchronizer#acquireSharedInterruptibly
 at line:1304
    java.util.concurrent.CountDownLatch#await at line:231
    org.gradle.api.internal.tasks.testing.worker.TestWorker#execute at line:72
    org.gradle.api.internal.tasks.testing.worker.TestWorker#execute at line:46
    org.gradle.process.internal.worker.child.ActionExecutionWorker#execute at 
line:86
    org.gradle.process.internal.worker.child.ActionExecutionWorker#execute at 
line:34
    
org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker#call
 at line:132
    
org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker#call
 at line:68
    worker.org.gradle.process.internal.worker.GradleWorkerMain#run at line:68
    worker.org.gradle.process.internal.worker.GradleWorkerMain#main at line:73

    Thread[/127.0.0.1:52170 to /127.0.0.1:52169 workers Thread 3,5,main], 
stackTrace:sun.nio.ch.WindowsSelectorImpl$SubSelector#poll0
    sun.nio.ch.WindowsSelectorImpl$SubSelector#poll at line:296
    sun.nio.ch.WindowsSelectorImpl$SubSelector#access$400 at line:278
    sun.nio.ch.WindowsSelectorImpl#doSelect at line:159
    sun.nio.ch.SelectorImpl#lockAndDoSelect at line:86
    sun.nio.ch.SelectorImpl#select at line:97
    sun.nio.ch.SelectorImpl#select at line:101
    
org.gradle.internal.remote.internal.inet.SocketConnection$SocketInputStream#read
 at line:179
    com.esotericsoftware.kryo.io.Input#fill at line:146
    com.esotericsoftware.kryo.io.Input#require at line:178
    com.esotericsoftware.kryo.io.Input#readByte at line:295
    org.gradle.internal.serialize.kryo.KryoBackedDecoder#readByte at line:80
    
org.gradle.internal.remote.internal.hub.InterHubMessageSerializer$MessageReader#read
 at line:63
    
org.gradle.internal.remote.internal.hub.InterHubMessageSerializer$MessageReader#read
 at line:52
    org.gradle.internal.remote.internal.inet.SocketConnection#receive at line:80
    org.gradle.internal.remote.internal.hub.MessageHub$ConnectionReceive#run at 
line:263
    
org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures#onExecute 
at line:63
    org.gradle.internal.concurrent.ManagedExecutorImpl$1#run at line:46
    java.util.concurrent.ThreadPoolExecutor#runWorker at line:1149
    java.util.concurrent.ThreadPoolExecutor$Worker#run at line:624
    org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable#run 
at line:55
    java.lang.Thread#run at line:748


org.apache.jmeter.testbeans.gui.TestFieldStringEditor > testSetGetAsText 
STANDARD_OUT
    JMeterUtils.getJMeterVe rsion() = 5.2.0-SNAPSHOT 24f2e8b
    JMeterUtils.getJMeterVe rsion() = 5.2.0-SNAPSHOT 24f2e8b
    JMeterUtils.getJMeterVe rsion() = 5.2.0-SNAPSHOT 24f2e8b

> Task :src:components:check
> Task :src:components:jar UP-TO-DATE
> Task :src:dist:spotbugsMain SKIPPED
> Task :src:dist-check:spotbugsMain SKIPPED
> Task :src:examples:spotbugsMain SKIPPED
> Task :src:functions:spotbugsMain SKIPPED
> Task :src:generator:spotbugsMain SKIPPED
> Task :src:protocol:http:spotbugsMain SKIPPED
> Task :src:examples:spotbugsTest SKIPPED
> Task :src:generator:spotbugsTest SKIPPED
> Task :src:generator:test NO-SOURCE
> Task :src:generator:check
> Task :src:examples:test NO-SOURCE
> Task :src:examples:check
> Task :src:components:testJar UP-TO-DATE
> Task :src:dist:populateLibs
> Task :src:dist:copyBinLibs UP-TO-DATE
> Task :src:functions:compileTestJava UP-TO-DATE
> Task :src:protocol:http:compileTestJava UP-TO-DATE
> Task :src:functions:compileTestGroovy
> Task :src:functions:testClasses
> Task :src:functions:testJar UP-TO-DATE
> Task :src:functions:checkstyleTest
> Task :src:functions:spotbugsTest SKIPPED

> Task :src:protocol:http:compileTestGroovy
Could not open/create prefs root node Software\JavaSoft\Prefs at root 
0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

> Task :src:protocol:http:testClasses
> Task :src:core:check
> Task :src:protocol:http:testJar

> Task :src:functions:test

org.apache.jmeter.functions.CSVReadFunctionTest STANDARD_OUT
    Setting JMeterHome: F:\jenkins\jenkins-slave\workspace\JMeter 
Windows\src\functions\..\..\.
    Initializing Properties: ../.././bin/jmeter.properties

org.apache.jmeter.functions.CSVReadFunctionTest STANDARD_ERROR
    Aug 03, 2019 1:15:35 PM java.util.prefs.WindowsPreferences <init>
    WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at 
root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

org.apache.jmeter.functions.CSVReadFunctionTest STANDARD_OUT
    JMeterVersion=5.2.0-SNAPSHOT 24f2e8b
    java.version=1.8.0_152
    java.vm.name=Java HotSpot(TM) 64-Bit Server VM
    java.vendor=Oracle Corporation
    java.home=F:\jenkins\tools\java\latest1.8\jre
    file.encoding=windows-1252
    default encoding=windows-1252
    user.home=C:\Users\jenkins
    user.dir=F:\jenkins\jenkins-slave\workspace\JMeter Windows\src\functions
    user.language=en
    user.region=null
    user.country=US
    user.variant=
    Locale=en_US
    java.class.version=52.0
    java.awt.headless=
    os.name=Windows Server 2016
    os.version=10.0
    os.arch=amd64

> Task :src:dist-check:compileTestJava UP-TO-DATE
> Task :src:protocol:http:checkstyleTest
> Task :src:protocol:http:spotbugsTest SKIPPED
> Task :src:dist-check:compileTestGroovy
> Task :src:dist-check:testClasses
> Task :src:dist-check:checkstyleTest
> Task :src:dist-check:spotbugsTest SKIPPED

> Task :src:protocol:http:test

org.apache.jmeter.gui.action.ParseCurlCommandActionTest > 
testCreateCookieManager STANDARD_ERROR
    Aug 03, 2019 1:15:38 PM java.util.prefs.WindowsPreferences <init>
    WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at 
root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

org.apache.jmeter.protocol.http.config.UrlConfigTest STANDARD_OUT
    Setting JMeterHome: F:\jenkins\jenkins-slave\workspace\JMeter 
Windows\src\protocol\http\..\..\..\.
    Initializing Properties: ../../.././bin/jmeter.properties
    JMeterVersion=5.2.0-SNAPSHOT 24f2e8b
    java.version=1.8.0_152
    java.vm.name=Java HotSpot(TM) 64-Bit Server VM
    java.vendor=Oracle Corporation
    java.home=F:\jenkins\tools\java\latest1.8\jre
    file.encoding=windows-1252
    default encoding=windows-1252
    user.home=C:\Users\jenkins
    user.dir=F:\jenkins\jenkins-slave\workspace\JMeter Windows\src\protocol\http
    user.language=en
    user.region=null
    user.country=US
    user.variant=
    Locale=en_US
    java.class.version=52.0
    java.awt.headless=
    os.name=Windows Server 2016
    os.version=10.0
    os.arch=amd64

> Task :src:functions:check
> Task :src:dist:copyLibs
> Task :src:dist:compileTestJava NO-SOURCE
> Task :src:dist:testClasses UP-TO-DATE
> Task :src:dist:checkstyleTest NO-SOURCE
> Task :src:dist:spotbugsTest SKIPPED
> Task :src:dist:test NO-SOURCE
> Task :src:dist:check UP-TO-DATE
> Task :src:dist:createDist
> Task :src:dist-check:copyExtraTestLibs UP-TO-DATE

> Task :src:dist-check:batchBUG_62847
Aug 03, 2019 1:15:47 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 
0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Creating summariser <summary>
Created the tree successfully using F:\jenkins\jenkins-slave\workspace\JMeter 
Windows\bin\testfiles\BUG_62847.jmx
Starting the test @ Sat Aug 03 13:15:47 PDT 2019 (1564863347717)
Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port 
4445
summary =      6 in 00:00:00 =   13.9/s Avg:     0 Min:     0 Max:     1 Err:   
  0 (0.00%)
Tidying up ...    @ Sat Aug 03 13:15:48 PDT 2019 (1564863348338)
... end of run
No errors present in the logfile F:\jenkins\jenkins-slave\workspace\JMeter 
Windows\bin\BUG_62847.log (the file is empty)

> Task :src:dist-check:batchBatchTestLocal
Aug 03, 2019 1:15:50 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 
0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Creating summariser <summary>
Created the tree successfully using F:\jenkins\jenkins-slave\workspace\JMeter 
Windows\bin\testfiles\BatchTestLocal.jmx
Starting the test @ Sat Aug 03 13:15:50 PDT 2019 (1564863350727)
Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port 
4445

> Task :src:protocol:http:test

org.apache.jmeter.protocol.http.sampler.SamplingNamingTest > testBug63364[Run 
0: implementation:HttpClient4] FAILED
    java.lang.AssertionError: We should have at least one sample result, we had 
none
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at 
org.apache.jmeter.protocol.http.sampler.SamplingNamingTest.testBug63364(SamplingNamingTest.java:55)

org.apache.jmeter.protocol.http.sampler.SamplingNamingTest > testBug63364[Run 
1: implementation:Java] FAILED
    java.lang.AssertionError: We should have at least one sample result, we had 
none
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at 
org.apache.jmeter.protocol.http.sampler.SamplingNamingTest.testBug63364(SamplingNamingTest.java:55)

596 tests completed, 2 failed

> Task :src:protocol:http:test FAILED

> Task :src:dist-check:batchBatchTestLocal
summary +     55 in 00:00:40 =    1.4/s Avg:   107 Min:     5 Max:   235 Err:   
  8 (14.55%) Active: 1 Started: 2 Finished: 1
summary +     78 in 00:00:11 =    7.4/s Avg:   131 Min:     0 Max:   252 Err:   
  8 (10.26%) Active: 0 Started: 1 Finished: 1
summary =    133 in 00:00:51 =    2.6/s Avg:   121 Min:     0 Max:   252 Err:   
 16 (12.03%)
Tidying up ...    @ Sat Aug 03 13:16:41 PDT 2019 (1564863401978)
... end of run
No errors present in the logfile F:\jenkins\jenkins-slave\workspace\JMeter 
Windows\bin\BatchTestLocal.log (the file is empty)

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':src:protocol:http:test'.
> There were failing tests. See the report at: 
> file:///F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/src/protocol/http/build/reports/tests/test/index.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with 
Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See 
https://docs.gradle.org/5.5.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2m 11s
156 actionable tasks: 63 executed, 93 up-to-date
Could not open/create prefs root node Software\JavaSoft\Prefs at root 
0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

Reply via email to