Build failed in Jenkins: JMeter Windows #1016

2018-02-15 Thread Apache Jenkins Server
See 


Changes:

[fschumacher] We have three header divs (not four), so space them correctly

[fschumacher] JUnitSampler logs exceptions except assertion-failures from test 
cases as warnings.

Contributed by Davide Angelocola (davide.angelocola at fisglobal.com)
Closes #376 on github

[fschumacher] Disable JDK9 compilation for travis, as the compiler has problems 
with some of the jars needed to compile

[fschumacher] JMeter fails to start under Windows when JM_LAUNCH contains spaces

Bugzilla Id: 62107

[fschumacher] Set eol-style to native

--
[...truncated 119.12 KB...]
setproxy:

_get_zipfile:

_check_exists:

_check_jarfile:
 [echo] Checking ftplet-api-1.1.1.jar
 [echo] Deleting ftplet-api-* (excluding ftplet-api-1.1.1.jar)

setproxy:

_get_jarfile:

setproxy:

_get_zipfile:

_check_exists:

_check_jarfile:
 [echo] Checking ftpserver-core-1.1.1.jar
 [echo] Deleting ftpserver-core-* (excluding ftpserver-core-1.1.1.jar)

setproxy:

_get_jarfile:

setproxy:

_get_zipfile:

_check_exists:

_check_jarfile:
 [echo] Checking org.jacoco.ant-0.8.0-nodeps.jar
 [echo] Deleting org.jacoco.ant-0.8.0-nodeps.jar (excluding 
org.jacoco.ant-0.8.0-nodeps.jar)

setproxy:

_get_jarfile:

setproxy:

_get_zipfile:

_check_exists:

_check_jarfile:
 [echo] Checking sonarqube-ant-task-2.5.jar
 [echo] Deleting sonarqube-ant-task-* (excluding sonarqube-ant-task-2.5.jar)

setproxy:

_get_jarfile:

setproxy:

_get_zipfile:

svnCheck:
 [echo] svn.revision=1824362

init-svnVersion:
 [echo] svn.revision = 1824362
 [echo] jmeter.version = r1824362
 [echo] display.version = r1824362
 [echo] implementation.version = r1824362

_check_3rdparty:

_message_3rdParty:

init-version:
 [echo] jmeter.version = r1824362
 [echo] display.version = r1824362
 [echo] implementation.version = r1824362

compile-jorphan:
[javac] Compiling 61 source files to 

[javac] warning: [options] bootstrap class path not set in conjunction with 
-source 1.8
[javac] 1 warning
[javac] An exception has occurred in the compiler (9.0.1). Please file a 
bug against the Java compiler via the Java bug reporting page 
(http://bugreport.java.com) after checking the Bug Database 
(http://bugs.java.com) for duplicates. Include your program and the following 
diagnostic in your report. Thank you.
[javac] java.lang.NullPointerException
[javac] at 
jdk.zipfs/jdk.nio.zipfs.JarFileSystem.getVersionMap(JarFileSystem.java:137)
[javac] at 
jdk.zipfs/jdk.nio.zipfs.JarFileSystem.createVersionedLinks(JarFileSystem.java:112)
[javac] at 
jdk.zipfs/jdk.nio.zipfs.JarFileSystem.(JarFileSystem.java:85)
[javac] at 
jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:134)
[javac] at 
jdk.compiler/com.sun.tools.javac.file.JavacFileManager$ArchiveContainer.(JavacFileManager.java:517)
[javac] at 
jdk.compiler/com.sun.tools.javac.file.JavacFileManager.getContainer(JavacFileManager.java:319)
[javac] at 
jdk.compiler/com.sun.tools.javac.file.JavacFileManager.list(JavacFileManager.java:715)
[javac] at 
jdk.compiler/com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:722)
[javac] at 
jdk.compiler/com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:655)
[javac] at 
jdk.compiler/com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:526)
[javac] at 
jdk.compiler/com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:293)
[javac] at 
jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:633)
[javac] at 
jdk.compiler/com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1120)
[javac] at 
jdk.compiler/com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:810)
[javac] at 
jdk.compiler/com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:344)
[javac] at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:529)
[javac] at 
jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:285)
[javac] at 
jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:300)
[javac] at 
jdk.compiler/com.sun.tools.javac.comp.Enter.complete(Enter.java:570)
[javac] at 
jdk.compiler/com.sun.tools.javac.comp.Enter.main(Enter.java:554)
[javac] at 
jdk.compiler/com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1052)
[javac] at 
jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:923)
[javac] at 
jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:302)
[javac] at 
jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:162)
[javac] at 

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

2018-02-15 Thread Apache Jenkins Server
See 




[GitHub] jmeter issue #376: Logging of JUnitSampler exceptions

2018-02-15 Thread dfa1
Github user dfa1 commented on the issue:

https://github.com/apache/jmeter/pull/376
  
Thanks to you for accepting this change. 

Naturally It would be still useful at info or debug level: the important 
point imho is to see the complete stacktrace when a test throws an exception.  


---


Re: nightly builds (maven upload)

2018-02-15 Thread sebb
On 15 February 2018 at 20:53, Felix Schumacher
 wrote:
