Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 96764 invoked from network); 16 Mar 2007 06:27:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Mar 2007 06:27:30 -0000 Received: (qmail 45476 invoked by uid 500); 16 Mar 2007 06:27:38 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 45463 invoked by uid 500); 16 Mar 2007 06:27:38 -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 45454 invoked by uid 99); 16 Mar 2007 06:27:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2007 23:27:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2007 23:27:29 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7D6D271407E for ; Thu, 15 Mar 2007 23:27:09 -0700 (PDT) Message-ID: <7103251.1174026429511.JavaMail.jira@brutus> Date: Thu, 15 Mar 2007 23:27:09 -0700 (PDT) From: "Stepan Mishura (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-3403) [jdktools][jpda] 8 JDWP unit tests fail because VMDeath event is nor received In-Reply-To: <16134568.1173959529451.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-3403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481492 ] Stepan Mishura commented on HARMONY-3403: ----------------------------------------- Ivan, what the problem is - all tests pass for me? > [jdktools][jpda] 8 JDWP unit tests fail because VMDeath event is nor received > ----------------------------------------------------------------------------- > > Key: HARMONY-3403 > URL: https://issues.apache.org/jira/browse/HARMONY-3403 > Project: Harmony > Issue Type: Bug > Components: JDK > Environment: Windows/ia32, Linux/ia32, Harmony-jdk-r518547 > Reporter: Ivan Popov > Assigned To: Stepan Mishura > Attachments: add_tests_to_exclude_list.patch > > > The following JDWP unit tests > org.apache.harmony.jpda.tests.jdwp.Events.VMDeath002Test > org.apache.harmony.jpda.tests.jdwp.Events.VMDeathTest > org.apache.harmony.jpda.tests.jdwp.MultiSession.ClassPrepareTest > org.apache.harmony.jpda.tests.jdwp.MultiSession.ExceptionTest > org.apache.harmony.jpda.tests.jdwp.MultiSession.FieldAccessTest > org.apache.harmony.jpda.tests.jdwp.MultiSession.FieldModificationTest > org.apache.harmony.jpda.tests.jdwp.MultiSession.SingleStepTest > org.apache.harmony.jpda.tests.jdwp.MultiSession.VMDeathTest > fail because expected VMDeath event is nor received and debuggee JVM hangs at exit. > I suspect this problem is caused by recent changes in generation of JVMTI event VM_DEATH, see HARMONY-3297. However, it needs deeper investigation. > Here is typical diagnostics: > <...> > => Wait for VM_DEATH event > <...> > Waiting for debuggee exit > Ignoring exception in ProcessWaiter thread interrupted: java.lang.InterruptedException > # ERROR: Enforced debuggee termination > Waiting for redirectors > Redirector completed: STDOUT > Redirector completed: STDERR > <...> > org.apache.harmony.jpda.tests.framework.TestErrorException: org.apache.harmony.jpda.tests.framework.jdwp.exceptions.TimeoutException: Timeout was exceeded > at org.apache.harmony.jpda.tests.framework.jdwp.VmMirror.receiveEvent(VmMirror.java:1693) > at org.apache.harmony.jpda.tests.jdwp.Events.VMDeath002Test.testVMDeathRequest(VMDeath002Test.java:104) > at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java) > Caused by: org.apache.harmony.jpda.tests.framework.jdwp.exceptions.TimeoutException: Timeout was exceeded > at org.apache.harmony.jpda.tests.framework.jdwp.PacketDispatcher$EventsSynchronyzer.waitForNextEvent(PacketDispatcher.java:173) > at org.apache.harmony.jpda.tests.framework.jdwp.PacketDispatcher.receiveEvent(PacketDispatcher.java) > at org.apache.harmony.jpda.tests.framework.jdwp.VmMirror.receiveEvent(VmMirror.java) > at org.apache.harmony.jpda.tests.framework.jdwp.VmMirror.receiveEvent(VmMirror.java:1691) > at org.apache.harmony.jpda.tests.jdwp.Events.VMDeath002Test.testVMDeathRequest(VMDeath002Test.java:104) > ... 13 more > To reproduce this failure: > 1. create Harmony JDK with federated build: > svn checkout https://svn.apache.org/repos/asf/harmony/enhanced/trunk > cd trunk > ant > 2. goto jdktools directory, add junit to classpath, and run particular test: > cd working_jdktools > export CLASSPATH=<...>/trunk/common_resources/depends/jars/junit_3.8.2/junit.jar > ant test -Dbuild.module=jpda -Dtest.case=org.apache.harmony.jpda.tests.jdwp.Events.VMDeathTest > 3. see results in <...>/trunk/working_jdktools/build/test_report/html/index.html > It is possible also to run test directly from command line: > cd working_jdktools > deploy/jdk/bin/java -classpath ../common_resources/depends/jars/junit_3.8.2/junit.jar:build/tests/classes \ > org.apache.harmony.jpda.tests.jdwp.Events.VMDeathTest -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.