[g...@vmgump]: Project jakarta-jmeter-svn (in module jakarta-jmeter) failed

2010-01-28 Thread Gump-build
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project jakarta-jmeter-svn has an issue affecting its community integration.
This issue affects 2 projects,
 and has been outstanding for 24 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- jakarta-jmeter-svn :  Pure Java load testing and performance measurement 
tool.
   ...
- jakarta-jmeter-test :  Pure Java load testing and performance measurement 
tool.
   ...


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-jmeter/jakarta-jmeter-svn/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -INFO- Made directory [/srv/gump/public/workspace/jakarta-jmeter/build/core]
 -INFO- Made directory [/srv/gump/public/workspace/jakarta-jmeter/build/jorphan]
 -INFO- Made directory 
[/srv/gump/public/workspace/jakarta-jmeter/build/components]
 -INFO- Made directory 
[/srv/gump/public/workspace/jakarta-jmeter/build/protocol/http]
 -INFO- Made directory 
[/srv/gump/public/workspace/jakarta-jmeter/build/monitor/model]
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-jmeter/jakarta-jmeter-svn/gump_work/build_jakarta-jmeter_jakarta-jmeter-svn.html
Work Name: build_jakarta-jmeter_jakarta-jmeter-svn (Type: Build)
Work ended in a state of : Failed
Elapsed: 15 secs
Command Line: /usr/lib/jvm/java-6-sun/bin/java -Djava.awt.headless=true 
-Xbootclasspath/p:/srv/gump/public/workspace/xml-xalan/build/serializer.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar
 org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only '-Dversion.projectfile=$Revision: 888330 $' 
-Djmeter.version=28012010 -Dgump.run=true '-Ddate.projectfile=$Date: 2009-12-08 
03:17:10 -0800 (Tue, 08 Dec 2009) $' gump-build 
[Working Directory: /srv/gump/public/workspace/jakarta-jmeter]
CLASSPATH: 
/usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/jakarta-jmeter/build/core:/srv/gump/public/workspace/jakarta-jmeter/build/jorphan:/srv/gump/public/workspace/jakarta-jmeter/build/components:/srv/gump/public/workspace/jakarta-jmeter/build/protocol/http:/srv/gump/public/workspace/jakarta-jmeter/build/monitor/model:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/package
 
s/jsse1.0.3/lib/jcert.jar:/srv/gump/packages/jsse1.0.3/lib/jnet.jar:/srv/gump/packages/jsse1.0.3/lib/jsse.jar:/srv/gump/packages/jms1.1/lib/jms.jar:/srv/gump/public/workspace/rhino/build/rhino_28012010/js.jar:/srv/gump/public/workspace/jakarta-bsf/build/lib/bsf.jar:/srv/gump/public/workspace/apache-commons/codec/dist/commons-codec-28012010.jar:/srv/gump/public/workspace/apache-commons/io/target/commons-io-28012010.jar:/srv/gump/public/workspace/commons-lang-2.x/target/commons-lang-2.4.jar:/srv/gump/public/workspace/commons-jexl-1.x/target/commons-jexl-1.1.1-SNAPSHOT.jar:/srv/gump/public/workspace/httpcomponents/oac.hc3x/dist/commons-httpclient.jar:/srv/gump/public/workspace/apache-commons/net/dist/commons-net-28012010.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-28012010.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api
 
-28012010.jar:/srv/gump/public/workspace/jakarta-oro/jakarta-oro-28012010.jar:/srv/gump/packages/avalon/avalon-framework-api-4.3.jar:/srv/gump/packages/avalon/avalon-framework-impl-4.3.jar:/srv/gump/packages/avalon/avalon-logkit-2.1.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-28012010.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-28012010-dep.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/srv/gump/public/workspace/xstream/xstream/target/xstream-1.4-SNAPSHOT.jar:/srv/gump/public/workspace/xpp/build/xpp3-28012010.jar:/srv/gump/public/workspace/xmlgraphics-commons/

DO NOT REPLY [Bug 40850] - Memory leak in all BeanShell components

2010-01-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=40850

--- Comment #14 from Gabe  2010-01-28 15:42:04 UTC ---
What about using Beanshell as a function, via __BeanShell?

I'm seeing a massive drop in performance in my test plan after 5-10minutes, and
I use beanshell functions inside my sampler (typically via a source() call). I
believe the root cause is the same. From inspecting the code and the patch it
doesn't appear that there is a way to reset the interpreter on each function
call.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org



svn commit: r904311 - /jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/XPathExtractor.java

2010-01-28 Thread sebb
Author: sebb
Date: Thu Jan 28 23:56:34 2010
New Revision: 904311

URL: http://svn.apache.org/viewvc?rev=904311&view=rev
Log:
Don't attempt to process null samples

Modified:

jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/XPathExtractor.java

Modified: 
jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/XPathExtractor.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/XPathExtractor.java?rev=904311&r1=904310&r2=904311&view=diff
==
--- 
jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/XPathExtractor.java
 (original)
+++ 
jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/XPathExtractor.java
 Thu Jan 28 23:56:34 2010
@@ -109,12 +109,15 @@
  */
 public void process() {
 JMeterContext context = getThreadContext();
+final SampleResult previousResult = context.getPreviousResult();
+if (previousResult == null){
+return;
+}
 JMeterVariables vars = context.getVariables();
 String refName = getRefName();
 vars.put(refName, getDefaultValue());
 vars.put(concat(refName,MATCH_NR), "0"); // In case parse fails // 
$NON-NLS-1$
 vars.remove(concat(refName,"1")); // In case parse fails // $NON-NLS-1$
-final SampleResult previousResult = context.getPreviousResult();
 
 try{
 Document d = parseResponse(previousResult);



-
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org



svn commit: r904312 - /jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/BeanShellPostProcessor.java

2010-01-28 Thread sebb
Author: sebb
Date: Thu Jan 28 23:57:47 2010
New Revision: 904312

URL: http://svn.apache.org/viewvc?rev=904312&view=rev
Log:
Don't process null samples and don't report incorrect message if BSH not found

Modified:

jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/BeanShellPostProcessor.java

Modified: 
jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/BeanShellPostProcessor.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/BeanShellPostProcessor.java?rev=904312&r1=904311&r2=904312&view=diff
==
--- 
jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/BeanShellPostProcessor.java
 (original)
+++ 
jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/BeanShellPostProcessor.java
 Thu Jan 28 23:57:47 2010
@@ -49,8 +49,11 @@
 JMeterContext jmctx = JMeterContextService.getContext();
 
 SampleResult prev = jmctx.getPreviousResult();
+if (prev == null) {
+return;
+}
 final BeanShellInterpreter bshInterpreter = getBeanShellInterpreter();
-if (prev == null || bshInterpreter == null) {
+if (bshInterpreter == null) {
 log.error("BeanShell not found");
 return;
 }



-
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org



svn commit: r904313 - in /jakarta/jmeter/trunk/src/core/org/apache/jmeter: assertions/gui/ resources/ util/

2010-01-28 Thread sebb
Author: sebb
Date: Thu Jan 28 23:59:52 2010
New Revision: 904313

URL: http://svn.apache.org/viewvc?rev=904313&view=rev
Log:
Make scope panel generic

Added:
jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/ScopePanel.java   
(with props)
Removed:

jakarta/jmeter/trunk/src/core/org/apache/jmeter/assertions/gui/AssertionScopePanel.java
Modified:

jakarta/jmeter/trunk/src/core/org/apache/jmeter/assertions/gui/AbstractAssertionGui.java

jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties

jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties

jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages_pl.properties

jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages_pt_BR.properties

Modified: 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/assertions/gui/AbstractAssertionGui.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/assertions/gui/AbstractAssertionGui.java?rev=904313&r1=904312&r2=904313&view=diff
==
--- 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/assertions/gui/AbstractAssertionGui.java
 (original)
+++ 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/assertions/gui/AbstractAssertionGui.java
 Thu Jan 28 23:59:52 2010
@@ -27,6 +27,7 @@
 import org.apache.jmeter.gui.AbstractJMeterGuiComponent;
 import org.apache.jmeter.gui.util.MenuFactory;
 import org.apache.jmeter.testelement.AbstractScopedAssertion;
+import org.apache.jmeter.util.ScopePanel;
 
 /**
  * This is the base class for JMeter GUI components which manage assertions.
@@ -39,7 +40,7 @@
  */
 public abstract class AbstractAssertionGui extends AbstractJMeterGuiComponent {
 
-private AssertionScopePanel assertionScopePanel;
+private ScopePanel assertionScopePanel;
 
 /**
  * When a user right-clicks on the component in the test tree, or selects
@@ -75,7 +76,7 @@
  * @return the scope settings panel
  */
 protected JPanel createScopePanel(){
-assertionScopePanel = new AssertionScopePanel();
+assertionScopePanel = new ScopePanel();
 return assertionScopePanel;
 }
 

Modified: 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties?rev=904313&r1=904312&r2=904313&view=diff
==
--- 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties 
(original)
+++ 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties 
Thu Jan 28 23:59:52 2010
@@ -75,10 +75,6 @@
 assertion_pattern_match_rules=Pattern Matching Rules
 assertion_patterns_to_test=Patterns to Test
 assertion_resp_field=Response Field to Test
-assertion_scope=Which samples to test
-assertion_scope_all=Main sample and sub-samples
-assertion_scope_children=Sub-samples only
-assertion_scope_parent=Main sample only
 assertion_substring=Substring
 assertion_text_resp=Text Response
 assertion_textarea_label=Assertions\:
@@ -688,6 +684,10 @@
 runtime_controller_title=Runtime Controller
 runtime_seconds=Runtime (seconds)
 sample_result_save_configuration=Sample Result Save Configuration
+sample_scope=Which samples to process
+sample_scope_all=Main sample and sub-samples
+sample_scope_children=Sub-samples only
+sample_scope_parent=Main sample only
 sampler_label=Label
 sampler_on_error_action=Action to be taken after a Sampler error
 sampler_on_error_continue=Continue

Modified: 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties?rev=904313&r1=904312&r2=904313&view=diff
==
--- 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
 (original)
+++ 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
 Thu Jan 28 23:59:52 2010
@@ -68,10 +68,6 @@
 assertion_pattern_match_rules=Type de correspondance du motif
 assertion_patterns_to_test=Motifs \u00E0 tester
 assertion_resp_field=Section de r\u00E9ponse \u00E0 tester
-assertion_scope=Port\u00E9e de l'assertion
-assertion_scope_all=L'\u00E9chantillon parent et ses sous-\u00E9chantillons
-assertion_scope_children=Seulement les sous-\u00E9chantillons
-assertion_scope_parent=Seulement l'\u00E9chantillon parent
 assertion_substring=Contient (texte brut)
 assertion_text_resp=Texte de r\u00E9ponse
 assertion_textarea_label=Assertions \:
@@ -563,6 +559,10 @@
 running_test=Lancer test
 runtime_controller_title=Contr\u00F4leur Dur\u00E9e d'ex\u00E9cution
 runtime_seconds=Temps d'ex\u00E9cution (secondes) \:
+sample_scope=Port\u00E9e de l'assertion
+sample_scope_all=L'\

DO NOT REPLY [Bug 40850] - Memory leak in all BeanShell components

2010-01-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=40850

--- Comment #15 from Sebb  2010-01-28 16:06:17 UTC ---
Using beanshell.function.init instead of using source() should reduce memory
usage. You can define various functions in the same file.

If you wish to add a reset option to the __BeanShell function, please open a
new Buzilla issue.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org