> Hi all,
>
> the nightly builds have been moved to a new build node and the compilation
> and tests are working again (jay), but maven upload of the snapshot
> artefacts is failing:
>
> [java] [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy-file (default-cli)
> on project standalone-pom: Failed to deploy artifacts: Could not transfer
> artifact org.apache.jmeter:ApacheJMeter_parent:pom:4.1-20180215.024320-1
> from/to apache.snapshots.https
> (https://repository.apache.org/content/repositories/snapshots): Failed to
> transfer file:
> https://repository.apache.org/content/repositories/snapshots/org/apache/jmeter/ApacheJMeter_parent/4.1-SNAPSHOT/ApacheJMeter_parent-4.1-20180215.024320-1.pom.
> Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]

See above:

The node is not yet set up with the correct karma; contact Infra

> Any idea anyone?
>
> Felix
>


nightly builds (maven upload)

2018-02-15 Thread Felix Schumacher

Hi all,

the nightly builds have been moved to a new build node and the 
compilation and tests are working again (jay), but maven upload of the 
snapshot artefacts is failing:


[java] [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy-file 
(default-cli) on project standalone-pom: Failed to deploy artifacts: 
Could not transfer artifact 
org.apache.jmeter:ApacheJMeter_parent:pom:4.1-20180215.024320-1 from/to 
apache.snapshots.https 
(https://repository.apache.org/content/repositories/snapshots): Failed 
to transfer file: 
https://repository.apache.org/content/repositories/snapshots/org/apache/jmeter/ApacheJMeter_parent/4.1-SNAPSHOT/ApacheJMeter_parent-4.1-20180215.024320-1.pom. 
Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]


Any idea anyone?

Felix



[GitHub] jmeter issue #376: Logging of JUnitSampler exceptions

2018-02-15 Thread FSchumacher
Github user FSchumacher commented on the issue:

https://github.com/apache/jmeter/pull/376
  
Some discussion about the performance impact of the log messages has taken 
place on the dev mailing list.

Would this patch be still useful for you, if we logged the messages at 
debug or info level?


---


Re: svn commit: r1824355 - in /jmeter/trunk: src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java xdocs/changes.xml

2018-02-15 Thread Philippe Mouawad
On Thursday, February 15, 2018, Felix Schumacher <
felix.schumac...@internetallee.de> wrote:

> Am 15.02.2018 um 21:35 schrieb Philippe Mouawad:
>
>> On Thursday, February 15, 2018, Felix Schumacher <
>> felix.schumac...@internetallee.de> wrote:
>>
>> Am Donnerstag, den 15.02.2018, 21:27 +0100 schrieb Philippe Mouawad:
>>>
 Hi Felix,
 Can’t this have an impact on performances leading to a lot of error
 logging
 ?

>>> I don't think that the JUnitSampler is used for performance testing.
>>>
>>
>> I personnaly don’t but I am not sure about its usage.
>>
>
> Me neither.
>
>
>> If it is, I hope that the testers will be smart enough to silence the
>>> logging using the log configuration. Silenced log calls should have no
>>> impact on performance.
>>>
>>
>> I suppose non junior would do.
>>
>
> Should we change the log level to debug, then?


I don’t know.
Or info, supposing user would set warn level for load test but it’s the
same hypothesis.


>
> Felix
>
>
>> Regards,
>>>   Felix
>>>
>>> Regards

 On Thursday, February 15, 2018,  wrote:

 Author: fschumacher
> Date: Thu Feb 15 20:09:16 2018
> New Revision: 1824355
>
> URL: http://svn.apache.org/viewvc?rev=1824355=rev
> Log:
> JUnitSampler logs exceptions except assertion-failures from test
> cases as
> warnings.
>
> Contributed by Davide Angelocola (davide.angelocola at
> fisglobal.com)
> Closes #376 on github
>
> Modified:
>  jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/
> sampler/JUnitSampler.java
>  jmeter/trunk/xdocs/changes.xml
>
> Modified: jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/
> sampler/JUnitSampler.java
> URL: http://svn.apache.org/viewvc/jmeter/trunk/src/junit/org/
> apache/jmeter/protocol/java/sampler/JUnitSampler.java?rev=
> 1824355=1824354=1824355=diff
> 
> ==
> ---
> jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/sampler/JUni
> tSampler.java
> (original)
> +++
> jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/sampler/JUni
> tSampler.java
> Thu Feb 15 20:09:16 2018
> @@ -410,8 +410,10 @@ public class JUnitSampler extends Abstra
>   tr.addFailure(theClazz, afe);
>   } else if (cause != null) {
>   tr.addError(theClazz, cause);
> +log.warn("caught exception", e);
>   } else {
>   tr.addError(theClazz, e);
> +log.warn("caught exception", e);
>   }
>   } catch (IllegalAccessException |
> IllegalArgumentException e)
> {
>   tr.addError(theClazz, e);
>
> Modified: jmeter/trunk/xdocs/changes.xml
> URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.
> xml?rev=1824355=1824354=1824355=diff
> 
> ==
> --- jmeter/trunk/xdocs/changes.xml [utf-8] (original)
> +++ jmeter/trunk/xdocs/changes.xml [utf-8] Thu Feb 15 20:09:16 2018
> @@ -86,6 +86,7 @@ Summary
>
>   Other samplers
>   
> +  376JUnitSampler logs exceptions except assertion-
> failures
> from test cases as warnings. Contributed by Davide Angelocola
> (davide.angelocola at fisglobal.com)
>   
>
>   Controllers
> @@ -174,6 +175,7 @@ Summary
>   
>   Graham Russell (graham at ham1.co.uk)
>   orimarko at gmail.com
> +Davide Angelocola (davide.angelocola at
> fisglobal.com)
>   
>   We also thank bug reporters who helped us improve JMeter.
>   
>
>
>
>
>>
>

-- 
Cordialement.
Philippe Mouawad.


Re: svn commit: r1824355 - in /jmeter/trunk: src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java xdocs/changes.xml

2018-02-15 Thread Felix Schumacher

Am 15.02.2018 um 21:35 schrieb Philippe Mouawad:

On Thursday, February 15, 2018, Felix Schumacher <
felix.schumac...@internetallee.de> wrote:


Am Donnerstag, den 15.02.2018, 21:27 +0100 schrieb Philippe Mouawad:

Hi Felix,
Can’t this have an impact on performances leading to a lot of error
logging
?

I don't think that the JUnitSampler is used for performance testing.


I personnaly don’t but I am not sure about its usage.


Me neither.




If it is, I hope that the testers will be smart enough to silence the
logging using the log configuration. Silenced log calls should have no
impact on performance.


I suppose non junior would do.


Should we change the log level to debug, then?

Felix




Regards,
  Felix


Regards

On Thursday, February 15, 2018,  wrote:


Author: fschumacher
Date: Thu Feb 15 20:09:16 2018
New Revision: 1824355

URL: http://svn.apache.org/viewvc?rev=1824355=rev
Log:
JUnitSampler logs exceptions except assertion-failures from test
cases as
warnings.

Contributed by Davide Angelocola (davide.angelocola at
fisglobal.com)
Closes #376 on github

Modified:
 jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/
sampler/JUnitSampler.java
 jmeter/trunk/xdocs/changes.xml

Modified: jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/
sampler/JUnitSampler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/junit/org/
apache/jmeter/protocol/java/sampler/JUnitSampler.java?rev=
1824355=1824354=1824355=diff

==
---
jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/sampler/JUni
tSampler.java
(original)
+++
jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/sampler/JUni
tSampler.java
Thu Feb 15 20:09:16 2018
@@ -410,8 +410,10 @@ public class JUnitSampler extends Abstra
  tr.addFailure(theClazz, afe);
  } else if (cause != null) {
  tr.addError(theClazz, cause);
+log.warn("caught exception", e);
  } else {
  tr.addError(theClazz, e);
+log.warn("caught exception", e);
  }
  } catch (IllegalAccessException |
IllegalArgumentException e)
{
  tr.addError(theClazz, e);

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.
xml?rev=1824355=1824354=1824355=diff

==
--- jmeter/trunk/xdocs/changes.xml [utf-8] (original)
+++ jmeter/trunk/xdocs/changes.xml [utf-8] Thu Feb 15 20:09:16 2018
@@ -86,6 +86,7 @@ Summary

  Other samplers
  
+  376JUnitSampler logs exceptions except assertion-
failures
from test cases as warnings. Contributed by Davide Angelocola
(davide.angelocola at fisglobal.com)
  

  Controllers
@@ -174,6 +175,7 @@ Summary
  
  Graham Russell (graham at ham1.co.uk)
  orimarko at gmail.com
+Davide Angelocola (davide.angelocola at
fisglobal.com)
  
  We also thank bug reporters who helped us improve JMeter.
  









Re: svn commit: r1824355 - in /jmeter/trunk: src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java xdocs/changes.xml

2018-02-15 Thread Philippe Mouawad
On Thursday, February 15, 2018, Felix Schumacher <
felix.schumac...@internetallee.de> wrote:

> Am Donnerstag, den 15.02.2018, 21:27 +0100 schrieb Philippe Mouawad:
> > Hi Felix,
> > Can’t this have an impact on performances leading to a lot of error
> > logging
> > ?
>
> I don't think that the JUnitSampler is used for performance testing.


I personnaly don’t but I am not sure about its usage.

>
> If it is, I hope that the testers will be smart enough to silence the
> logging using the log configuration. Silenced log calls should have no
> impact on performance.


I suppose non junior would do.

>
> Regards,
>  Felix
>
> >
> > Regards
> >
> > On Thursday, February 15, 2018,  wrote:
> >
> > >
> > > Author: fschumacher
> > > Date: Thu Feb 15 20:09:16 2018
> > > New Revision: 1824355
> > >
> > > URL: http://svn.apache.org/viewvc?rev=1824355=rev
> > > Log:
> > > JUnitSampler logs exceptions except assertion-failures from test
> > > cases as
> > > warnings.
> > >
> > > Contributed by Davide Angelocola (davide.angelocola at
> > > fisglobal.com)
> > > Closes #376 on github
> > >
> > > Modified:
> > > jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/
> > > sampler/JUnitSampler.java
> > > jmeter/trunk/xdocs/changes.xml
> > >
> > > Modified: jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/
> > > sampler/JUnitSampler.java
> > > URL: http://svn.apache.org/viewvc/jmeter/trunk/src/junit/org/
> > > apache/jmeter/protocol/java/sampler/JUnitSampler.java?rev=
> > > 1824355=1824354=1824355=diff
> > > 
> > > ==
> > > ---
> > > jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/sampler/JUni
> > > tSampler.java
> > > (original)
> > > +++
> > > jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/sampler/JUni
> > > tSampler.java
> > > Thu Feb 15 20:09:16 2018
> > > @@ -410,8 +410,10 @@ public class JUnitSampler extends Abstra
> > >  tr.addFailure(theClazz, afe);
> > >  } else if (cause != null) {
> > >  tr.addError(theClazz, cause);
> > > +log.warn("caught exception", e);
> > >  } else {
> > >  tr.addError(theClazz, e);
> > > +log.warn("caught exception", e);
> > >  }
> > >  } catch (IllegalAccessException |
> > > IllegalArgumentException e)
> > > {
> > >  tr.addError(theClazz, e);
> > >
> > > Modified: jmeter/trunk/xdocs/changes.xml
> > > URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.
> > > xml?rev=1824355=1824354=1824355=diff
> > > 
> > > ==
> > > --- jmeter/trunk/xdocs/changes.xml [utf-8] (original)
> > > +++ jmeter/trunk/xdocs/changes.xml [utf-8] Thu Feb 15 20:09:16 2018
> > > @@ -86,6 +86,7 @@ Summary
> > >
> > >  Other samplers
> > >  
> > > +  376JUnitSampler logs exceptions except assertion-
> > > failures
> > > from test cases as warnings. Contributed by Davide Angelocola
> > > (davide.angelocola at fisglobal.com)
> > >  
> > >
> > >  Controllers
> > > @@ -174,6 +175,7 @@ Summary
> > >  
> > >  Graham Russell (graham at ham1.co.uk)
> > >  orimarko at gmail.com
> > > +Davide Angelocola (davide.angelocola at
> > > fisglobal.com)
> > >  
> > >  We also thank bug reporters who helped us improve JMeter.
> > >  
> > >
> > >
> > >
>


-- 
Cordialement.
Philippe Mouawad.


Re: svn commit: r1824355 - in /jmeter/trunk: src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java xdocs/changes.xml

2018-02-15 Thread Felix Schumacher
Am Donnerstag, den 15.02.2018, 21:27 +0100 schrieb Philippe Mouawad:
> Hi Felix,
> Can’t this have an impact on performances leading to a lot of error
> logging
> ?

I don't think that the JUnitSampler is used for performance testing.

If it is, I hope that the testers will be smart enough to silence the
logging using the log configuration. Silenced log calls should have no
impact on performance. 

Regards,
 Felix

> 
> Regards
> 
> On Thursday, February 15, 2018,  wrote:
> 
> > 
> > Author: fschumacher
> > Date: Thu Feb 15 20:09:16 2018
> > New Revision: 1824355
> > 
> > URL: http://svn.apache.org/viewvc?rev=1824355=rev
> > Log:
> > JUnitSampler logs exceptions except assertion-failures from test
> > cases as
> > warnings.
> > 
> > Contributed by Davide Angelocola (davide.angelocola at
> > fisglobal.com)
> > Closes #376 on github
> > 
> > Modified:
> > jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/
> > sampler/JUnitSampler.java
> > jmeter/trunk/xdocs/changes.xml
> > 
> > Modified: jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/
> > sampler/JUnitSampler.java
> > URL: http://svn.apache.org/viewvc/jmeter/trunk/src/junit/org/
> > apache/jmeter/protocol/java/sampler/JUnitSampler.java?rev=
> > 1824355=1824354=1824355=diff
> > 
> > ==
> > ---
> > jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/sampler/JUni
> > tSampler.java
> > (original)
> > +++
> > jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/sampler/JUni
> > tSampler.java
> > Thu Feb 15 20:09:16 2018
> > @@ -410,8 +410,10 @@ public class JUnitSampler extends Abstra
> >  tr.addFailure(theClazz, afe);
> >  } else if (cause != null) {
> >  tr.addError(theClazz, cause);
> > +log.warn("caught exception", e);
> >  } else {
> >  tr.addError(theClazz, e);
> > +log.warn("caught exception", e);
> >  }
> >  } catch (IllegalAccessException |
> > IllegalArgumentException e)
> > {
> >  tr.addError(theClazz, e);
> > 
> > Modified: jmeter/trunk/xdocs/changes.xml
> > URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.
> > xml?rev=1824355=1824354=1824355=diff
> > 
> > ==
> > --- jmeter/trunk/xdocs/changes.xml [utf-8] (original)
> > +++ jmeter/trunk/xdocs/changes.xml [utf-8] Thu Feb 15 20:09:16 2018
> > @@ -86,6 +86,7 @@ Summary
> > 
> >  Other samplers
> >  
> > +  376JUnitSampler logs exceptions except assertion-
> > failures
> > from test cases as warnings. Contributed by Davide Angelocola
> > (davide.angelocola at fisglobal.com)
> >  
> > 
> >  Controllers
> > @@ -174,6 +175,7 @@ Summary
> >  
> >  Graham Russell (graham at ham1.co.uk)
> >  orimarko at gmail.com
> > +Davide Angelocola (davide.angelocola at
> > fisglobal.com)
> >  
> >  We also thank bug reporters who helped us improve JMeter.
> >  
> > 
> > 
> > 


Re: svn commit: r1824355 - in /jmeter/trunk: src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java xdocs/changes.xml

2018-02-15 Thread Philippe Mouawad
Hi Felix,
Can’t this have an impact on performances leading to a lot of error logging
?

Regards

On Thursday, February 15, 2018,  wrote:

> Author: fschumacher
> Date: Thu Feb 15 20:09:16 2018
> New Revision: 1824355
>
> URL: http://svn.apache.org/viewvc?rev=1824355=rev
> Log:
> JUnitSampler logs exceptions except assertion-failures from test cases as
> warnings.
>
> Contributed by Davide Angelocola (davide.angelocola at fisglobal.com)
> Closes #376 on github
>
> Modified:
> jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/
> sampler/JUnitSampler.java
> jmeter/trunk/xdocs/changes.xml
>
> Modified: jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/
> sampler/JUnitSampler.java
> URL: http://svn.apache.org/viewvc/jmeter/trunk/src/junit/org/
> apache/jmeter/protocol/java/sampler/JUnitSampler.java?rev=
> 1824355=1824354=1824355=diff
> 
> ==
> --- 
> jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java
> (original)
> +++ 
> jmeter/trunk/src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java
> Thu Feb 15 20:09:16 2018
> @@ -410,8 +410,10 @@ public class JUnitSampler extends Abstra
>  tr.addFailure(theClazz, afe);
>  } else if (cause != null) {
>  tr.addError(theClazz, cause);
> +log.warn("caught exception", e);
>  } else {
>  tr.addError(theClazz, e);
> +log.warn("caught exception", e);
>  }
>  } catch (IllegalAccessException | IllegalArgumentException e)
> {
>  tr.addError(theClazz, e);
>
> Modified: jmeter/trunk/xdocs/changes.xml
> URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.
> xml?rev=1824355=1824354=1824355=diff
> 
> ==
> --- jmeter/trunk/xdocs/changes.xml [utf-8] (original)
> +++ jmeter/trunk/xdocs/changes.xml [utf-8] Thu Feb 15 20:09:16 2018
> @@ -86,6 +86,7 @@ Summary
>
>  Other samplers
>  
> +  376JUnitSampler logs exceptions except assertion-failures
> from test cases as warnings. Contributed by Davide Angelocola
> (davide.angelocola at fisglobal.com)
>  
>
>  Controllers
> @@ -174,6 +175,7 @@ Summary
>  
>  Graham Russell (graham at ham1.co.uk)
>  orimarko at gmail.com
> +Davide Angelocola (davide.angelocola at fisglobal.com)
>  
>  We also thank bug reporters who helped us improve JMeter.
>  
>
>
>

-- 
Cordialement.
Philippe Mouawad.


[GitHub] jmeter issue #376: Logging of JUnitSampler exceptions

2018-02-15 Thread FSchumacher
Github user FSchumacher commented on the issue:

https://github.com/apache/jmeter/pull/376
  
Thanks for your contribution.


---


[GitHub] jmeter pull request #376: Logging of JUnitSampler exceptions

2018-02-15 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/jmeter/pull/376


---


Build failed in Jenkins: JMeter-trunk #6678

2018-02-15 Thread Apache Jenkins Server
See 


Changes:

[fschumacher] Set eol-style to native

--
[...truncated 188.83 KB...]
   [concat] 2018-02-15 19:03:28,181 WARN o.a.j.p.t.s.TCPSampler: Could not 
create socket for tcp://localhost:2223
   [concat] java.net.ConnectException: Connection refused (Connection refused)
   [concat] at java.net.PlainSocketImpl.socketConnect(Native Method) 
~[?:1.8.0_152]
   [concat] at 
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) 
~[?:1.8.0_152]
   [concat] at 
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
 ~[?:1.8.0_152]
   [concat] at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) 
