From commits-return-54206-apmail-harmony-commits-archive=harmony.apache.org@harmony.apache.org Tue May 06 08:10:42 2008 Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 69771 invoked from network); 6 May 2008 08:10:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 May 2008 08:10:42 -0000 Received: (qmail 89237 invoked by uid 500); 6 May 2008 08:10:44 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 89134 invoked by uid 500); 6 May 2008 08:10:43 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 89122 invoked by uid 99); 6 May 2008 08:10:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 May 2008 01:10:43 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 May 2008 08:09:58 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 0C260D2EB for ; Tue, 6 May 2008 08:10:19 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: commits@harmony.apache.org Date: Tue, 06 May 2008 08:10:18 -0000 Message-ID: <20080506081018.10441.79144@eos.apache.org> Subject: [Harmony Wiki] Update of "Stress Tests" by ialeviev X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification. The following page has been changed by ialeviev: http://wiki.apache.org/harmony/Stress_Tests ------------------------------------------------------------------------------ - == Launching Stress Tests == + 1. There is approximate list of commands that should be executed: + + {{{ + cd + svn co https://svn.apache.org/repos/asf/harmony/enhanced/buildtest/trunk/infra + cd infra + ant -Dtest.suites="stress" install + ant -Dtest.suites="stress" setup + ant -Dtest.suites="stress" run + }}} + + Results could be observed at build/results/stress folder + + 2. In case of testing virtual machine in different location the following commands can help: + + {{{ + cd + svn co https://svn.apache.org/repos/asf/harmony/enhanced/buildtest/trunk/infra + cd infra + ant -Dtest.suites=stress install + ant -Dtest.suites=stress setup + }}} + + Modify file "required-parameters.properties" in order to set the path to tested vm like: + + {{{ + stress.jvm.under.test=C:\harmony-jdk-628209\jre\bin\java.exe + }}} + + Start test running + + {{{ + ant -Dtest.suites=stress run + }}} + + 3. Here is also sample of individual test run if needed: + + {{{ + \working_vm\build\windows_x86_msvc_release\deploy\jdk\jre\bin\java.exe -classpath \build\checkouts\reliability\deploy\classes org.apache.harmony.test.reliability.share.ReliabilityTestStarter -testReliabilityMode longrunning -testTimeOut 1200 -testClassName org.apache.harmony.test.reliability.api.kernel.hooks.AddRmShtdwnHooksTest \working_vm\build\windows_x86_msvc_release\deploy\jdk\jre\bin\java.exe \build\checkouts\reliability\deploy\classes + }}} + + + - To launch stress tests do the following: + To launch stress tests without buildtest do the following: 1. Download required files from a repository. {{{ svn co http://svn.apache.org/repos/asf/harmony/enhanced/buildtest/branches/2.0/tests/stress svn co http://svn.apache.org/repos/asf/harmony/enhanced/buildtest/branches/2.0/tests/tools