Build failed in Jenkins: JMeter Windows #1495

2019-09-28 Thread Apache Jenkins Server
See 


Changes:

[sitnikov.vladimir] Fix ParallelResourcesAndIpSource for Windows

--
[...truncated 143.29 KB...]
Thread[/127.0.0.1:60313 to /127.0.0.1:60312 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:182
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:81

org.gradle.internal.remote.internal.hub.InterHubMessageSerializer$MessageReader#read
 at line:64

org.gradle.internal.remote.internal.hub.InterHubMessageSerializer$MessageReader#read
 at line:52
org.gradle.internal.remote.internal.inet.SocketConnection#receive at line:81
org.gradle.internal.remote.internal.hub.MessageHub$ConnectionReceive#run at 
line:268

org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures#onExecute 
at line:64
org.gradle.internal.concurrent.ManagedExecutorImpl$1#run at line:48
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:56
java.lang.Thread#run at line:748


> Task :src:core:check
> Task :src:core:assemble
> Task :src:components:check
> Task :src:components:jar UP-TO-DATE
> Task :src:examples:spotbugsMain SKIPPED
> Task :src:generator:spotbugsMain SKIPPED
> Task :src:generator:spotbugsTest SKIPPED
> Task :src:examples: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:components:assemble UP-TO-DATE
> Task :src:functions:compileJava UP-TO-DATE
> Task :src:functions:compileGroovy NO-SOURCE
> Task :src:functions:classes UP-TO-DATE
> Task :src:functions:jar UP-TO-DATE
> Task :src:protocol:http:compileJava UP-TO-DATE
> Task :src:protocol:http:compileGroovy NO-SOURCE
> Task :src:protocol:http:classes UP-TO-DATE
> Task :src:dist:compileJava NO-SOURCE
> Task :src:functions:compileTestJava UP-TO-DATE
> Task :src:dist:classes UP-TO-DATE
> Task :src:protocol:http:jar UP-TO-DATE
> Task :src:dist:checkstyleMain NO-SOURCE
> Task :src:dist:spotbugsMain SKIPPED
> Task :src:dist:jar UP-TO-DATE
> Task :src:dist-check:compileJava NO-SOURCE
> Task :src:dist-check:compileGroovy NO-SOURCE
> Task :src:dist-check:classes UP-TO-DATE
> Task :src:dist-check:checkstyleMain NO-SOURCE
> Task :src:dist-check:spotbugsMain SKIPPED
> Task :src:dist-check:jar UP-TO-DATE
> Task :src:dist-check:assemble UP-TO-DATE
> Task :src:dist:populateLibs
> Task :src:dist:copyBinLibs
> Task :src:functions:compileTestGroovy
> Task :src:functions:testClasses
> Task :src:functions:testJar UP-TO-DATE
> Task :src:functions:checkstyleMain
> Task :src:functions:checkstyleTest
> Task :src:functions:spotbugsMain SKIPPED
> Task :src:functions:spotbugsTest SKIPPED

> Task :src:protocol:http:compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :src:protocol:http:compileTestGroovy
> Task :src:protocol:http:testClasses
> Task :src:protocol:http:testJar
> Task :src:dist-check:compileTestJava UP-TO-DATE

> Task :src:functions:test

Gradle Test Executor 16 STANDARD_OUT
Setting JMeterHome: F:\jenkins\jenkins-slave\workspace\JMeter 
Windows\src\functions\..\..\.
Initializing Properties: ../.././bin/jmeter.properties

Gradle Test Executor 16 STANDARD_ERROR
Sep 28, 2019 1:53:59 PM java.util.prefs.WindowsPreferences 
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at 
root 0x8002. Windows RegCreateKeyEx(...) returned error code 5.

Gradle Test Executor 16 STANDARD_OUT
JMeterVersion=5.2.0-SNAPSHOT 70ffaf1
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

Build failed in Jenkins: JMeter-trunk #7404

2019-09-28 Thread Apache Jenkins Server
See 


Changes:

[sitnikov.vladimir] Close StringFromFile after testing so Windows could remove 
temporary

[sitnikov.vladimir] Fix ParallelResourcesAndIpSource for Windows

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H29 (ubuntu xenial) in workspace 

No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/jmeter.git 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/jmeter.git
 > git --version # timeout=10
 > git fetch --tags --progress https://gitbox.apache.org/repos/asf/jmeter.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 70ffaf18d9a4c03908dcb8719544d365b3b94e5d 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 70ffaf18d9a4c03908dcb8719544d365b3b94e5d
Commit message: "Fix ParallelResourcesAndIpSource for Windows"
 > git rev-list --no-walk 32f4a74d6a46501f19afa7d8e6d07cecfda91b2d # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
SONAR_HOST_URL=https://sonarcloud.io

[EnvInject] - Variables injected successfully.
[EnvInject] - Mask passwords that will be passed as build parameters.
[Gradle] - Launching build.
[JMeter-trunk] $  
-Djava.awt.headless=true -PignoreSpotBugsFailures=true -Pspotbugs=true 
-PCI=true -Pcoverage=true --stacktrace --profile cleanTest check assemble 
sonarqube
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create GC thread. Out of system resources.
# An error report file with more information is saved as:
# 
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Archiving artifacts
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files 
were found. Configuration error?


Build failed in Jenkins: JMeter Windows #1494

2019-09-28 Thread Apache Jenkins Server
See 


Changes:

[sitnikov.vladimir] Close StringFromFile after testing so Windows could remove 
temporary

--
[...truncated 153.58 KB...]


> Task :src:core:check
> Task :src:core:assemble

> Task :src:components:test

Gradle Test Executor 12 STANDARD_OUT
Setting JMeterHome: F:\jenkins\jenkins-slave\workspace\JMeter 
Windows\src\components\..\..\.
Initializing Properties: ../.././bin/jmeter.properties

Gradle Test Executor 12 STANDARD_ERROR
Sep 28, 2019 1:43:31 PM java.util.prefs.WindowsPreferences 
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at 
root 0x8002. Windows RegCreateKeyEx(...) returned error code 5.

Gradle Test Executor 12 STANDARD_OUT
JMeterVersion=5.2.0-SNAPSHOT 18cd156
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\components
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:components:check
> Task :src:components:testJar UP-TO-DATE
> Task :src:protocol:http:compileTestJava UP-TO-DATE
> Task :src:protocol:http:compileTestGroovy
> Task :src:protocol:http:testClasses
> Task :src:protocol:http:testJar UP-TO-DATE
> Task :src:protocol:http:checkstyleTest
> Task :src:protocol:http:spotbugsTest SKIPPED
> Task :src:functions:compileTestJava
> Task :src:functions:compileTestGroovy
> Task :src:functions:testClasses
> Task :src:functions:testJar
> Task :src:dist-check:compileTestJava UP-TO-DATE
> Task :src:functions:checkstyleTest
> Task :src:functions:spotbugsTest SKIPPED
> Task :src:dist-check:compileTestGroovy
> Task :src:dist-check:testClasses

> Task :src:protocol:http:test

Gradle Test Executor 16 STANDARD_OUT
Setting JMeterHome: F:\jenkins\jenkins-slave\workspace\JMeter 
Windows\src\protocol\http\..\..\..\.
Initializing Properties: ../../.././bin/jmeter.properties

Gradle Test Executor 16 STANDARD_ERROR
Sep 28, 2019 1:43:48 PM java.util.prefs.WindowsPreferences 
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at 
root 0x8002. Windows RegCreateKeyEx(...) returned error code 5.

Gradle Test Executor 16 STANDARD_OUT
JMeterVersion=5.2.0-SNAPSHOT 18cd156
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:dist-check:checkstyleTest
> Task :src:dist-check:spotbugsTest SKIPPED

> Task :src:functions:test

Gradle Test Executor 17 STANDARD_OUT
Setting JMeterHome: F:\jenkins\jenkins-slave\workspace\JMeter 
Windows\src\functions\..\..\.
Initializing Properties: ../.././bin/jmeter.properties

Gradle Test Executor 17 STANDARD_ERROR
Sep 28, 2019 1:43:50 PM java.util.prefs.WindowsPreferences 
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at 
root 0x8002. Windows RegCreateKeyEx(...) returned error code 5.

Gradle Test Executor 17 STANDARD_OUT
JMeterVersion=5.2.0-SNAPSHOT 18cd156
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:functions:check

> Task :src:protocol:http:test

org.apache.jmeter.protocol.http.sampler.ParallelResourcesAndIpSource > 
test(String, WireMockServer, JMeterVariables)[1] FAILED
org.opentest4j.AssertionFailedError: expected: http://wiremock/index.html
response: OK
data.size: 85
data: 
- url: http://wiremock/image1.png
  response: OK
  data.size: 8
  data: content1
- url: http://wiremock/image2.png
  response: OK
  data.size: 8
  data: content2
- url: http://wiremock/image3.png
  response: OK
  

Build failed in Jenkins: JMeter-trunk #7403

2019-09-28 Thread Apache Jenkins Server
See 

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H29 (ubuntu xenial) in workspace 
/home/jenkins/jenkins-slave/workspace/JMeter-trunk
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
ERROR: Workspace has a .git repository, but it appears to be corrupt.
hudson.plugins.git.GitException: Error performing git command
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2051)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2010)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2006)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1638)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1650)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.hasGitRepo(CliGitAPIImpl.java:300)
at hudson.plugins.git.GitAPI.hasGitRepo(GitAPI.java:232)
at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:929)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:903)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:855)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:717)
at hudson.Proc$LocalProc.(Proc.java:257)
at hudson.Proc$LocalProc.(Proc.java:218)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:936)
at hudson.Launcher$ProcStarter.start(Launcher.java:455)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2038)
... 20 more
Cloning the remote Git repository
Cloning repository https://gitbox.apache.org/repos/asf/jmeter.git
 > git init /home/jenkins/jenkins-slave/workspace/JMeter-trunk # timeout=10
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Could not init 
/home/jenkins/jenkins-slave/workspace/JMeter-trunk
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:813)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:605)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to 
H29
at 
hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
at 
hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel.call(Channel.java:955)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
at sun.reflect.GeneratedMethodAccessor1084.invoke(Unknown 
Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
at 

Build failed in Jenkins: JMeter Windows #1493

2019-09-28 Thread Apache Jenkins Server
See 

--
[...truncated 142.50 KB...]
> Task :src:components:compileTestGroovy
> Task :src:components:testClasses
> Task :src:components:checkstyleTest
> Task :src:components:spotbugsMain SKIPPED
> Task :src:components:spotbugsTest SKIPPED

> Task :src:components:test

Gradle Test Executor 14 STANDARD_OUT
Setting JMeterHome: F:\jenkins\jenkins-slave\workspace\JMeter 
Windows\src\components\..\..\.
Initializing Properties: ../.././bin/jmeter.properties

Gradle Test Executor 14 STANDARD_ERROR
Sep 28, 2019 1:32:42 PM java.util.prefs.WindowsPreferences 
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at 
root 0x8002. Windows RegCreateKeyEx(...) returned error code 5.

Gradle Test Executor 14 STANDARD_OUT
JMeterVersion=5.2.0-SNAPSHOT 32f4a74
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\components
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:core:check
> Task :src:core:assemble
> Task :src:components:check
> Task :src:components:jar
> Task :src:examples:spotbugsMain SKIPPED
> Task :src:examples:spotbugsTest SKIPPED
> Task :src:generator:spotbugsMain 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
> Task :src:components:assemble
SocketTimeoutException: Downloading key e57428da9e879e7d for 
com.helger:ph-css:6@jar.asc (attempt 1 of 40, 162.213.33.9, 
https://keyserver.ubuntu.com)

> Task :src:functions:compileJava
Note: F:\jenkins\jenkins-slave\workspace\JMeter 
Windows\src\functions\src\main\java\org\apache\jmeter\functions\StringFromFile.java
 uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :src:functions:compileGroovy NO-SOURCE
> Task :src:functions:classes
> Task :src:functions:jar
> Task :src:functions:compileTestJava
> Task :src:functions:compileTestGroovy
> Task :src:functions:testClasses
> Task :src:functions:testJar

> Task :src:protocol:http:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: F:\jenkins\jenkins-slave\workspace\JMeter 
Windows\src\protocol\http\src\main\java\org\apache\jmeter\protocol\http\sampler\HTTPHC4Impl.java
 uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :src:functions:checkstyleMain
> Task :src:protocol:http:compileGroovy NO-SOURCE
> Task :src:protocol:http:classes
> Task :src:dist:compileJava NO-SOURCE
> Task :src:dist:classes UP-TO-DATE
> Task :src:dist:checkstyleMain NO-SOURCE
> Task :src:dist:jar
> Task :src:functions:checkstyleTest
> Task :src:functions:spotbugsMain SKIPPED
> Task :src:functions:spotbugsTest SKIPPED
> Task :src:protocol:http:jar
> Task :src:dist-check:compileJava NO-SOURCE
> Task :src:dist-check:compileGroovy NO-SOURCE
> Task :src:dist-check:classes UP-TO-DATE
> Task :src:dist-check:checkstyleMain NO-SOURCE
> Task :src:dist-check:spotbugsMain SKIPPED
> Task :src:dist-check:jar
> Task :src:dist-check:assemble

> Task :src:functions:test

Gradle Test Executor 15 STANDARD_OUT
Setting JMeterHome: F:\jenkins\jenkins-slave\workspace\JMeter 
Windows\src\functions\..\..\.
Initializing Properties: ../.././bin/jmeter.properties

Gradle Test Executor 15 STANDARD_ERROR
Sep 28, 2019 1:33:08 PM java.util.prefs.WindowsPreferences 
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at 
root 0x8002. Windows RegCreateKeyEx(...) returned error code 5.

Gradle Test Executor 15 STANDARD_OUT
JMeterVersion=5.2.0-SNAPSHOT 32f4a74
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:protocol:http:compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :src:dist:javadocAggregate
javadoc: warning - Multiple sources 

Build failed in Jenkins: JMeter-trunk #7402

2019-09-28 Thread Apache Jenkins Server
See 

--
Started by user vladimirsitnikov
[EnvInject] - Loading node environment variables.
Building remotely on H29 (ubuntu xenial) in workspace 

No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/jmeter.git 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/jmeter.git
 > git --version # timeout=10
 > git fetch --tags --progress https://gitbox.apache.org/repos/asf/jmeter.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 32f4a74d6a46501f19afa7d8e6d07cecfda91b2d 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 32f4a74d6a46501f19afa7d8e6d07cecfda91b2d
FATAL: Could not checkout 32f4a74d6a46501f19afa7d8e6d07cecfda91b2d
java.io.IOException: error=11, Resource temporarily unavailable
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
Caused: java.io.IOException: Cannot run program "git" (in directory 
": error=11, Resource 
temporarily unavailable
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at hudson.Proc$LocalProc.(Proc.java:249)
at hudson.Proc$LocalProc.(Proc.java:218)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:936)
at hudson.Launcher$ProcStarter.start(Launcher.java:455)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2038)
Caused: hudson.plugins.git.GitException: Error performing command: git checkout 
-f 32f4a74d6a46501f19afa7d8e6d07cecfda91b2d
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2049)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$900(CliGitAPIImpl.java:72)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:2341)
Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to H29
at 
hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
at 
hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel.call(Channel.java:955)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
at sun.reflect.GeneratedMethodAccessor1084.invoke(Unknown 
Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
at com.sun.proxy.$Proxy137.execute(Unknown Source)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1242)
at hudson.scm.SCM.checkout(SCM.java:504)
at 
hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at 
jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1810)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at 
hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Caused: hudson.plugins.git.GitException: Could not checkout 
32f4a74d6a46501f19afa7d8e6d07cecfda91b2d
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:2365)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 