~[?:1.8.0_152]
   [concat] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) 
~[?:1.8.0_152]
   [concat] at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_152]
   [concat] at 
org.apache.jmeter.protocol.tcp.sampler.TCPSampler.getSocket(TCPSampler.java:168)
 [ApacheJMeter_tcp.jar:r1824346]
   [concat] at 
org.apache.jmeter.protocol.tcp.sampler.TCPSampler.sample(TCPSampler.java:384) 
[ApacheJMeter_tcp.jar:r1824346]
   [concat] at 
org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:490)
 [ApacheJMeter_core.jar:r1824346]
   [concat] at 
org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:416) 
[ApacheJMeter_core.jar:r1824346]
   [concat] at 
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:250) 
[ApacheJMeter_core.jar:r1824346]
   [concat] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
   [concat] 2018-02-15 19:03:28,264 WARN o.a.j.p.t.s.TCPSampler: Unknown host 
for tcp://localhost:2223
   [concat] java.net.UnknownHostException: localhost
   [concat] at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) 
~[?:1.8.0_152]
   [concat] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) 
~[?:1.8.0_152]
   [concat] at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_152]
   [concat] at 
org.apache.jmeter.protocol.tcp.sampler.TCPSampler.getSocket(TCPSampler.java:168)
 [ApacheJMeter_tcp.jar:r1824346]
   [concat] at 
