Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 78865 invoked from network); 21 Mar 2007 10:14:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Mar 2007 10:14:53 -0000 Received: (qmail 6368 invoked by uid 500); 21 Mar 2007 10:15:00 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 6346 invoked by uid 500); 21 Mar 2007 10:15:00 -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 6337 invoked by uid 99); 21 Mar 2007 10:15:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2007 03:15:00 -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; Wed, 21 Mar 2007 03:14:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 621AF714046 for ; Wed, 21 Mar 2007 03:14:32 -0700 (PDT) Message-ID: <25121463.1174472072397.JavaMail.jira@brutus> Date: Wed, 21 Mar 2007 03:14:32 -0700 (PDT) From: "Stepan Mishura (JIRA)" To: commits@harmony.apache.org Subject: [jira] Resolved: (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:all-tabpanel ] Stepan Mishura resolved HARMONY-3403. ------------------------------------- Resolution: Fixed Ivan, the patch was applied at r520828. Please check that the patch was applied as you expected. > [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, remove_tests_from_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.