Build failed in Jenkins: JMeter-trunk #7401

2019-09-28 Thread Apache Jenkins Server
See 

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H29 (ubuntu xenial) in workspace 

No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/jmeter.git 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/jmeter.git
 > git --version # timeout=10
 > git fetch --tags --progress https://gitbox.apache.org/repos/asf/jmeter.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 32f4a74d6a46501f19afa7d8e6d07cecfda91b2d 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 32f4a74d6a46501f19afa7d8e6d07cecfda91b2d
FATAL: Could not checkout 32f4a74d6a46501f19afa7d8e6d07cecfda91b2d
hudson.plugins.git.GitException: Command "git checkout -f 
32f4a74d6a46501f19afa7d8e6d07cecfda91b2d" returned status code 128:
stdout: 
stderr: fatal: unable to create threaded lstat

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2042)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$900(CliGitAPIImpl.java:72)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:2341)
Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to H29
at 
hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
at 
hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel.call(Channel.java:955)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
at sun.reflect.GeneratedMethodAccessor1084.invoke(Unknown 
Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
at com.sun.proxy.$Proxy137.execute(Unknown Source)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1242)
at hudson.scm.SCM.checkout(SCM.java:504)
at 
hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at 
jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1810)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at 
hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Caused: hudson.plugins.git.GitException: Could not checkout 
32f4a74d6a46501f19afa7d8e6d07cecfda91b2d
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:2365)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Archiving artifacts
[Fast Archiver] Compressed 152.42 MB of artifacts by 41.4% relative to #7400
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, 

 is 13 days old



Re: Eclipse and hamcrest

2019-09-28 Thread Felix Schumacher
I am not really looking at replacing hamcrest with something different
(at the moment).

Felix

Am 28.09.19 um 20:56 schrieb Graham Russell:
> If we were looking at replacements I like Google Truth, it's like AssertJ
> but often with better error messages and with both the code reads more
> naturally than Hamcrest imo e.g.
>
> assertThat(result).isEmpty();
>
> Almost as good as Spock ;)
>
> result.isEmpty()
>
> On Sat, 28 Sep 2019, 17:30 Felix Schumacher, <
> felix.schumac...@internetallee.de> wrote:
>
>> Am 28.09.19 um 17:46 schrieb Vladimir Sitnikov:
 duplicate classpath entries (
>> https://github.com/gradle/gradle/issues/10393
>>> ).
>>>
>>> Is it fixed in Gradle 5.6.2?
>>> Should we update then?
>> I think it is fixed in 5.6.2. And when I change the properties to
>> gradle/wrapper/gradle-wrapper.properties, it seems to generate the
>> classpath entries only once.
>>
>> Felix
>>
>>> Vladimir
>>>


Re: Eclipse and hamcrest

2019-09-28 Thread Graham Russell
If we were looking at replacements I like Google Truth, it's like AssertJ
but often with better error messages and with both the code reads more
naturally than Hamcrest imo e.g.

assertThat(result).isEmpty();