org.apache.jmeter.protocol.tcp.sampler.TCPSampler.sample(TCPSampler.java:384) 
[ApacheJMeter_tcp.jar:r1824346]
   [concat] at 
org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:490)
 [ApacheJMeter_core.jar:r1824346]
   [concat] at 
org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:416) 
[ApacheJMeter_core.jar:r1824346]
   [concat] at 
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:250) 
[ApacheJMeter_core.jar:r1824346]
   [concat] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
   [concat] 2018-02-15 19:03:28,269 ERROR o.a.j.p.t.s.TCPSampler: Could not 
find protocol class 'org.foo.xxx'
 [echo] TCP_TESTS output files compared OK

batchtest:
 [echo] Starting JDBC_TESTS with file JDBC_TESTS.jmx using -X -Jdummy=dummy
   [jmeter] SLF4J: Class path contains multiple SLF4J bindings.
   [jmeter] SLF4J: Found binding in 
[jar:
   [jmeter] SLF4J: Found binding in 
[jar:
   [jmeter] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
explanation.
   [jmeter] SLF4J: Actual binding is of type 
[org.apache.logging.slf4j.Log4jLoggerFactory]
   [jmeter] Creating summariser 
   [jmeter] Created the tree successfully using testfiles/JDBC_TESTS.jmx
   [jmeter] Starting the test @ Thu Feb 15 19:03:32 UTC 2018 (1518721412120)
   [jmeter] Waiting for possible Shutdown/StopTestNow/Heapdump message on port 
4445
   [jmeter] summary +  1 in 00:00:01 =1.8/s Avg:   476 Min:   476 Max:  
 476 Err: 0 (0.00%) Active: 1 Started: 1 Finished: 0
   [jmeter] summary + 20 in 00:00:01 =   19.0/s Avg: 3 Min: 0 Max:  
  25 Err: 0 (0.00%) Active: 0 Started: 2 Finished: 2
   [jmeter] summary = 21 in 00:00:02 =   13.1/s Avg:25 Min: 0 Max:  
 476 Err: 0 (0.00%)
   [jmeter] Tidying up ...@ Thu Feb 15 19:03:35 UTC 2018 (1518721415008)
   [jmeter] ... end of run
   [concat] 2018-02-15 19:03:34,975 ERROR o.a.j.t.JMeterThread: Error while 
processing sampler: 'JDBC_With_Failing_PreProcessor'.
   [concat] java.lang.IllegalArgumentException: Variable Name must not be null 
in JDBC PreProcessor
   [concat] at 
org.apache.jmeter.protocol.jdbc.processor.AbstractJDBCProcessor.process(AbstractJDBCProcessor.java:45)
 ~[ApacheJMeter_jdbc.jar:r1824346]
   [concat] at 
org.apache.jmeter.protocol.jdbc.processor.JDBCPreProcessor.process(JDBCPreProcessor.java:33)
 

Build failed in Jenkins: JMeter Windows #1015

2018-02-15 Thread Apache Jenkins Server
See 

--
[...truncated 499.69 KB...]
   [jmeter] Waiting for possible Shutdown/StopTestNow/Heapdump message on port 
4445
   [jmeter] summary =  2 in 00:00:31 =0.1/s Avg: 15280 Min:   460 Max: 
30100 Err: 0 (0.00%)
   [jmeter] Tidying up ...@ Thu Feb 15 17:50:28 UTC 2018 (1518717028042)
   [jmeter] ... end of run
 [echo] Bug60607 output files compared OK

batchtest:
 [echo] Starting SlowCharsFeature_HttpClient4 with file 
SlowCharsFeature.jmx using -X -Jdummy=dummy
   [jmeter] SLF4J: Class path contains multiple SLF4J bindings.
   [jmeter] SLF4J: Found binding in 
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   [jmeter] SLF4J: Found binding in 
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/opt/activemq-all-5.15.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   [jmeter] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
explanation.
   [jmeter] SLF4J: Actual binding is of type 
[org.apache.logging.slf4j.Log4jLoggerFactory]
   [jmeter] Creating summariser 
   [jmeter] Created the tree successfully using testfiles/SlowCharsFeature.jmx
   [jmeter] Starting the test @ Thu Feb 15 17:50:31 UTC 2018 (1518717031661)
   [jmeter] Waiting for possible Shutdown/StopTestNow/Heapdump message on port 
4445
   [jmeter] summary +  1 in 00:00:01 =1.7/s Avg:   571 Min:   571 Max:  
 571 Err: 0 (0.00%) Active: 1 Started: 1 Finished: 0
   [jmeter] summary +  2 in 00:00:18 =0.1/s Avg:  8688 Min:  5925 Max: 
11451 Err: 0 (0.00%) Active: 0 Started: 1 Finished: 1
   [jmeter] summary =  3 in 00:00:18 =0.2/s Avg:  5982 Min:   571 Max: 
11451 Err: 0 (0.00%)
   [jmeter] Tidying up ...@ Thu Feb 15 17:50:50 UTC 2018 (1518717050808)
   [jmeter] ... end of run
 [echo] SlowCharsFeature_HttpClient4 output files compared OK

batchtest:
 [echo] Starting SlowCharsFeature_Java with file SlowCharsFeature.jmx using 
-X -Jjmeter.httpsampler=Java
   [jmeter] SLF4J: Class path contains multiple SLF4J bindings.
   [jmeter] SLF4J: Found binding in 
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   [jmeter] SLF4J: Found binding in 
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/opt/activemq-all-5.15.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   [jmeter] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
explanation.
   [jmeter] SLF4J: Actual binding is of type 
[org.apache.logging.slf4j.Log4jLoggerFactory]
   [jmeter] Creating summariser 
   [jmeter] Created the tree successfully using testfiles/SlowCharsFeature.jmx
   [jmeter] Starting the test @ Thu Feb 15 17:50:54 UTC 2018 (1518717054304)
   [jmeter] Waiting for possible Shutdown/StopTestNow/Heapdump message on port 
4445
   [jmeter] summary =  2 in 00:00:13 =0.2/s Avg:  6262 Min:   520 Max: 
12005 Err: 0 (0.00%)
   [jmeter] Tidying up ...@ Thu Feb 15 17:51:07 UTC 2018 (1518717067975)
   [jmeter] ... end of run
 [echo] SlowCharsFeature_Java output files compared OK

batchtest:
 [echo] Starting Http4ImplPreemptiveBasicAuth with file 
Http4ImplPreemptiveBasicAuth.jmx using -X -Jdummy=dummy
   [jmeter] SLF4J: Class path contains multiple SLF4J bindings.
   [jmeter] SLF4J: Found binding in 
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   [jmeter] SLF4J: Found binding in 
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/opt/activemq-all-5.15.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   [jmeter] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
explanation.
   [jmeter] SLF4J: Actual binding is of type 
[org.apache.logging.slf4j.Log4jLoggerFactory]
   [jmeter] Creating summariser 
   [jmeter] Created the tree successfully using 
testfiles/Http4ImplPreemptiveBasicAuth.jmx
   [jmeter] Starting the test @ Thu Feb 15 17:51:11 UTC 2018 (1518717071215)
   [jmeter] Waiting for possible Shutdown/StopTestNow/Heapdump message on port 
4445
   [jmeter] summary = 12 in 00:00:09 =1.4/s Avg:   431 Min:   150 Max:  
1444 Err: 0 (0.00%)
   [jmeter] Tidying up ...@ Thu Feb 15 17:51:21 UTC 2018 (1518717081216)
   [jmeter] ... end of run
 [echo] Http4ImplPreemptiveBasicAuth output files compared OK

batchtest:
 [echo] Starting Http4ImplPreemptiveBasicAuth with file 
Http4ImplPreemptiveBasicAuth.jmx using -X -Jjmeter.httpsampler=Java
   [jmeter] SLF4J: Class path contains multiple SLF4J bindings.
   [jmeter] SLF4J: Found binding in 
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]

Build failed in Jenkins: JMeter Windows #1014

2018-02-15 Thread Apache Jenkins Server
See 


Changes:

[fschumacher] Don't start a new JVM for each junit test when using 
complete-junit

This cuts down the time to complete the junit tests considerably. It
takes less then two minutes on my machine.

[fschumacher] Update JTable in Aggregate Report only when new data has arrived.

That way selections of rows will be kept longer around.

Bugzilla Id: 62097

[fschumacher] Don't use isEmpty when comparing size to greater than one

Not really part of #356 on Github. Follow up to r1824035

[fschumacher] Use simpler variable names

Part of #356 on Github. Based on contribution by Graham Russell (graham at 
ham1.co.uk)

