Re: [VOTE] Release JMeter 2.3.3 RC1

2009-05-17 Thread sebb
On 15/05/2009, Luc Maisonobe luc.maison...@free.fr wrote:
 sebb a écrit :

  The first release candidate for JMeter 2.3.3 has been prepared, and
   your votes are solicited.
  
   JMeter is a Java desktop application designed to load test functional
   behavior and measure performance. The current version is targetted at
   Java 1.4+.
  
   Archives/hashes/sigs and RAT report:
   http://people.apache.org/~sebb/jmeter-2.3.3RC1/dist
  
   MD5 hashes of archives for this vote:
  
   dbdb62e4b64dc4cee77dd6229f8b687e *jakarta-jmeter-2.3.3.tgz
   f1c310eb9b3746143730e880d1aa17a8 *jakarta-jmeter-2.3.3.zip
   51c20a74e90c5f61660414480e092d83 *jakarta-jmeter-2.3.3_src.tgz
   f8ecb89c5e6094b870b795fea7c9b460 *jakarta-jmeter-2.3.3_src.zip
  
   Site Docs are here:
   http://people.apache.org/~sebb/jmeter-2.3.3RC1/docs
  
   Tag:
   http://svn.apache.org/repos/asf/jakarta/jmeter/tags/v2_3_3_RC1 (r774953)
  
   Keys are here:
   http://svn.apache.org/repos/asf/jakarta/site/dist/jmeter/
   also
   http://www.apache.org/dist/jakarta/jmeter/KEYS
  
   N.B.
   To rebuild or test JMeter, you need to unpack both the binary and
   source archives into the same directory structure. This is because the
   library files are only included in the binary archive.
  
   To create the jars and test JMeter: ant package test
  
   Note that there is a bug in Java on some Linux systems that manifests
   itself as the following error when running the test cases or JMeter itself:
  
[java] WARNING: Couldn't flush user prefs:
java.util.prefs.BackingStoreException:
java.lang.IllegalArgumentException: Not supported: indent-number
  
   This does not affect JMeter operation.
  
   All feedback (and votes!) welcome.


 I downloaded sr and binaries and recompiled on a linux system. 18 tests
  failed. Here is the part of the ant run output showing the failures:

Thanks for testing the release.

These are all the same problem - the test checks to make sure that the
documentation file has the correct entries. As the documentation has
not been translated into French, the entries are not present.

This does not affect the running of JMeter.

But obviously it would be better if the tests did not fail in this
manner. I'll see about fixing this.

  [java] There were 18 failures:
  [java] 1)
  
 runGUITitle(org.apache.jmeter.junit.JMeterTest)junit.framework.AssertionFailedError:
  component_reference.xml needs 'Assertion_BSF' anchor for
  org.apache.jmeter.testbeans.gui.TestBeanGUI
  [java] at
  org.apache.jmeter.junit.JMeterTest.runGUITitle(JMeterTest.java:347)
  [java] at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown 
 Source)
  [java] at
  
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [java] at org.apache.jorphan.test.AllTests.main(AllTests.java:218)
  [java] 2)
  
 runGUITitle(org.apache.jmeter.junit.JMeterTest)junit.framework.AssertionFailedError:
  component_reference.xml needs 'Source_de_données_CSV' anchor for
  org.apache.jmeter.testbeans.gui.TestBeanGUI
  [java] at
  org.apache.jmeter.junit.JMeterTest.runGUITitle(JMeterTest.java:347)
  [java] at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown 
 Source)
  [java] at
  
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [java] at org.apache.jorphan.test.AllTests.main(AllTests.java:218)
  [java] 3)
  
 runGUITitle(org.apache.jmeter.junit.JMeterTest)junit.framework.AssertionFailedError:
  component_reference.xml needs 'Variable_aléatoire' anchor for
  org.apache.jmeter.testbeans.gui.TestBeanGUI
  [java] at
  org.apache.jmeter.junit.JMeterTest.runGUITitle(JMeterTest.java:347)
  [java] at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown 
 Source)
  [java] at
  
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [java] at org.apache.jorphan.test.AllTests.main(AllTests.java:218)
  [java] 4)
  
 runGUITitle(org.apache.jmeter.junit.JMeterTest)junit.framework.AssertionFailedError:
  component_reference.xml needs 'Post-Processeur_BSF' anchor for
  org.apache.jmeter.testbeans.gui.TestBeanGUI
  [java] at
  org.apache.jmeter.junit.JMeterTest.runGUITitle(JMeterTest.java:347)
  [java] at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown 
 Source)
  [java] at
  
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [java] at org.apache.jorphan.test.AllTests.main(AllTests.java:218)
  [java] 5)
  
 runGUITitle(org.apache.jmeter.junit.JMeterTest)junit.framework.AssertionFailedError:
  component_reference.xml needs 'Post-Processeur_BeanShell' anchor for
  org.apache.jmeter.testbeans.gui.TestBeanGUI
  [java] at
  org.apache.jmeter.junit.JMeterTest.runGUITitle(JMeterTest.java:347)
  [java] at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown 
 Source)
  [java]

Re: [VOTE] Release JMeter 2.3.3 RC1

2009-05-17 Thread sebb
On 16/05/2009, Oleg Kalnichevski ol...@apache.org wrote:
 sebb wrote:

  The first release candidate for JMeter 2.3.3 has been prepared, and
  your votes are solicited.
 
  JMeter is a Java desktop application designed to load test functional
  behavior and measure performance. The current version is targetted at
  Java 1.4+.
 
  Archives/hashes/sigs and RAT report:
  http://people.apache.org/~sebb/jmeter-2.3.3RC1/dist
 
  MD5 hashes of archives for this vote:
 
  dbdb62e4b64dc4cee77dd6229f8b687e
 *jakarta-jmeter-2.3.3.tgz
  f1c310eb9b3746143730e880d1aa17a8
 *jakarta-jmeter-2.3.3.zip
  51c20a74e90c5f61660414480e092d83
 *jakarta-jmeter-2.3.3_src.tgz
  f8ecb89c5e6094b870b795fea7c9b460
 *jakarta-jmeter-2.3.3_src.zip
 
  Site Docs are here:
  http://people.apache.org/~sebb/jmeter-2.3.3RC1/docs
 
  Tag:
 
 http://svn.apache.org/repos/asf/jakarta/jmeter/tags/v2_3_3_RC1
 (r774953)
 
  Keys are here:
  http://svn.apache.org/repos/asf/jakarta/site/dist/jmeter/
  also
  http://www.apache.org/dist/jakarta/jmeter/KEYS
 
  N.B.
  To rebuild or test JMeter, you need to unpack both the binary and
  source archives into the same directory structure. This is because the
  library files are only included in the binary archive.
 
  To create the jars and test JMeter: ant package test
 
  Note that there is a bug in Java on some Linux systems that manifests
  itself as the following error when running the test cases or JMeter
 itself:
 
   [java] WARNING: Couldn't flush user prefs:
   java.util.prefs.BackingStoreException:
   java.lang.IllegalArgumentException: Not supported:
 indent-number
 
  This does not affect JMeter operation.
 
  All feedback (and votes!) welcome.
 
  [  ] +1  I support this release
  [  ] +0  I am OK with this release
  [  ] -0   OK, but
  [  ] -1   I do not support this release (please indicate why)
 
   The vote will remain open for at least 72 hours.
 
   Note: If the vote passes, the intention is to release the archive
   files and rename the RC tag as the release tag.
 
   Here's my:
 
   +1
 
  S///
 
 

  Sebastian,

Thanks for checking.

  I am getting one compile warning and one test case failure.

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

  compile-jorphan:
 [mkdir] Created dir:
 c:\data\jakarta-jmeter-2.3.3\build\jorphan
 [javac] Compiling 48 source files to
 c:\data\jakarta-jmeter-2.3.3\build\jorphan
 [javac] Note: Some input files use or override a deprecated API.
 [javac] Note: Recompile with -Xlint:deprecation for details.

  update-version:
  [echo] Updating version string to 2.3.3.20090516

  compile-core:
 [mkdir] Created dir:
 c:\data\jakarta-jmeter-2.3.3\build\core
 [javac] Compiling 292 source files to
 c:\data\jakarta-jmeter-2.3.3\build\core
 [javac] Note: Some input files use or override a deprecated API.
 [javac] Note: Recompile with -Xlint:deprecation for details.

  compile-components:
 [mkdir] Created dir:
 c:\data\jakarta-jmeter-2.3.3\build\components
 [javac] Compiling 111 source files to
 c:\data\jakarta-jmeter-2.3.3\build\components

  compile-functions:
 [mkdir] Created dir:
 c:\data\jakarta-jmeter-2.3.3\build\functions
 [javac] Compiling 31 source files to
 c:\data\jakarta-jmeter-2.3.3\build\functions
 [javac]
 c:\data\jakarta-jmeter-2.3.3\src\functions\org\apache\jmeter\functions\UnEscapeHtml.java:36:
 warning: unmappable character for encoding UTF-8
 [javac]  * For example, the string lt;Franccedil;aisgt; will become
 Fran?ais
 [javac]^
 [javac] 1 warning
  ...

  [java] ..F...
  [java] .
  [java] .
  [java] .
  [java] ..
  [java] Time: 25.49
  [java] There was 1 failure:
  [java] 1)
 testPause(org.apache.jmeter.samplers.TestSampleResult)junit.framework.AssertionFailedError:
 Accumulated time (199) was not between 200 and 290 ms
  [java] at
 org.apache.jmeter.samplers.TestSampleResult.testPause(TestSampleResult.java:66)
  [java] at
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native
 Method)
  [java] at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  [java] at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  [java] at
 org.apache.jorphan.test.AllTests.main(AllTests.java:218)
  [java]
  [java] FAILURES!!!
  [java] Tests run: 1658,  Failures: 1,  Errors: 0
  [java]


That is a timer rounding issue; I would expect it to work (mostly) if retested.
But I will change the range so it works more reliably.

The test actually checks that Thread.sleep(100)+Thread.sleep(100)
takes at least 200 ms.
Rounding may cause the time to be slightly less 

Re: [VOTE] Release JMeter 2.3.3 RC1

2009-05-17 Thread sebb
On 18/05/2009, sebb seb...@gmail.com wrote:
 On 16/05/2009, Oleg Kalnichevski ol...@apache.org wrote:
   sebb wrote:
  
The first release candidate for JMeter 2.3.3 has been prepared, and
your votes are solicited.
   
JMeter is a Java desktop application designed to load test functional
behavior and measure performance. The current version is targetted at
Java 1.4+.
   
Archives/hashes/sigs and RAT report:
http://people.apache.org/~sebb/jmeter-2.3.3RC1/dist
   
MD5 hashes of archives for this vote:
   
dbdb62e4b64dc4cee77dd6229f8b687e
   *jakarta-jmeter-2.3.3.tgz
f1c310eb9b3746143730e880d1aa17a8
   *jakarta-jmeter-2.3.3.zip
51c20a74e90c5f61660414480e092d83
   *jakarta-jmeter-2.3.3_src.tgz
f8ecb89c5e6094b870b795fea7c9b460
   *jakarta-jmeter-2.3.3_src.zip
   
Site Docs are here:
http://people.apache.org/~sebb/jmeter-2.3.3RC1/docs
   
Tag:
   
   http://svn.apache.org/repos/asf/jakarta/jmeter/tags/v2_3_3_RC1
   (r774953)
   
Keys are here:
http://svn.apache.org/repos/asf/jakarta/site/dist/jmeter/
also
http://www.apache.org/dist/jakarta/jmeter/KEYS
   
N.B.
To rebuild or test JMeter, you need to unpack both the binary and
source archives into the same directory structure. This is because the
library files are only included in the binary archive.
   
To create the jars and test JMeter: ant package test
   
Note that there is a bug in Java on some Linux systems that manifests
itself as the following error when running the test cases or JMeter
   itself:
   
 [java] WARNING: Couldn't flush user prefs:
 java.util.prefs.BackingStoreException:
 java.lang.IllegalArgumentException: Not supported:
   indent-number
   
This does not affect JMeter operation.
   
All feedback (and votes!) welcome.
   
[  ] +1  I support this release
[  ] +0  I am OK with this release
[  ] -0   OK, but
[  ] -1   I do not support this release (please indicate why)
   
 The vote will remain open for at least 72 hours.
   
 Note: If the vote passes, the intention is to release the archive
 files and rename the RC tag as the release tag.
   
 Here's my:
   
 +1
   
S///
   
   
  
Sebastian,


 Thanks for checking.


I am getting one compile warning and one test case failure.
  
...
init-version:
[echo] jmeter.version = 2.3.3.20090516
[echo] display.version = 2.3.3.20090516
[echo] implementation.version = 2.3.3.20090516
  
compile-jorphan:
   [mkdir] Created dir:
   c:\data\jakarta-jmeter-2.3.3\build\jorphan
   [javac] Compiling 48 source files to
   c:\data\jakarta-jmeter-2.3.3\build\jorphan
   [javac] Note: Some input files use or override a deprecated API.
   [javac] Note: Recompile with -Xlint:deprecation for details.
  
update-version:
[echo] Updating version string to 2.3.3.20090516
  
compile-core:
   [mkdir] Created dir:
   c:\data\jakarta-jmeter-2.3.3\build\core
   [javac] Compiling 292 source files to
   c:\data\jakarta-jmeter-2.3.3\build\core
   [javac] Note: Some input files use or override a deprecated API.
   [javac] Note: Recompile with -Xlint:deprecation for details.
  
compile-components:
   [mkdir] Created dir:
   c:\data\jakarta-jmeter-2.3.3\build\components
   [javac] Compiling 111 source files to
   c:\data\jakarta-jmeter-2.3.3\build\components
  
compile-functions:
   [mkdir] Created dir:
   c:\data\jakarta-jmeter-2.3.3\build\functions
   [javac] Compiling 31 source files to
   c:\data\jakarta-jmeter-2.3.3\build\functions
   [javac]
   
 c:\data\jakarta-jmeter-2.3.3\src\functions\org\apache\jmeter\functions\UnEscapeHtml.java:36:
   warning: unmappable character for encoding UTF-8
   [javac]  * For example, the string lt;Franccedil;aisgt; will 
 become
   Fran?ais
   [javac]^
   [javac] 1 warning
...
  
[java] ..F...
[java] .
[java] .
[java] .
[java] ..
[java] Time: 25.49
[java] There was 1 failure:
[java] 1)
   
 testPause(org.apache.jmeter.samplers.TestSampleResult)junit.framework.AssertionFailedError:
   Accumulated time (199) was not between 200 and 290 ms
[java] at
   
 org.apache.jmeter.samplers.TestSampleResult.testPause(TestSampleResult.java:66)
[java] at
   sun.reflect.NativeMethodAccessorImpl.invoke0(Native
   Method)
[java] at
   
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
   
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at
   org.apache.jorphan.test.AllTests.main(AllTests.java:218)
[java]
[java]