Almost as good as Spock ;)

result.isEmpty()

On Sat, 28 Sep 2019, 17:30 Felix Schumacher, <
felix.schumac...@internetallee.de> wrote:

>
> Am 28.09.19 um 17:46 schrieb Vladimir Sitnikov:
> >> duplicate classpath entries (
> https://github.com/gradle/gradle/issues/10393
> > ).
> >
> > Is it fixed in Gradle 5.6.2?
> > Should we update then?
>
> I think it is fixed in 5.6.2. And when I change the properties to
> gradle/wrapper/gradle-wrapper.properties, it seems to generate the
> classpath entries only once.
>
> Felix
>
> >
> > Vladimir
> >
>


Re: Build failed in Jenkins: JMeter Windows #1477

2019-09-28 Thread Vladimir Sitnikov
Felix>And now it is spotless against windows line endings. I wonder how
will win :)

The files were checked out with LF (I've downloaded
CompareAssertionSpec.groovy) for some reason, and it caused the issue.

For now, I cleaned the workspace and it should work OK.

Vladimir


Build failed in Jenkins: JMeter Windows #1480

2019-09-28 Thread Apache Jenkins Server
See 

--
[...truncated 36.23 KB...]
> Task :src:examples:processResources
> Task :src:examples:processTestResources NO-SOURCE
> Task :src:examples:spotlessJava
> Task :src:examples:spotlessJavaCheck
> Task :src:examples:spotlessCheck
> Task :src:functions:spotlessGroovy
> Task :src:functions:spotlessGroovyCheck
> Task :src:protocol:http:processTestResources
> Task :src:generator:processTestResources NO-SOURCE
> Task :src:generator:spotlessJava
> Task :src:generator:spotlessJavaCheck
> Task :src:generator:spotlessCheck
> Task :src:functions:spotlessJava
> Task :src:functions:spotlessJavaCheck
> Task :src:functions:spotlessCheck
> Task :src:bshclient:checkstyleMain
> Task :src:bshclient:compileTestJava NO-SOURCE
> Task :src:licenses:compileJava NO-SOURCE
> Task :src:bshclient:processTestResources NO-SOURCE
> Task :src:bshclient:testClasses UP-TO-DATE
> Task :src:licenses:processResources NO-SOURCE
> Task :src:licenses:classes UP-TO-DATE
> Task :src:components:spotlessJava
> Task :src:components:spotlessJavaCheck
> Task :src:components:spotlessCheck
> Task :src:bshclient:checkstyleTest NO-SOURCE
> Task :src:licenses:checkstyleMain NO-SOURCE
> Task :src:bshclient:spotbugsMain SKIPPED
> Task :src:bshclient:spotbugsTest SKIPPED
> Task :src:protocol:compileJava NO-SOURCE
> Task :src:licenses:compileTestJava NO-SOURCE
> Task :src:protocol:processResources NO-SOURCE
> Task :src:protocol:classes UP-TO-DATE
> Task :src:protocol:checkstyleMain NO-SOURCE
> Task :src:licenses:processTestResources NO-SOURCE
> Task :src:protocol:compileTestJava NO-SOURCE
> Task :src:licenses:testClasses UP-TO-DATE
> Task :src:licenses:checkstyleTest NO-SOURCE
> Task :src:licenses:spotbugsMain SKIPPED
> Task :src:licenses:spotbugsTest SKIPPED
> Task :src:bshclient:spotlessJava
> Task :src:bshclient:spotlessJavaCheck
> Task :src:bshclient:spotlessCheck
> Task :src:bshclient:test NO-SOURCE
> Task :src:bshclient:check
> Task :src:protocol:processTestResources NO-SOURCE
> Task :src:protocol:testClasses UP-TO-DATE
> Task :src:licenses:spotlessJava
> Task :src:licenses:spotlessJavaCheck
> Task :src:licenses:spotlessCheck
> Task :src:protocol:checkstyleTest NO-SOURCE
> Task :src:protocol:spotbugsMain SKIPPED
> Task :src:protocol:spotbugsTest SKIPPED
> Task :src:licenses:test NO-SOURCE
> Task :src:protocol:spotlessJava
> Task :src:protocol:spotlessJavaCheck
> Task :src:protocol:spotlessCheck
> Task :src:jorphan:compileTestJava
> Task :src:licenses:check
> Task :src:protocol:test NO-SOURCE
> Task :src:release:compileJava NO-SOURCE
> Task :src:release:processResources NO-SOURCE
> Task :src:release:classes UP-TO-DATE
> Task :src:protocol:check
> Task :src:bshclient:jar
> Task :src:release:checkstyleMain NO-SOURCE
> Task :src:release:compileTestJava NO-SOURCE
> Task :src:release:processTestResources NO-SOURCE
> Task :src:release:testClasses UP-TO-DATE
> Task :src:release:checkstyleTest NO-SOURCE
> Task :src:release:spotbugsMain SKIPPED
> Task :src:release:spotbugsTest SKIPPED
> Task :src:release:spotlessJava
> Task :src:release:spotlessJavaCheck
> Task :src:release:spotlessCheck
> Task :src:release:test NO-SOURCE
> Task :src:release:check
> Task :src:protocol:ftp:spotlessJava
> Task :src:protocol:ftp:spotlessJavaCheck
> Task :src:protocol:ftp:spotlessCheck
> Task :src:protocol:http:spotlessGroovy
> Task :src:protocol:http:spotlessGroovyCheck
> Task :src:launcher:checkstyleMain
> Task :src:launcher:compileTestJava NO-SOURCE
> Task :src:launcher:processTestResources NO-SOURCE
> Task :src:launcher:testClasses UP-TO-DATE
> Task :src:launcher:checkstyleTest NO-SOURCE
> Task :src:launcher:spotbugsMain SKIPPED
> Task :src:launcher:spotbugsTest SKIPPED
> Task :src:testkit:checkstyleMain
> Task :src:testkit:compileTestJava NO-SOURCE
> Task :src:testkit:processTestResources NO-SOURCE
> Task :src:testkit:testClasses UP-TO-DATE
> Task :src:launcher:spotlessJava
> Task :src:launcher:spotlessJavaCheck
> Task :src:launcher:spotlessCheck
> Task :src:testkit:checkstyleTest NO-SOURCE
> Task :src:launcher:test NO-SOURCE
> Task :src:launcher:check
> Task :src:testkit:checkstyleTestFixtures NO-SOURCE
> Task :src:testkit:spotbugsMain SKIPPED
> Task :src:testkit:spotbugsTest SKIPPED
> Task :src:testkit:spotbugsTestFixtures SKIPPED
> Task :src:testkit:spotlessJava
> Task :src:testkit:spotlessJavaCheck
> Task :src:testkit:spotlessCheck
> Task :src:testkit:test NO-SOURCE
> Task :src:testkit:check
> Task :src:protocol:jdbc:spotlessGroovy
> Task :src:protocol:jdbc:spotlessGroovyCheck
> Task :src:protocol:java:spotlessJava
> Task :src:protocol:java:spotlessJavaCheck
> Task :src:protocol:java:spotlessCheck
> Task :src:protocol:jdbc:spotlessJava
> Task :src:protocol:jdbc:spotlessJavaCheck
> Task :src:protocol:jdbc:spotlessCheck
> Task :src:protocol:junit:spotlessJava
> Task :src:protocol:junit:spotlessJavaCheck
> Task :src:protocol:junit:spotlessCheck
> Task 

Build failed in Jenkins: JMeter Windows #1479

2019-09-28 Thread Apache Jenkins Server
See 

--
[...truncated 38.65 KB...]
  - *\n
  - * Unless required by applicable law or agreed to in writing, 
software\n
  - * distributed under the License is distributed on an "AS IS" 
BASIS,\n
  - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
implied.\n
  - * See the License for the specific language governing permissions 
and\n
  - * limitations under the License.\n
  - *\n
  - */\n
  -\n
  -package org.apache.jmeter.gui;\n
  -\n
  -import org.apache.jmeter.gui.tree.JMeterTreeListener\n
  -import org.apache.jmeter.gui.tree.JMeterTreeModel\n
  -import org.apache.jmeter.junit.spock.JMeterSpec\n
  -\n
  -import spock.lang.IgnoreIf\n
  -\n
  -@IgnoreIf({ JMeterSpec.isHeadless() })\n
  -class HtmlReportGUISpec extends JMeterSpec{\n
  -\n
  -def "test HtmlReportUI initialization"(){\n
  -given:\n
  -def HtmlReportUI htmlReportPanel = new HtmlReportUI();\n
  -def JMeterTreeModel treeModel = new JMeterTreeModel();\n
  -def JMeterTreeListener treeListener = new 
JMeterTreeListener(treeModel);\n
  -GuiPackage.initInstance(treeListener, treeModel);\n
  -GuiPackage.getInstance().setMainFrame(new 
MainFrame(treeModel, treeListener));\n
  -when:\n
  -
htmlReportPanel.showInputDialog(GuiPackage.getInstance().getMainFrame())\n
  -Thread.sleep(50) // 
https://bugs.openjdk.java.net/browse/JDK-5109571\n
  -htmlReportPanel.messageDialog.setVisible(false)\n
  -then:\n
  -"" == htmlReportPanel.csvFilePathTextField.getText()\n
  -"" == 
htmlReportPanel.userPropertiesFilePathTextField.getText()\n
  -"" == 
htmlReportPanel.outputDirectoryPathTextField.getText()\n
  -"" == htmlReportPanel.reportArea.getText()\n
  -1 == 
htmlReportPanel.messageDialog.getComponents().length;\n
  -}\n
  -}\n
  ... (48 more lines that didn't fit)
  Run 'gradlew spotlessApply' to fix these violations.

* 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.
==

2: Task failed with an exception.
---
* What went wrong:
Execution failed for task ':src:bshclient:spotlessJava'.
> The following files had format violations:
  src\bshclient\src\main\java\org\apache\jmeter\util\BeanShellClient.java
  @@ -1,112 +1,112 @@
  -/*\n
  - * Licensed to the Apache Software Foundation (ASF) under one or 
more\n
  - * contributor license agreements.  See the NOTICE file distributed 
with\n
  - * this work for additional information regarding copyright 
ownership.\n
  - * The ASF licenses this file to You under the Apache License, 
Version 2.0\n
  - * (the "License"); you may not use this file except in compliance 
with\n
  - * the License.  You may obtain a copy of the License at\n
  - *\n
  - *   http://www.apache.org/licenses/LICENSE-2.0\n
  - *\n
  - * Unless required by applicable law or agreed to in writing, 
software\n
  - * distributed under the License is distributed on an "AS IS" 
BASIS,\n
  - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
implied.\n
  - * See the License for the specific language governing permissions 
and\n
  - * limitations under the License.\n
  - *\n
  - */\n
  -\n
  -package org.apache.jmeter.util;\n
  -\n
  -import java.io.FileReader;\n
  -import java.io.IOException;\n
  -import java.io.InputStream;\n
  -import java.io.InputStreamReader;\n
  -import java.io.OutputStream;\n
  -import java.net.Socket;\n
  -\n
  -// N.B. Do not call any JMeter methods; the jar is standalone\n
  -\n
  -\n
  -/**\n
  - * Implements a client that can talk to the JMeter BeanShell 
server.\n
  - */\n
  -public class BeanShellClient {\n
  -\n
  -private static final int MINARGS = 3;\n
  -\n
  -public static void main(String [] args) throws Exception{\n
  -if (args.length < MINARGS){\n
  -System.out.println("Please provide "+MINARGS+" or more 
arguments:");\n
  -System.out.println("serverhost serverport filename [arg1 
arg2 ...]");\n
  -

Re: Build failed in Jenkins: JMeter Windows #1477

2019-09-28 Thread Felix Schumacher
And now it is spotless against windows line endings. I wonder how will win :)

Felix 

Am 28. September 2019 19:30:25 MESZ schrieb Apache Jenkins Server 
:
>See
>
>
>Changes:
>
>[pmouawad] Suite
>
>[pmouawad] Correct cleanup
>
>[pmouawad] JOrphanUtils: add random alphanumeric password generator
>
>[pmouawad] Bug 63355 - View Results Tree: Browser view option is not
>Available with
>
>[sitnikov.vladimir] Bump checksum-dependency-plugin to 1.29.0 for
>parallel PGP key
>
>[pmouawad] Use Parameterized test Fix some bugs
>
>[pmouawad] Improvements:
>
>[pmouawad] Modify 2 tests to test custom port setting
>
>[pmouawad] Fix checkstyle error on line length
>
>[pmouawad] Full rework More tests Improve docs
>
>[pmouawad] Fix unparsed --request Fix unhandled --url
>
>[pmouawad] fix space
>
>[pmouawad] Fix performance issue related to ObjectMapper instanciation
>(thanks
>
>[pmouawad] Replace boolean by enum for better readability as per
>Vladimir
>
>[pmouawad] Fix SaveService hash Improve failure messages
>
>[pmouawad] Mention implementor in release notes
>
>[sitnikov.vladimir] Upgrade to Gradle 5.6.1
>
>[sitnikov.vladimir] Build javadoc on Travis
>
>[sitnikov.vladimir] Fix javadoc errors
>
>[sitnikov.vladimir] Move to JUnit5 for JUnit test execution
>
>[sitnikov.vladimir] Rework ResponseDecompression test to use WireMock
>for gzip/nocompression
>
>[sitnikov.vladimir] Add "./gradlew checkstyle" task to simplify manual
>execution
>
>[sitnikov.vladimir] Rework Bug52310 to WireMock
>
>[pmouawad] Add JMESPath Tester to View Results Tree (#500)
>
>[sitnikov.vladimir] Move "DNS with unavailable resolver" test to JUnit
>
>[sitnikov.vladimir] Reduce timeouts in batch tests
>
>[sitnikov.vladimir] Enable concurrent execution of certain tests
>
>[sitnikov.vladimir] Remove cp1252-encoded files from Git control
>
>[sitnikov.vladimir] Add Spotless for import order verification and
>formatting of the code
>
>[sitnikov.vladimir] Add ./gradlew style task for quick code format and
>verification
>
>[sitnikov.vladimir] StringBuilder() to + and some formatting
>
>[sitnikov.vladimir] Use Lambda for EntityResolver
>
>[sitnikov.vladimir] Cleaned up Template#equals and added more tests.
>
>[sitnikov.vladimir] Remove hashcode inequality tests because hashcodes
>might collide by
>
>[sitnikov.vladimir] Used concat instead of String.format and removed
>extra space.
>
>[sitnikov.vladimir] Verify Template#equals/hashCode with EqualsVerifier
>
>[sitnikov.vladimir] Refactor HttpMetricsSenderTest to WireMock
>
>[sitnikov.vladimir] TestKeyToolUtils modifies keystore, so test methods
>must not be executed
>
>[sitnikov.vladimir] Update jackson dependency to 2.9.10 (#508)
>
>[sitnikov.vladimir] Add test with fr_FR locale in Travis
>
>[felix.schumacher] Align assert methods with rest of the code
>
>[felix.schumacher] Guard debug log messages
>
>[felix.schumacher] Javadoc: add description for param tag
>
>[felix.schumacher] Synchronize access to variable on read
>
>[felix.schumacher] Rename type to comply with naming conventions
>
>[felix.schumacher] Extract common code to simplify method
>
>[felix.schumacher] Remove unused arguments from private method
>
>[felix.schumacher] Simplify method by extracting parts of code
>
>[felix.schumacher] Log errors at error level
>
>[felix.schumacher] Revert to correct logic for detecting lists
>
>[felix.schumacher] Simplify process method by extracting code into
>private methods
>
>[felix.schumacher] If no JSON Response can be found assume an empty
>string
>
>[sitnikov.vladimir] Add a default timeout of 2 minutes per test
>
>[sitnikov.vladimir] Update Hamcrest to 2.1
>
>[sitnikov.vladimir] Increase "batch server" startup timeout to 15sec
>
>[felix.schumacher] Update gradle to 5.6.2
>
>[sitnikov.vladimir] Remove new SecureRandom().generateSeed(128) as it
>exhausts entropy
>
>[sitnikov.vladimir] Use lazy initialization for
>JOrphanUtils#SECURE_RANDOM
>
>--
>[...truncated 4.63 KB...]
>> Task :buildSrc:jar
>:jar: No valid plugin descriptors were found in META-INF/gradle-plugins
>
>> Task :buildSrc:assemble
>> Task :buildSrc:compileTestKotlin NO-SOURCE
>> Task :buildSrc:compileTestJava NO-SOURCE
>> Task :buildSrc:compileTestGroovy NO-SOURCE
>> Task :buildSrc:processTestResources NO-SOURCE
>> Task :buildSrc:testClasses UP-TO-DATE
>> Task :buildSrc:validateTaskProperties
>> Task :buildSrc:batchtest:pluginDescriptors
>> Task :buildSrc:batchtest:processResources
>> Task :buildSrc:batchtest:processTestResources NO-SOURCE
>> Task :buildSrc:batchtest:compileKotlin
>> Task :buildSrc:batchtest:compileJava NO-SOURCE
>> Task :buildSrc:batchtest:classes
>> Task :buildSrc:batchtest:inspectClassesForKotlinIC
>> Task :buildSrc:batchtest:jar
>> Task :buildSrc:batchtest:assemble
>> Task :buildSrc:batchtest:compileTestKotlin NO-SOURCE
>> Task :buildSrc:pluginUnderTestMetadata
>> Task :buildSrc:test NO-SOURCE
>> Task 

Build failed in Jenkins: JMeter Windows #1478

2019-09-28 Thread Apache Jenkins Server
See 

--
[...truncated 2.81 KB...]
> Task :buildSrc:compileGroovy NO-SOURCE
> Task :buildSrc:pluginDescriptors UP-TO-DATE
> Task :buildSrc:processResources NO-SOURCE
> Task :buildSrc:classes UP-TO-DATE
> Task :buildSrc:inspectClassesForKotlinIC UP-TO-DATE
> Task :buildSrc:jar UP-TO-DATE
> Task :buildSrc:assemble UP-TO-DATE
> Task :buildSrc:compileTestKotlin NO-SOURCE
> Task :buildSrc:compileTestJava NO-SOURCE
> Task :buildSrc:compileTestGroovy NO-SOURCE
> Task :buildSrc:processTestResources NO-SOURCE
> Task :buildSrc:testClasses UP-TO-DATE
> Task :buildSrc:validateTaskProperties UP-TO-DATE
> Task :buildSrc:batchtest:compileKotlin UP-TO-DATE
> Task :buildSrc:batchtest:compileJava NO-SOURCE
> Task :buildSrc:batchtest:pluginDescriptors UP-TO-DATE
> Task :buildSrc:batchtest:processResources UP-TO-DATE
> Task :buildSrc:batchtest:classes UP-TO-DATE
> Task :buildSrc:batchtest:inspectClassesForKotlinIC UP-TO-DATE
> Task :buildSrc:batchtest:jar UP-TO-DATE
> Task :buildSrc:batchtest:assemble UP-TO-DATE
> Task :buildSrc:batchtest:compileTestKotlin NO-SOURCE
> Task :buildSrc:pluginUnderTestMetadata UP-TO-DATE
> Task :buildSrc:test NO-SOURCE
> Task :buildSrc:check UP-TO-DATE
> Task :buildSrc:build UP-TO-DATE
> Task :buildSrc:batchtest:pluginUnderTestMetadata UP-TO-DATE
> Task :buildSrc:batchtest:compileTestJava NO-SOURCE
> Task :buildSrc:batchtest:processTestResources NO-SOURCE
> Task :buildSrc:batchtest:testClasses UP-TO-DATE
> Task :buildSrc:batchtest:test NO-SOURCE
> Task :buildSrc:batchtest:validateTaskProperties UP-TO-DATE
> Task :buildSrc:batchtest:check UP-TO-DATE
> Task :buildSrc:batchtest:build UP-TO-DATE
checksum-dependency elapsed time: 1029ms, configurations processed: 30 (add 
-PchecksumTimingsPrint to print detailed timings)

> Configure project :
Building JMeter 5.2.0-SNAPSHOT

> Task :src:bom:check UP-TO-DATE
> Task :compileJava NO-SOURCE
> Task :src:core:versionClass UP-TO-DATE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE
> Task :src:bshclient:compileJava UP-TO-DATE
> Task :src:bshclient:processResources NO-SOURCE
> Task :src:bshclient:classes UP-TO-DATE
> Task :src:launcher:compileJava UP-TO-DATE
> Task :checkstyleMain NO-SOURCE
> Task :compileTestJava NO-SOURCE
> Task :processTestResources NO-SOURCE
> Task :testClasses UP-TO-DATE
> Task :checkstyleTest NO-SOURCE
> Task :src:testkit:compileJava UP-TO-DATE
> Task :src:launcher:processResources UP-TO-DATE
> Task :src:launcher:classes UP-TO-DATE
> Task :src:testkit:processResources NO-SOURCE
> Task :src:testkit:classes UP-TO-DATE
> Task :src:components:processResources UP-TO-DATE
> Task :src:launcher:jar UP-TO-DATE
> Task :src:testkit:jar UP-TO-DATE
> Task :src:components:processTestResources UP-TO-DATE
> Task :src:jorphan:compileJava UP-TO-DATE
> Task :src:config:compileJava NO-SOURCE
> Task :src:testkit:compileTestFixturesJava NO-SOURCE
> Task :src:jorphan:compileGroovy NO-SOURCE
> Task :src:config:processResources NO-SOURCE
> Task :src:config:classes UP-TO-DATE
> Task :src:testkit:processTestFixturesResources NO-SOURCE
> Task :src:testkit:testFixturesClasses UP-TO-DATE
> Task :src:config:checkstyleMain NO-SOURCE
> Task :src:config:compileTestJava NO-SOURCE
> Task :src:config:processTestResources NO-SOURCE
> Task :src:config:testClasses UP-TO-DATE
> Task :src:config:checkstyleTest NO-SOURCE
> Task :src:config:spotbugsMain SKIPPED
> Task :src:config:spotbugsTest SKIPPED
> Task :src:testkit:testFixturesJar UP-TO-DATE
> Task :src:core:processResources UP-TO-DATE
> Task :src:dist:processResources NO-SOURCE
> Task :src:jorphan:processResources UP-TO-DATE
> Task :src:core:processTestResources UP-TO-DATE
> Task :src:jorphan:classes UP-TO-DATE
> Task :src:jorphan:jar UP-TO-DATE
> Task :src:components:spotlessGroovy
> Task :src:components:spotlessGroovyCheck
> Task :src:config:spotlessJava
> Task :src:config:spotlessJavaCheck
> Task :src:config:spotlessCheck
> Task :src:config:test NO-SOURCE
> Task :src:config:check
> Task :src:functions:processResources
> Task :src:protocol:ftp:processResources NO-SOURCE
> Task :src:protocol:ftp:processTestResources NO-SOURCE
> Task :src:testkit-wiremock:compileJava UP-TO-DATE
> Task :src:bshclient:checkstyleMain UP-TO-DATE
> Task :src:testkit-wiremock:processResources NO-SOURCE
> Task :src:testkit-wiremock:classes UP-TO-DATE
> Task :src:bshclient:compileTestJava NO-SOURCE
> Task :gitProps
> Task :src:bshclient:processTestResources NO-SOURCE
> Task :src:bshclient:testClasses UP-TO-DATE
> Task :src:core:spotlessGroovy FAILED
> Task :src:bshclient:checkstyleTest NO-SOURCE
> Task :src:functions:processTestResources
> Task :src:testkit-wiremock:jar
> Task :rat UP-TO-DATE
> Task :src:protocol:http:processResources
> Task :src:components:spotlessJava FAILED
> Task :src:jorphan:compileTestJava
checksum-dependency elapsed time: 2497ms, configurations processed: 78 (add 
-PchecksumTimingsPrint to print 

Re: build failures on jenkins

2019-09-28 Thread Vladimir Sitnikov
Ok,

The key offender there was new SecureRandom().generateSeed(128)
The test launches JMeter multiple times, and it caused lots of
"generateSeed(128)" calls.

I've removed excessive generateSeed(128), and I've made the initialization
lazy.

The stacktrace in question was is
"main" #1 prio=5 os_prio=0 tid=0x7f507400c800 nid=0x33d2 runnable
[0x7f507aaa]
   java.lang.Thread.State: RUNNABLE
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:255)
at
sun.security.provider.NativePRNG$RandomIO.readFully(NativePRNG.java:424)
at
sun.security.provider.NativePRNG$RandomIO.implGenerateSeed(NativePRNG.java:441)
- locked <0xffb11238> (a java.lang.Object)
at
sun.security.provider.NativePRNG$RandomIO.access$500(NativePRNG.java:331)
at
sun.security.provider.NativePRNG.engineGenerateSeed(NativePRNG.java:226)
at java.security.SecureRandom.generateSeed(SecureRandom.java:533)
at org.apache.jorphan.util.JOrphanUtils.(JOrphanUtils.java:52)
at
org.apache.jmeter.util.JMeterUtils.loadJMeterProperties(JMeterUtils.java:213)
at org.apache.jmeter.JMeter.initializeProperties(JMeter.java:788)
at org.apache.jmeter.JMeter.start(JMeter.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.jmeter.NewDriver.main(NewDriver.java:253)

Vladimir


Build failed in Jenkins: JMeter Windows #1477

2019-09-28 Thread Apache Jenkins Server
See 


Changes:

[pmouawad] Suite

[pmouawad] Correct cleanup

[pmouawad] JOrphanUtils: add random alphanumeric password generator

[pmouawad] Bug 63355 - View Results Tree: Browser view option is not Available 
with

[sitnikov.vladimir] Bump checksum-dependency-plugin to 1.29.0 for parallel PGP 
key

[pmouawad] Use Parameterized test Fix some bugs

[pmouawad] Improvements:

[pmouawad] Modify 2 tests to test custom port setting

[pmouawad] Fix checkstyle error on line length

[pmouawad] Full rework More tests Improve docs

[pmouawad] Fix unparsed --request Fix unhandled --url

[pmouawad] fix space

[pmouawad] Fix performance issue related to ObjectMapper instanciation (thanks

[pmouawad] Replace boolean by enum for better readability as per Vladimir

[pmouawad] Fix SaveService hash Improve failure messages

[pmouawad] Mention implementor in release notes

[sitnikov.vladimir] Upgrade to Gradle 5.6.1

[sitnikov.vladimir] Build javadoc on Travis

[sitnikov.vladimir] Fix javadoc errors

[sitnikov.vladimir] Move to JUnit5 for JUnit test execution

[sitnikov.vladimir] Rework ResponseDecompression test to use WireMock for 
gzip/nocompression

[sitnikov.vladimir] Add "./gradlew checkstyle" task to simplify manual execution

[sitnikov.vladimir] Rework Bug52310 to WireMock

[pmouawad] Add JMESPath Tester to View Results Tree (#500)

[sitnikov.vladimir] Move "DNS with unavailable resolver" test to JUnit

[sitnikov.vladimir] Reduce timeouts in batch tests

[sitnikov.vladimir] Enable concurrent execution of certain tests

[sitnikov.vladimir] Remove cp1252-encoded files from Git control

[sitnikov.vladimir] Add Spotless for import order verification and formatting 
of the code

[sitnikov.vladimir] Add ./gradlew style task for quick code format and 
verification

[sitnikov.vladimir] StringBuilder() to + and some formatting

[sitnikov.vladimir] Use Lambda for EntityResolver

[sitnikov.vladimir] Cleaned up Template#equals and added more tests.

[sitnikov.vladimir] Remove hashcode inequality tests because hashcodes might 
collide by

[sitnikov.vladimir] Used concat instead of String.format and removed extra 
space.

[sitnikov.vladimir] Verify Template#equals/hashCode with EqualsVerifier

[sitnikov.vladimir] Refactor HttpMetricsSenderTest to WireMock

[sitnikov.vladimir] TestKeyToolUtils modifies keystore, so test methods must 
not be executed

[sitnikov.vladimir] Update jackson dependency to 2.9.10 (#508)

[sitnikov.vladimir] Add test with fr_FR locale in Travis

[felix.schumacher] Align assert methods with rest of the code

[felix.schumacher] Guard debug log messages

[felix.schumacher] Javadoc: add description for param tag

[felix.schumacher] Synchronize access to variable on read

[felix.schumacher] Rename type to comply with naming conventions

[felix.schumacher] Extract common code to simplify method

[felix.schumacher] Remove unused arguments from private method

[felix.schumacher] Simplify method by extracting parts of code

[felix.schumacher] Log errors at error level

[felix.schumacher] Revert to correct logic for detecting lists

[felix.schumacher] Simplify process method by extracting code into private 
methods

[felix.schumacher] If no JSON Response can be found assume an empty string

[sitnikov.vladimir] Add a default timeout of 2 minutes per test

[sitnikov.vladimir] Update Hamcrest to 2.1

[sitnikov.vladimir] Increase "batch server" startup timeout to 15sec

[felix.schumacher] Update gradle to 5.6.2

[sitnikov.vladimir] Remove new SecureRandom().generateSeed(128) as it exhausts 
entropy

[sitnikov.vladimir] Use lazy initialization for JOrphanUtils#SECURE_RANDOM

--
[...truncated 4.63 KB...]
> Task :buildSrc:jar
:jar: No valid plugin descriptors were found in META-INF/gradle-plugins

> Task :buildSrc:assemble
> Task :buildSrc:compileTestKotlin NO-SOURCE
> Task :buildSrc:compileTestJava NO-SOURCE
> Task :buildSrc:compileTestGroovy NO-SOURCE
> Task :buildSrc:processTestResources NO-SOURCE
> Task :buildSrc:testClasses UP-TO-DATE
> Task :buildSrc:validateTaskProperties
> Task :buildSrc:batchtest:pluginDescriptors
> Task :buildSrc:batchtest:processResources
> Task :buildSrc:batchtest:processTestResources NO-SOURCE
> Task :buildSrc:batchtest:compileKotlin
> Task :buildSrc:batchtest:compileJava NO-SOURCE
> Task :buildSrc:batchtest:classes
> Task :buildSrc:batchtest:inspectClassesForKotlinIC
> Task :buildSrc:batchtest:jar
> Task :buildSrc:batchtest:assemble
> Task :buildSrc:batchtest:compileTestKotlin NO-SOURCE
> Task :buildSrc:pluginUnderTestMetadata
> Task :buildSrc:test NO-SOURCE
> Task :buildSrc:check
> Task :buildSrc:build
> Task :buildSrc:batchtest:pluginUnderTestMetadata
> Task :buildSrc:batchtest:compileTestJava NO-SOURCE
> Task :buildSrc:batchtest:testClasses UP-TO-DATE
> Task :buildSrc:batchtest:test NO-SOURCE
> Task :buildSrc:batchtest:validateTaskProperties
> Task 

Re: Jenkins build is back to normal : JMeter-trunk #7398

2019-09-28 Thread Felix Schumacher
Hooray

Felix 

Am 28. September 2019 19:20:20 MESZ schrieb Apache Jenkins Server 
:
>See
>


Jenkins build is back to normal : JMeter-trunk #7398

2019-09-28 Thread Apache Jenkins Server
See 




Re: Eclipse and hamcrest

2019-09-28 Thread Vladimir Sitnikov
Mark>From previous experience I would suggest switching to assertj

I had something like that in my mind, however, it seemed too much to switch
to another library for one or two use cases only.

I think behind the lines of enabling Kotlin-based tests, however, that is a
bit different story.

Vladimir


Re: Eclipse and hamcrest

2019-09-28 Thread Vladimir Sitnikov
>duplicate classpath entries (https://github.com/gradle/gradle/issues/10393
).

Is it fixed in Gradle 5.6.2?
Should we update then?

Vladimir


Re: Eclipse and hamcrest

2019-09-28 Thread Felix Schumacher


Am 28.09.19 um 14:41 schrieb Vladimir Sitnikov:
> I was a bit puzzled with java-hamcrest as well.
>
> It looks like we should exclude it: (see
> https://github.com/hamcrest/JavaHamcrest/issues/183#issuecomment-441154016
>  and
> http://hamcrest.org/JavaHamcrest/distributables#upgrading-from-hamcrest-1x )
>
> Felix, would you please check if adding org.hamcrest:hamcrest:2.1
> and org.hamcrest:hamcrest-library:2.1 solves the problem?

That problem seems to be solved with hamcrest:2.1 another problem are
duplicate classpath entries (https://github.com/gradle/gradle/issues/10393).

Felix

>
> Vladimir
>


Build failed in Jenkins: JMeter-trunk #7393

2019-09-28 Thread Apache Jenkins Server
See 

--
Started by user vladimirsitnikov
[EnvInject] - Loading node environment variables.
Building remotely on H35 (ubuntu xenial) in workspace 

No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/jmeter.git 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/jmeter.git
 > git --version # timeout=10
 > git fetch --tags --progress https://gitbox.apache.org/repos/asf/jmeter.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 5cc84c6f8c24b3258235c76164e487d01c6e37aa 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5cc84c6f8c24b3258235c76164e487d01c6e37aa
Commit message: "Update Hamcrest to 2.1"
 > git rev-list --no-walk 5cc84c6f8c24b3258235c76164e487d01c6e37aa # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
SONAR_HOST_URL=https://sonarcloud.io

[EnvInject] - Variables injected successfully.
[EnvInject] - Mask passwords that will be passed as build parameters.
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
[JMeter-trunk] $ /bin/bash -xe /tmp/jenkins4166841518044827303.sh
+ export TERM=linux
+ TERM=linux
+ top -d 1 -n 5
top: failed tty get
Build step 'Execute shell' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Archiving artifacts
[Fast Archiver] Compressed 176.76 MB of artifacts by 36.0% relative to #7348
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, 

 is 57 min old



Build failed in Jenkins: JMeter-trunk #7392

2019-09-28 Thread Apache Jenkins Server
See 

--
Started by user vladimirsitnikov
[EnvInject] - Loading node environment variables.
Building remotely on H35 (ubuntu xenial) in workspace 

No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/jmeter.git 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/jmeter.git
 > git --version # timeout=10
 > git fetch --tags --progress https://gitbox.apache.org/repos/asf/jmeter.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 5cc84c6f8c24b3258235c76164e487d01c6e37aa 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5cc84c6f8c24b3258235c76164e487d01c6e37aa
Commit message: "Update Hamcrest to 2.1"
 > git rev-list --no-walk 5cc84c6f8c24b3258235c76164e487d01c6e37aa # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
SONAR_HOST_URL=https://sonarcloud.io

[EnvInject] - Variables injected successfully.
[EnvInject] - Mask passwords that will be passed as build parameters.
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
[JMeter-trunk] $ /bin/bash -xe /tmp/jenkins5650666937549329160.sh
+ top -d 1 -n 5
TERM environment variable not set.
Build step 'Execute shell' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Archiving artifacts
[Fast Archiver] Compressed 176.76 MB of artifacts by 36.0% relative to #7348
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, 

 is 55 min old



Build failed in Jenkins: JMeter-trunk #7391

2019-09-28 Thread Apache Jenkins Server
See 

--
Started by user vladimirsitnikov
[EnvInject] - Loading node environment variables.
Building remotely on H35 (ubuntu xenial) in workspace 

No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/jmeter.git 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/jmeter.git
 > git --version # timeout=10
 > git fetch --tags --progress https://gitbox.apache.org/repos/asf/jmeter.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 5cc84c6f8c24b3258235c76164e487d01c6e37aa 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5cc84c6f8c24b3258235c76164e487d01c6e37aa
Commit message: "Update Hamcrest to 2.1"
 > git rev-list --no-walk 5cc84c6f8c24b3258235c76164e487d01c6e37aa # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
SONAR_HOST_URL=https://sonarcloud.io

[EnvInject] - Variables injected successfully.
[EnvInject] - Mask passwords that will be passed as build parameters.
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
[JMeter-trunk] $ /bin/bash -xe /tmp/jenkins4771325914106071744.sh
+ top -d 1 -n 5 -o RSS
top: unrecognized field name 'RSS'
Build step 'Execute shell' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Archiving artifacts
[Fast Archiver] Compressed 176.76 MB of artifacts by 36.0% relative to #7348
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, 

 is 53 min old



Build failed in Jenkins: JMeter-trunk #7390

2019-09-28 Thread Apache Jenkins Server
See 

--
Started by user vladimirsitnikov
[EnvInject] - Loading node environment variables.
Building remotely on H35 (ubuntu xenial) in workspace 

No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/jmeter.git 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/jmeter.git
 > git --version # timeout=10
 > git fetch --tags --progress https://gitbox.apache.org/repos/asf/jmeter.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 5cc84c6f8c24b3258235c76164e487d01c6e37aa 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5cc84c6f8c24b3258235c76164e487d01c6e37aa
Commit message: "Update Hamcrest to 2.1"
 > git rev-list --no-walk 5cc84c6f8c24b3258235c76164e487d01c6e37aa # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
SONAR_HOST_URL=https://sonarcloud.io

[EnvInject] - Variables injected successfully.
[EnvInject] - Mask passwords that will be passed as build parameters.
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
[JMeter-trunk] $ /bin/bash -xe /tmp/jenkins8976718472839359464.sh
+ top -d 1 -n 5 -o RSS
top: unrecognized field name 'RSS'
Build step 'Execute shell' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Archiving artifacts
[Fast Archiver] Compressed 176.76 MB of artifacts by 36.0% relative to #7348
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, 

 is 52 min old



Build failed in Jenkins: JMeter-trunk #7389

2019-09-28 Thread Apache Jenkins Server
See 

--
Started by user vladimirsitnikov
[EnvInject] - Loading node environment variables.
Building remotely on H35 (ubuntu xenial) in workspace 

No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/jmeter.git 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/jmeter.git
 > git --version # timeout=10
 > git fetch --tags --progress https://gitbox.apache.org/repos/asf/jmeter.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 5cc84c6f8c24b3258235c76164e487d01c6e37aa 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5cc84c6f8c24b3258235c76164e487d01c6e37aa
Commit message: "Update Hamcrest to 2.1"
 > git rev-list --no-walk 5cc84c6f8c24b3258235c76164e487d01c6e37aa # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
SONAR_HOST_URL=https://sonarcloud.io

[EnvInject] - Variables injected successfully.
[EnvInject] - Mask passwords that will be passed as build parameters.
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
[JMeter-trunk] $ /bin/bash -xe /tmp/jenkins228555465278575160.sh
+ top -h
  procps-ng version 3.3.10
Usage:
  top -hv | -bcHiOSs -d secs -n max -u|U user -p pid(s) -o field -w [cols]
+ top -i 1 -l 5 -o RSS
top: unknown option '1'
Usage:
  top -hv | -bcHiOSs -d secs -n max -u|U user -p pid(s) -o field -w [cols]
Build step 'Execute shell' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Archiving artifacts
[Fast Archiver] Compressed 176.76 MB of artifacts by 36.0% relative to #7348
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, 

 is 50 min old



Build failed in Jenkins: JMeter-trunk #7388

2019-09-28 Thread Apache Jenkins Server
See 

--
Started by user vladimirsitnikov
[EnvInject] - Loading node environment variables.
Building remotely on H35 (ubuntu xenial) in workspace 

No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/jmeter.git 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/jmeter.git
 > git --version # timeout=10
 > git fetch --tags --progress https://gitbox.apache.org/repos/asf/jmeter.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 5cc84c6f8c24b3258235c76164e487d01c6e37aa 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5cc84c6f8c24b3258235c76164e487d01c6e37aa
Commit message: "Update Hamcrest to 2.1"
 > git rev-list --no-walk 5cc84c6f8c24b3258235c76164e487d01c6e37aa # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
SONAR_HOST_URL=https://sonarcloud.io

[EnvInject] - Variables injected successfully.
[EnvInject] - Mask passwords that will be passed as build parameters.
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
[JMeter-trunk] $ /bin/bash -xe /tmp/jenkins7891008602443941411.sh
+ top -i 1 -l 5 -o RSS
top: unknown option '1'
Usage:
  top -hv | -bcHiOSs -d secs -n max -u|U user -p pid(s) -o field -w [cols]
Build step 'Execute shell' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Archiving artifacts
[Fast Archiver] Compressed 176.76 MB of artifacts by 36.0% relative to #7348
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, 

 is 48 min old



Build failed in Jenkins: JMeter-trunk #7387

2019-09-28 Thread Apache Jenkins Server
See 

--
Started by user vladimirsitnikov
[EnvInject] - Loading node environment variables.
Building remotely on H35 (ubuntu xenial) in workspace 

No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/jmeter.git 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/jmeter.git
 > git --version # timeout=10
 > git fetch --tags --progress https://gitbox.apache.org/repos/asf/jmeter.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 5cc84c6f8c24b3258235c76164e487d01c6e37aa 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5cc84c6f8c24b3258235c76164e487d01c6e37aa
Commit message: "Update Hamcrest to 2.1"
 > git rev-list --no-walk 5cc84c6f8c24b3258235c76164e487d01c6e37aa # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
SONAR_HOST_URL=https://sonarcloud.io

[EnvInject] - Variables injected successfully.
[EnvInject] - Mask passwords that will be passed as build parameters.
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
[JMeter-trunk] $ /bin/bash -xe /tmp/jenkins3574401294581282892.sh
+ ping -c 5 asf935.gq1.ygridcore.net
PING asf935.gq1.ygridcore.net (67.195.81.176) 56(84) bytes of data.
64 bytes from asf935.gq1.ygridcore.net (67.195.81.176): icmp_seq=1 ttl=64 
time=0.101 ms
64 bytes from asf935.gq1.ygridcore.net (67.195.81.176): icmp_seq=2 ttl=64 
time=0.085 ms
64 bytes from asf935.gq1.ygridcore.net (67.195.81.176): icmp_seq=3 ttl=64 
time=0.062 ms
64 bytes from asf935.gq1.ygridcore.net (67.195.81.176): icmp_seq=4 ttl=64 
time=0.089 ms
64 bytes from asf935.gq1.ygridcore.net (67.195.81.176): icmp_seq=5 ttl=64 
time=0.066 ms

--- asf935.gq1.ygridcore.net ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3999ms
rtt min/avg/max/mdev = 0.062/0.080/0.101/0.017 ms

real0m4.018s
user0m0.000s
sys 0m0.000s
+ ping -c 5 asf935.gq1.ygridcore.net
PING asf935.gq1.ygridcore.net (67.195.81.176) 56(84) bytes of data.
64 bytes from asf935.gq1.ygridcore.net (67.195.81.176): icmp_seq=1 ttl=64 
time=0.061 ms
64 bytes from asf935.gq1.ygridcore.net (67.195.81.176): icmp_seq=2 ttl=64 
time=0.109 ms
64 bytes from asf935.gq1.ygridcore.net (67.195.81.176): icmp_seq=3 ttl=64 
time=0.063 ms
64 bytes from asf935.gq1.ygridcore.net (67.195.81.176): icmp_seq=4 ttl=64 
time=0.098 ms
64 bytes from asf935.gq1.ygridcore.net (67.195.81.176): icmp_seq=5 ttl=64 
time=0.076 ms

--- asf935.gq1.ygridcore.net ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3996ms
rtt min/avg/max/mdev = 0.061/0.081/0.109/0.020 ms
+ top
TERM environment variable not set.
Build step 'Execute shell' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Archiving artifacts
[Fast Archiver] Compressed 176.76 MB of artifacts by 36.0% relative to #7348
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, 

 is 46 min old



Build failed in Jenkins: JMeter-trunk #7386

2019-09-28 Thread Apache Jenkins Server
See 

--
[...truncated 604.23 KB...]
Starting process 'command '/usr/local/asfpackages/java/jdk1.8.0_191/bin/java''. 
Working directory:  Command: 
/usr/local/asfpackages/java/jdk1.8.0_191/bin/java -Djava.awt.headless=true 
-Djava.rmi.server.hostname=asf935.gq1.ygridcore.net -Duser.region=en -Xss256k 
-XX:MaxMetaspaceSize=128m 
-javaagent:../src/dist-check/build/tmp/expandedArchives/org.jacoco.agent-0.8.2.jar_2aca8b620b19ecd063f63feff8caaa38/jacocoagent.jar=destfile=../src/dist-check/build/jacoco/batchResponseDecompression.exec,append=true,includes=org.apache.jmeter.*:org.apache.jorphan.*:org.apache.commons.cli.*,inclnolocationclasses=false,dumponexit=true,output=file,jmx=false
 -Xmx128m -Dfile.encoding=ISO-8859-1 -Duser.country=US -Duser.language=en 
-Duser.variant -cp 
:/home/jenkins/.gradle/caches/modules-2/files-2.1/org.slf4j/jcl-over-slf4j/1.7.25/f8c32b13ff142a513eeb5b6330b1588dcb2c0461/jcl-over-slf4j-1.7.25.jar:/home/jenkins/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-1.2-api/2.11.1/3aba3398fe064a3eab4331f88161c7480e848418/log4j-1.2-api-2.11.1.jar:/home/jenkins/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-slf4j-impl/2.11.1/4b41b53a3a2d299ce381a69d165381ca19f62912/log4j-slf4j-impl-2.11.1.jar:/home/jenkins/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-core/2.11.1/592a48674c926b01a9a747c7831bcd82a9e6d6e4/log4j-core-2.11.1.jar:/home/jenkins/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-api/2.11.1/268f0fe4df3eefe052b57c87ec48517d64fb2a10/log4j-api-2.11.1.jar:/home/jenkins/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/1.7.25/da76ca59f6a57ee3102f8f9bd9cee742973efa8a/slf4j-api-1.7.25.jar:::::::::::::::::::::::::::
 org.apache.jmeter.NewDriver -pjmeter.properties -q 

 -n -t 

 -i 
 
-j 
 
-l 
 
-Jmodule=Module -Gmodule=Module 
-JCSVFILE=
Successfully started process 'command 
'/usr/local/asfpackages/java/jdk1.8.0_191/bin/java''
Creating summariser 
Created the tree successfully using 

Build failed in Jenkins: JMeter-trunk #7384

2019-09-28 Thread Apache Jenkins Server
See 

--
[...truncated 423.82 KB...]
Thread[/0:0:0:0:0:0:0:1:57068 to /0:0:0:0:0:0:0:1:43874 workers Thread 
2,5,main], stackTrace:sun.misc.Unsafe#park
java.util.concurrent.locks.LockSupport#park at line:175
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject#await 
at line:2039
org.gradle.internal.remote.internal.hub.queue.EndPointQueue#take at line:49
org.gradle.internal.remote.internal.hub.MessageHub$ConnectionDispatch#run 
at line:320

org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures#onExecute 
at line:64
org.gradle.internal.concurrent.ManagedExecutorImpl$1#run at line:48
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:56
java.lang.Thread#run at line:748

Thread[Test worker,5,main], stackTrace:java.lang.Thread#sleep
org.apache.jmeter.samplers.TestSampleResult#testSubResults at line:215
org.apache.jmeter.samplers.TestSampleResult#testSubResults at line:198
org.apache.jmeter.samplers.TestSampleResult#testSubResultsTruePause at 
line:171
sun.reflect.NativeMethodAccessorImpl#invoke0
sun.reflect.NativeMethodAccessorImpl#invoke at line:62
sun.reflect.DelegatingMethodAccessorImpl#invoke at line:43
java.lang.reflect.Method#invoke at line:498
org.junit.runners.model.FrameworkMethod$1#runReflectiveCall at line:50
org.junit.internal.runners.model.ReflectiveCallable#run at line:12
org.junit.runners.model.FrameworkMethod#invokeExplosively at line:47
org.junit.internal.runners.statements.InvokeMethod#evaluate at line:17
org.junit.runners.ParentRunner#runLeaf at line:325
org.junit.runners.BlockJUnit4ClassRunner#runChild at line:78
org.junit.runners.BlockJUnit4ClassRunner#runChild at line:57
org.junit.runners.ParentRunner$3#run at line:290
org.junit.runners.ParentRunner$1#schedule at line:71
org.junit.runners.ParentRunner#runChildren at line:288
org.junit.runners.ParentRunner#access$000 at line:58
org.junit.runners.ParentRunner$2#evaluate at line:268
org.junit.runners.ParentRunner#run at line:363
org.junit.runner.JUnitCore#run at line:137
org.junit.runner.JUnitCore#run at line:115
org.junit.vintage.engine.execution.RunnerExecutor#execute at line:40
org.junit.vintage.engine.VintageTestEngine$$Lambda$174/530737051#accept
java.util.stream.ForEachOps$ForEachOp$OfRef#accept at line:184
java.util.stream.ReferencePipeline$3$1#accept at line:193
java.util.Iterator#forEachRemaining at line:116
java.util.Spliterators$IteratorSpliterator#forEachRemaining at line:1801
java.util.stream.AbstractPipeline#copyInto at line:481
java.util.stream.AbstractPipeline#wrapAndCopyInto at line:471
java.util.stream.ForEachOps$ForEachOp#evaluateSequential at line:151
java.util.stream.ForEachOps$ForEachOp$OfRef#evaluateSequential at line:174
java.util.stream.AbstractPipeline#evaluate at line:234
java.util.stream.ReferencePipeline#forEach at line:418
org.junit.vintage.engine.VintageTestEngine#executeAllChildren at line:80
org.junit.vintage.engine.VintageTestEngine#execute at line:71
org.junit.platform.launcher.core.DefaultLauncher#execute at line:220
org.junit.platform.launcher.core.DefaultLauncher#lambda$execute$6 at 
line:188

org.junit.platform.launcher.core.DefaultLauncher$$Lambda$119/1622551527#accept
org.junit.platform.launcher.core.DefaultLauncher#withInterceptedStreams at 
line:202
org.junit.platform.launcher.core.DefaultLauncher#execute at line:181
org.junit.platform.launcher.core.DefaultLauncher#execute at line:128

org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor#processAllTestClasses
 at line:102

org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor#access$000
 at line:82

org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor#stop
 at line:78
org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor#stop at 
line:61
sun.reflect.NativeMethodAccessorImpl#invoke0
sun.reflect.NativeMethodAccessorImpl#invoke at line:62
sun.reflect.DelegatingMethodAccessorImpl#invoke at line:43
java.lang.reflect.Method#invoke at line:498
org.gradle.internal.dispatch.ReflectionDispatch#dispatch at line:36
org.gradle.internal.dispatch.ReflectionDispatch#dispatch at line:24
org.gradle.internal.dispatch.ContextClassLoaderDispatch#dispatch at line:33

org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler#invoke
 at line:94
com.sun.proxy.$Proxy2#stop
org.gradle.api.internal.tasks.testing.worker.TestWorker#stop at 

Re: Eclipse and hamcrest

2019-09-28 Thread Mark Collin
From previous experience I would suggest switching to assertj. It’s not pulled 
in by as many things so you are less likely to get wierd dependency conflicts 
and it provides useful output when things don’t match.

Also it’s a fluent api so easy to discover the various matcher methods. 

Really worth having a look at IMHO

Sent from my iPhone

> On 28 Sep 2019, at 13:51, Vladimir Sitnikov  
> wrote:
> 
> I was a bit puzzled with java-hamcrest as well.
> 
> It looks like we should exclude it: (see
> https://github.com/hamcrest/JavaHamcrest/issues/183#issuecomment-441154016
> and
> http://hamcrest.org/JavaHamcrest/distributables#upgrading-from-hamcrest-1x )
> 
> Felix, would you please check if adding org.hamcrest:hamcrest:2.1
> and org.hamcrest:hamcrest-library:2.1 solves the problem?
> 
> Vladimir


Re: Eclipse and hamcrest

2019-09-28 Thread Vladimir Sitnikov
I was a bit puzzled with java-hamcrest as well.

It looks like we should exclude it: (see
https://github.com/hamcrest/JavaHamcrest/issues/183#issuecomment-441154016
 and
http://hamcrest.org/JavaHamcrest/distributables#upgrading-from-hamcrest-1x )

Felix, would you please check if adding org.hamcrest:hamcrest:2.1
and org.hamcrest:hamcrest-library:2.1 solves the problem?

Vladimir


Eclipse and hamcrest

2019-09-28 Thread Felix Schumacher
Hi all,

when I currently try to run the test TestJSONPostProcessor in eclipse as
a junit test, it complaints about a missing method
org.hamcrest.CoreMatchers.anyOf(...)

I suspect that this is a result of too many hamcrest implementations/the
wrong order of those implementations.

Felix



Re: [jmeter] 02/03: Revert to correct logic for detecting lists

2019-09-28 Thread Felix Schumacher


Am 28.09.19 um 13:12 schrieb Philippe Mouawad:
> On Saturday, September 28, 2019,  wrote:
>
>> This is an automated email from the ASF dual-hosted git repository.
>>
>> fschumacher pushed a commit to branch master
>> in repository https://gitbox.apache.org/repos/asf/jmeter.git
>>
>> commit 59b599717b2862515bd792564e4d4bc9d3b764f2
>> Author: Felix Schumacher 
>> AuthorDate: Sat Sep 28 12:31:46 2019 +0200
>>
>> Revert to correct logic for detecting lists
>>
>> The important bit here was more than one element, not that the list is
>> not empty.
>> ---
>>  .../org/apache/jmeter/extractor/json/jmespath/JMESPathExtractor.java
>> | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/src/components/src/main/java/org/apache/jmeter/
>> extractor/json/jmespath/JMESPathExtractor.java b/src/components/src/main/
>> java/org/apache/jmeter/extractor/json/jmespath/JMESPathExtractor.java
>> index 7274bcc..cd6325b 100644
>> --- a/src/components/src/main/java/org/apache/jmeter/
>> extractor/json/jmespath/JMESPathExtractor.java
>> +++ b/src/components/src/main/java/org/apache/jmeter/
>> extractor/json/jmespath/JMESPathExtractor.java
>> @@ -82,7 +82,7 @@ public class JMESPathExtractor extends
>> AbstractScopedTestElement
>>  }
>>  List resultList = splitJson(result);
>>  // if more than one value extracted, suffix with "_index"
>> -if (!resultList.isEmpty()) {
>> +if (resultList.size() > 1) {
>
> I don’t think intention was the same here

This is a revert from a change, that I did in one of the commits before.
We want to differentiate here between lists that have more than one
elements and single results.

Felix

>
>>  handleListResult(vars, refName, defaultValue,
>> matchNumber, resultList);
>>  } else {
>>  // else just one value extracted
>>
>>


Re: build failures on jenkins

2019-09-28 Thread sebb
On Sat, 28 Sep 2019 at 10:34, Felix Schumacher
 wrote:
>
> Hi all,
>
> it seems that the builds on jenkins are failing since the last good one
> seven days ago
> (https://builds.apache.org/blue/organizations/jenkins/JMeter-trunk/activity).
> The jobs seem to be getting killed after 30 minutes. The first change
> that reached this limit was
> https://builds.apache.org/blue/organizations/jenkins/JMeter-trunk/detail/JMeter-trunk/7349/pipeline/.

The job has a timelimit of 30 minutes, because normally it takes a lot less.

The timeout should only be increased if the tests really do need
longer to complete.

7348 only took 16mins
looks like that was from ee675911a8a558c0c96bedb85b9096fded95aa4b

I've temporarily flagged 7348/7349 as builds to be kept forever, and
increased the limit to 40 builds so people can check what changed to
cause the build to take so much longer

> Regards
>
>  Felix
>