You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "tatyana doubtsova (JIRA)" <ji...@apache.org> on 2006/12/20 16:28:21 UTC
[jira] Created: (HARMONY-2820) [classlib] intermittent failure of
tests.api.java.util.TimerTaskTest
[classlib] intermittent failure of tests.api.java.util.TimerTaskTest
--------------------------------------------------------------------
Key: HARMONY-2820
URL: http://issues.apache.org/jira/browse/HARMONY-2820
Project: Harmony
Issue Type: Bug
Components: Classlib
Environment: win XP, msvc, debug, r489062
Reporter: tatyana doubtsova
Intermittent failure (1 time out of 50) of tests.api.java.util.TimerTaskTest@test_cancel
TimerTask cancelled should not run again
junit.framework.AssertionFailedError: TimerTask cancelled should not run again at tests.api.java.util.TimerTaskTest.test_cancel(TimerTaskTest.java:174) at java.lang.reflect.VMReflection.invokeMethod(Native Method) 2.047
to reproduce:
#!/bin/sh
A=0
while [ "$A" -lt "50" ]; do
ant -Dtest.jre.home=<path to jre> -Dbuild.module=luni -Dhy.test.vm.name=drl -Dhy.test.forkmode=once test
A=`expr $A + 1`
done
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (HARMONY-2820) [classlib] intermittent failure of
tests.api.java.util.TimerTaskTest
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2820?page=all ]
Tim Ellison closed HARMONY-2820.
--------------------------------
Verified by Tatyana.
> [classlib] intermittent failure of tests.api.java.util.TimerTaskTest
> --------------------------------------------------------------------
>
> Key: HARMONY-2820
> URL: http://issues.apache.org/jira/browse/HARMONY-2820
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: win XP, msvc, debug, r489062
> Reporter: tatyana doubtsova
> Assigned To: Tim Ellison
> Attachments: H-2820.patch
>
>
> Intermittent failure (1 time out of 50) of tests.api.java.util.TimerTaskTest@test_cancel
> TimerTask cancelled should not run again
> junit.framework.AssertionFailedError: TimerTask cancelled should not run again at tests.api.java.util.TimerTaskTest.test_cancel(TimerTaskTest.java:174) at java.lang.reflect.VMReflection.invokeMethod(Native Method) 2.047
> to reproduce:
> #!/bin/sh
> A=0
> while [ "$A" -lt "50" ]; do
> ant -Dtest.jre.home=<path to jre> -Dbuild.module=luni -Dhy.test.vm.name=drl -Dhy.test.forkmode=once test
> A=`expr $A + 1`
> done
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (HARMONY-2820) [classlib] intermittent failure of
tests.api.java.util.TimerTaskTest
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2820?page=all ]
Tim Ellison resolved HARMONY-2820.
----------------------------------
Resolution: Fixed
Thanks Tatyana/ Mikhail,
Patch applied to LUNI module at repo revision r489624.
Please check that it fully resolves you issue.
p.s. Please avoid reformatting in the patch, it makes it much harder to review -- a comment that the code needs reformatting is sufficient.
> [classlib] intermittent failure of tests.api.java.util.TimerTaskTest
> --------------------------------------------------------------------
>
> Key: HARMONY-2820
> URL: http://issues.apache.org/jira/browse/HARMONY-2820
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: win XP, msvc, debug, r489062
> Reporter: tatyana doubtsova
> Assigned To: Tim Ellison
> Attachments: H-2820.patch
>
>
> Intermittent failure (1 time out of 50) of tests.api.java.util.TimerTaskTest@test_cancel
> TimerTask cancelled should not run again
> junit.framework.AssertionFailedError: TimerTask cancelled should not run again at tests.api.java.util.TimerTaskTest.test_cancel(TimerTaskTest.java:174) at java.lang.reflect.VMReflection.invokeMethod(Native Method) 2.047
> to reproduce:
> #!/bin/sh
> A=0
> while [ "$A" -lt "50" ]; do
> ant -Dtest.jre.home=<path to jre> -Dbuild.module=luni -Dhy.test.vm.name=drl -Dhy.test.forkmode=once test
> A=`expr $A + 1`
> done
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HARMONY-2820) [classlib] intermittent failure of
tests.api.java.util.TimerTaskTest
Posted by "Mikhail Markov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2820?page=comments#action_12460470 ]
Mikhail Markov commented on HARMONY-2820:
-----------------------------------------
Thanks, Tim! (Also thanks for p.s. :-) - will use your advice in the future)
The patch is applied as i expected. Let's wait for Tatyana to confirm absense of intermittent failures.
> [classlib] intermittent failure of tests.api.java.util.TimerTaskTest
> --------------------------------------------------------------------
>
> Key: HARMONY-2820
> URL: http://issues.apache.org/jira/browse/HARMONY-2820
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: win XP, msvc, debug, r489062
> Reporter: tatyana doubtsova
> Assigned To: Tim Ellison
> Attachments: H-2820.patch
>
>
> Intermittent failure (1 time out of 50) of tests.api.java.util.TimerTaskTest@test_cancel
> TimerTask cancelled should not run again
> junit.framework.AssertionFailedError: TimerTask cancelled should not run again at tests.api.java.util.TimerTaskTest.test_cancel(TimerTaskTest.java:174) at java.lang.reflect.VMReflection.invokeMethod(Native Method) 2.047
> to reproduce:
> #!/bin/sh
> A=0
> while [ "$A" -lt "50" ]; do
> ant -Dtest.jre.home=<path to jre> -Dbuild.module=luni -Dhy.test.vm.name=drl -Dhy.test.forkmode=once test
> A=`expr $A + 1`
> done
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HARMONY-2820) [classlib] intermittent failure of
tests.api.java.util.TimerTaskTest
Posted by "tatyana doubtsova (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2820?page=comments#action_12461307 ]
tatyana doubtsova commented on HARMONY-2820:
--------------------------------------------
There are no more intermittent failures of tests.api.java.util.TimerTaskTest during iterative runs.
> [classlib] intermittent failure of tests.api.java.util.TimerTaskTest
> --------------------------------------------------------------------
>
> Key: HARMONY-2820
> URL: http://issues.apache.org/jira/browse/HARMONY-2820
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: win XP, msvc, debug, r489062
> Reporter: tatyana doubtsova
> Assigned To: Tim Ellison
> Attachments: H-2820.patch
>
>
> Intermittent failure (1 time out of 50) of tests.api.java.util.TimerTaskTest@test_cancel
> TimerTask cancelled should not run again
> junit.framework.AssertionFailedError: TimerTask cancelled should not run again at tests.api.java.util.TimerTaskTest.test_cancel(TimerTaskTest.java:174) at java.lang.reflect.VMReflection.invokeMethod(Native Method) 2.047
> to reproduce:
> #!/bin/sh
> A=0
> while [ "$A" -lt "50" ]; do
> ant -Dtest.jre.home=<path to jre> -Dbuild.module=luni -Dhy.test.vm.name=drl -Dhy.test.forkmode=once test
> A=`expr $A + 1`
> done
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (HARMONY-2820) [classlib] intermittent failure of
tests.api.java.util.TimerTaskTest
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2820?page=all ]
Tim Ellison reassigned HARMONY-2820:
------------------------------------
Assignee: Tim Ellison
> [classlib] intermittent failure of tests.api.java.util.TimerTaskTest
> --------------------------------------------------------------------
>
> Key: HARMONY-2820
> URL: http://issues.apache.org/jira/browse/HARMONY-2820
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: win XP, msvc, debug, r489062
> Reporter: tatyana doubtsova
> Assigned To: Tim Ellison
> Attachments: H-2820.patch
>
>
> Intermittent failure (1 time out of 50) of tests.api.java.util.TimerTaskTest@test_cancel
> TimerTask cancelled should not run again
> junit.framework.AssertionFailedError: TimerTask cancelled should not run again at tests.api.java.util.TimerTaskTest.test_cancel(TimerTaskTest.java:174) at java.lang.reflect.VMReflection.invokeMethod(Native Method) 2.047
> to reproduce:
> #!/bin/sh
> A=0
> while [ "$A" -lt "50" ]; do
> ant -Dtest.jre.home=<path to jre> -Dbuild.module=luni -Dhy.test.vm.name=drl -Dhy.test.forkmode=once test
> A=`expr $A + 1`
> done
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HARMONY-2820) [classlib] intermittent failure of
tests.api.java.util.TimerTaskTest
Posted by "Mikhail Markov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2820?page=all ]
Mikhail Markov updated HARMONY-2820:
------------------------------------
Attachment: H-2820.patch
Here is the patch adding synchronization to java.util.TimerTask. Also it replaces tab characters with 4 spaces.
> [classlib] intermittent failure of tests.api.java.util.TimerTaskTest
> --------------------------------------------------------------------
>
> Key: HARMONY-2820
> URL: http://issues.apache.org/jira/browse/HARMONY-2820
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: win XP, msvc, debug, r489062
> Reporter: tatyana doubtsova
> Attachments: H-2820.patch
>
>
> Intermittent failure (1 time out of 50) of tests.api.java.util.TimerTaskTest@test_cancel
> TimerTask cancelled should not run again
> junit.framework.AssertionFailedError: TimerTask cancelled should not run again at tests.api.java.util.TimerTaskTest.test_cancel(TimerTaskTest.java:174) at java.lang.reflect.VMReflection.invokeMethod(Native Method) 2.047
> to reproduce:
> #!/bin/sh
> A=0
> while [ "$A" -lt "50" ]; do
> ant -Dtest.jre.home=<path to jre> -Dbuild.module=luni -Dhy.test.vm.name=drl -Dhy.test.forkmode=once test
> A=`expr $A + 1`
> done
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira