Le 28/01/2012 22:56, Milamber a ecrit :
>
> Le 28/01/2012 21:44, sebb a ecrit :
>
>> On 28 January 2012 19:18, Milamber <[email protected]> wrote:
>>
>>
>>> Hello,
>>>
>>> The first release candidate for JMeter 2.6 has been prepared, and your
>>> votes are solicited.
>>>
>>> This release brings some valuable improvements and fixes some bugs.
>>>
>>> If you can, some tests of this release candidate (load tests and/or
>>> functional tests) with JVM 5/6/7 on Linux/Windows/Mac OS on changes are
>>> welcome.
>>>
>>> New and Noteworthy with some screenshots to illustrate improvements and
>>> list of changes:
>>> http://people.apache.org/~milamber/jmeter-2.6RC1/docs/changes.html
>>>
>>> JMeter is a Java desktop application designed to load test functional
>>> behavior and measure performance. The current version is targeted at
>>> Java 1.5+.
>>>
>>> Archives/hashes/sigs and RAT report:
>>>
>>> http://people.apache.org/~milamber/jmeter-2.6RC1/dist
>>>
>>> MD5 hashes of archives for this vote:
>>>
>>> 1ae3982f0aa9b1691df1cddb1b514343 *apache-jmeter-2.6.tgz
>>> 6298bdcd9349b2653905bb547f49429a *apache-jmeter-2.6.zip
>>> a638a0b8339bcde1efbed070210ceb72 *apache-jmeter-2.6_src.tgz
>>> 6cef0613f92174f90875cdbec613755c *apache-jmeter-2.6_src.zip
>>>
>>>
>> What about the Maven jars?
>>
>> I assume you still have your work area available, in which case could
>> you please run
>>
>> ant _dist_maven -Djmeter.version=2.6
>>
>> Then sign the jars and poms in dist/maven, e.g. using
>>
>> ant sign_dist ...
>>
>>
> I have this issue (after 4 dialog box to enter my personal password for
> private key):
>
> ant sign_dist -Dgpg.keyname=0612B399
> -Dgpg.secretKeyring=~/.gnupg/secring.gpg
> Buildfile:
> /home/milamber/JMETER_releases/jmeter_2_6/jmeter_v2_6_RC1/build.xml
>
> sign_dist:
> [gpg] Command: gpg2 --batch --yes -ba -u 0612B399 --secret-keyring
> ~/.gnupg/secring.gpg
> [gpg] Processing
> /home/milamber/JMETER_releases/jmeter_2_6/jmeter_v2_6_RC1/dist
> [gpg] Signing apache-jmeter-2.6.tgz
> [gpg] Signing apache-jmeter-2.6.tgz.sha
> [gpg] Signing apache-jmeter-2.6.zip
> [gpg] Signing apache-jmeter-2.6.zip.sha
>
> BUILD FAILED
> /home/milamber/JMETER_releases/jmeter_2_6/jmeter_v2_6_RC1/build.xml:2520:
> javax.script.ScriptException:
> Sourced file: inline evaluation of:
> `` int execcode( String command ) //
> helper . . . '' : Method Invocation this.proc.exitValue : at Line:
> 18 : in file: inline evaluation of:
> `` int execcode( String command ) //
> helper . . . '' : this .proc .exitValue ( )
>
> Called from method: execcode : at Line: 42 : in file: inline evaluation
> of: `` int execcode( String command )
> // helper . . . '' : execcode ( cmd + " " + file )
> Target exception: java.lang.IllegalThreadStateException: process hasn't
> exited
> in inline evaluation of: `` int
> execcode( String command ) // helper . . . '' at line number 18
> at bsh.engine.BshScriptEngine.evalSource(BshScriptEngine.java:86)
> at bsh.engine.BshScriptEngine.eval(BshScriptEngine.java:46)
> at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.tools.ant.util.ReflectUtil.invoke(ReflectUtil.java:108)
> at
> org.apache.tools.ant.util.ReflectWrapper.invoke(ReflectWrapper.java:81)
> at
> org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunner.java:104)
> at
> org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunner.java:68)
> at
> org.apache.tools.ant.taskdefs.optional.script.ScriptDef.executeScript(ScriptDef.java:350)
> at
> org.apache.tools.ant.taskdefs.optional.script.ScriptDefBase.execute(ScriptDefBase.java:50)
> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
> at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:390)
> at org.apache.tools.ant.Target.performTasks(Target.java:411)
> at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
> at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
> at org.apache.tools.ant.Main.runBuild(Main.java:801)
> at org.apache.tools.ant.Main.startAnt(Main.java:218)
> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
> Caused by: java.lang.IllegalThreadStateException: process hasn't exited
>
It's better with:
Index: build.xml
===================================================================
--- build.xml (revision 1237108)
+++ build.xml (working copy)
@@ -2485,7 +2485,7 @@
while( (line=din.readLine()) != null ) {
print(line);
}
- return this.proc.exitValue();
+ return this.proc.waitFor();
}
keyname = project.getProperty("gpg.keyname");
if (keyname == void) {
Works.
> at java.lang.UNIXProcess.exitValue(UNIXProcess.java:217)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at bsh.Reflect.invokeMethod(Reflect.java:134)
> at bsh.Reflect.invokeObjectMethod(Reflect.java:80)
> at bsh.Name.invokeMethod(Name.java:858)
> at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
> at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
> at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
> at bsh.BSHReturnStatement.eval(BSHReturnStatement.java:48)
> at bsh.BSHBlock.evalBlock(BSHBlock.java:130)
> at bsh.BSHBlock.eval(BSHBlock.java:80)
> at bsh.BshMethod.invokeImpl(BshMethod.java:362)
> at bsh.BshMethod.invoke(BshMethod.java:258)
> at bsh.BshMethod.invoke(BshMethod.java:186)
> at bsh.Name.invokeLocalMethod(Name.java:917)
> at bsh.Name.invokeMethod(Name.java:804)
> at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
> at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
> at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
> at bsh.BSHAssignment.eval(BSHAssignment.java:77)
> at bsh.BSHBlock.evalBlock(BSHBlock.java:130)
> at bsh.BSHBlock.eval(BSHBlock.java:80)
> at bsh.BSHBlock.eval(BSHBlock.java:46)
> at bsh.BSHForStatement.eval(BSHForStatement.java:111)
> at bsh.BSHBlock.evalBlock(BSHBlock.java:130)
> at bsh.BSHBlock.eval(BSHBlock.java:80)
> at bsh.BSHBlock.eval(BSHBlock.java:46)
> at bsh.BSHForStatement.eval(BSHForStatement.java:111)
> at bsh.Interpreter.eval(Interpreter.java:645)
> at bsh.Interpreter.eval(Interpreter.java:739)
> at bsh.Interpreter.eval(Interpreter.java:728)
> at bsh.engine.BshScriptEngine.evalSource(BshScriptEngine.java:78)
> ... 28 more
>
> Total time: 4 seconds
>
>
>
>
>
>> Then the contents of dist/maven need to be uploaded using:
>>
>> ant maven_upload -DrepoType=releases
>>
>> Let me know if there are any problems with the process.
>>
>>
>>
>>> Site Docs are here:
>>> http://people.apache.org/~milamber/jmeter-2.6RC1/docs/
>>>
>>> Tag:
>>> http://svn.apache.org/repos/asf/jmeter/tags/v2_6_RC1 (r1237128)
>>>
>>>
>> The commit message for the tag looks wrong.
>> Was it done from a clean checkout? And/or did you run svn update first?
>>
>>
>>
>>> Keys are here:
>>> http://svn.apache.org/repos/asf/jmeter/dist/
>>> also
>>> http://people.apache.org/~milamber/
>>>
>>> N.B.
>>> To download the dependencies: "ant download_jars"
>>>
>>> To create the jars and test JMeter: "ant package test".
>>>
>>> JMeter 2.6 requires Java 1.5 or later.
>>>
>>> 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.
>>>
>>> Thanks in advance!
>>>
>>> Milamber
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>