[fschumacher] Extract duplicate code in helper method

[fschumacher] Use StringUtils

Part of #356 on Github. Based on contribution by Graham Russell (graham at 
ham1.co.uk)

[fschumacher] Extract logic in smaller methods and local variables

Part of #356 on Github. Based on contribution by Graham Russell (graham at 
ham1.co.uk)

[fschumacher] No need to cast here.

[fschumacher] Use isEmpty instead of comparing to size

Part of #356 on Github. Based on contribution by Graham Russell (graham at 
ham1.co.uk)

[fschumacher] No need to cast here

Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)

[fschumacher] Return values directly

Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)

[fschumacher] Remove useless assignment. Part of #356

[fschumacher] Use string concatenation as it is easier to read and results in 
the same bytecode

Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)

[fschumacher] Remove useless assignment

Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)

[fschumacher] Spacepolice

[fschumacher] Convert to lambda expression

Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)

[fschumacher] Return a singleton list instead of allocating a new array and 
wrapping that

Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)

[fschumacher] No need for explicit type here

Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)

[fschumacher] Use char instead of string to search for

Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)

[fschumacher] Spacepolice

[fschumacher] Join if statements

Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)

[fschumacher] Name part of the logic by assigning it to a variable

Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)

[fschumacher] Use System.arraycopy

Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)

[fschumacher] No need to cast here

Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)

[fschumacher] Simplify logic (re-arrange it)

Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)

[fschumacher] Use lambda instead of subclassing Thread.

Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)

[fschumacher] Use Deque instead of stack

Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)

[fschumacher] Use java 8 stream features to collect data

Part of #356 on Github. Based on contribution by Graham Russell (graham at 
ham1.co.uk)

[fschumacher] Spacepolice

Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)

[fschumacher] Reduce scope of variables

Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)

[fschumacher] Spacepolice

Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)

[fschumacher] Extract lengthy if statement in private method.

Part of #356 on Github. Contributed by Graham Russell (graham at ham1.co.uk)

[fschumacher] spacepolice. Closes #358

[fschumacher] No need to explicitly create an array for the arguments.

This is the last part of the Checkstyle pull requests #358, #365, #366 and #375.
It closes #366 and #358 on github.

Based on contribution by Graham Russell (graham at ham1.co.uk)

[milamber] Fix little issue with default French work (défaut)

[fschumacher] Fix Typo, use method reference and re-format a log-message. Part 
of #358

[fschumacher] Use new ThreadLocal#withInitial. Part of (or rather hidden in) 
#358

[fschumacher] Directly return result. Part of #358

[fschumacher] Give the colors names. Part of #358 on github

[fschumacher] Get down to a maximum length of 160 chars

Part of #358 on github. Based on contribution by Graham Russell (graham at 
ham1.co.uk)

[fschumacher] Refactor common code into private helper.

Preparation for #358 on github.

[fschumacher] Refactor common code into private helper.

As a bonus re-format a small if clause.

Preparation for #358 on github.

[fschumacher] Use log format strings.

[fschumacher] Correct typo from old code. We create a 

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

2018-02-15 Thread Apache Jenkins Server
See 



Build failed in Jenkins: JMeter-trunk #6676

2018-02-15 Thread Apache Jenkins Server
See 

--
[...truncated 396.83 KB...]
 [echo] Checking xmlpull-1.1.3.1.jar
 [echo] Deleting xmlpull-* (excluding xmlpull-1.1.3.1.jar)

setproxy:

_get_jarfile:
 [echo] Fetching: lib/xmlpull-1.1.3.1.jar
  [get] Getting: 
https://repo1.maven.org/maven2/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar
  [get] To: 


_checkMD5:
 [echo] Checksum OK: xmlpull-1.1.3.1.jar
 [move] Moving 1 file to 

 [move] Attempting to rename: 
 
to 

setproxy:

_get_zipfile:

_check_exists:

_check_jarfile:
 [echo] Checking xpp3_min-1.1.4c.jar
 [echo] Deleting xpp3_min-1.1.4c.jar (excluding xpp3_min-1.1.4c.jar)

setproxy:

_get_jarfile:
 [echo] Fetching: lib/xpp3_min-1.1.4c.jar
  [get] Getting: 
https://repo1.maven.org/maven2/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar
  [get] To: 


_checkMD5:
 [echo] Checksum OK: xpp3_min-1.1.4c.jar
 [move] Moving 1 file to 

 [move] Attempting to rename: 
 
to 

setproxy:

_get_zipfile:

_check_exists:

_check_jarfile:
 [echo] Checking xstream-1.4.10.jar
 [echo] Deleting xstream-* (excluding xstream-1.4.10.jar)

setproxy:

_get_jarfile:
 [echo] Fetching: lib/xstream-1.4.10.jar
  [get] Getting: 
https://repo1.maven.org/maven2/com/thoughtworks/xstream/xstream/1.4.10/xstream-1.4.10.jar
  [get] To: 


_checkMD5:
 [echo] Checksum OK: xstream-1.4.10.jar
 [move] Moving 1 file to 

 [move] Attempting to rename: 
 
to 

setproxy:

_get_zipfile:

_check_exists:

_check_jarfile:
 [echo] Checking hsqldb-2.4.0.jar
 [echo] Deleting hsqldb-* (excluding hsqldb-2.4.0.jar)

setproxy:

_get_jarfile:
 [echo] Fetching: 

  [get] Getting: 
https://repo1.maven.org/maven2/org/hsqldb/hsqldb/2.4.0/hsqldb-2.4.0.jar
  [get] To: 


_checkMD5:
 [echo] Checksum OK: hsqldb-2.4.0.jar
 [move] Moving 1 file to 

 [move] Attempting to rename: 
 to 


setproxy:

_get_zipfile:

_check_exists:

_check_jarfile:
 [echo] Checking activemq-all-5.15.2.jar
 [echo] Deleting activemq-all-* (excluding activemq-all-5.15.2.jar)

setproxy:

_get_jarfile:
 [echo] Fetching: 

  [get] Getting: 
https://repo1.maven.org/maven2/org/apache/activemq/activemq-all/5.15.2/activemq-all-5.15.2.jar
  [get] To: 


_checkMD5:
 [echo] Checksum OK: activemq-all-5.15.2.jar
 [move] Moving 1 file to 

 [move] Attempting to rename: 

 to 


setproxy:

_get_zipfile:

_check_exists:

_check_jarfile:
 [echo] Checking mina-core-2.0.16.jar
 [echo] Deleting mina-core-* (excluding mina-core-2.0.16.jar)

setproxy:

_get_jarfile:
 [echo] Fetching: 

  [get] Getting: 
https://repo1.maven.org/maven2/org/apache/mina/mina-core/2.0.16/mina-core-2.0.16.jar
  [get] To: 


_checkMD5:
 [echo] Checksum OK: mina-core-2.0.16.jar
 [move] Moving 1 file to 

 [move] Attempting to rename: 

 to 


setproxy: