harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elena Semukhina (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3018) [drlvm][thread manager][unit] cunit test thread/test_ti_instrum.c fails from time to time
Date Tue, 13 Feb 2007 09:49:05 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Elena Semukhina updated HARMONY-3018:

    Attachment: H-3018_test_ti_instrum.patch

The test uses hythread_sleep(1000) for synchronization. This should be implemented in a smarter

I attached the patch fixing the test. I successfully ran the test in a loop for more than
400 times.

> [drlvm][thread manager][unit] cunit test thread/test_ti_instrum.c fails from time to
> -----------------------------------------------------------------------------------------
>                 Key: HARMONY-3018
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3018
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Semukhina
>         Attachments: H-3018_test_ti_instrum.patch
> I managed to reproduce the failure with iterative runs on linux ia32 gcc release build:
> test test_ti_instrum failed:
> test_jthread_get_blocked_count start
>      [echo] ERROR: Test failed: Wrong number waiting on monitor threads (/export/lab_drlbuild/combined_gcc/CVS_20070117_0002_H/drlvm/trunk/vm/tests/unit/thread/test_ti_instrum.c:139)
> To run the test iteratively please use the following command:
>  i=0; while true; do ./test_ti_instrum -Dorg.apache.harmony.vm.vmdir=$DRLVM_HOME/bin/default
-Djava.home=$DRLVM_HOME; ec=$?; echo $i $ec; test $ec != 0 && break; i=$[i+1]; done
> Once I saw the failure on linux ia32 icc debug build.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message