You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vera Petrashkova (JIRA)" <ji...@apache.org> on 2007/07/02 12:59:04 UTC

[jira] Created: (HARMONY-4310) Test vm/jvmti/events/DataDumpRequest/DataDumpRequest0101/DataDumpRequest0101.xml is incorrect

Test vm/jvmti/events/DataDumpRequest/DataDumpRequest0101/DataDumpRequest0101.xml is incorrect
---------------------------------------------------------------------------------------------

                 Key: HARMONY-4310
                 URL: https://issues.apache.org/jira/browse/HARMONY-4310
             Project: Harmony
          Issue Type: Bug
          Components: build - test - ci
            Reporter: Vera Petrashkova


It looks like this test was designed incompletely.

According to J2SEJVMTI specification:
    DataDumpRequest event sent by the VM to request the agent to dump its data. 
    This is just a hint and the agent need not react to this event. 
    This is useful for processing command-line signals from users. 

DataDumpEvent never occurs and test fails on RI and on Harmony
because there was any action to cause this event.
See DataDumpRequest0101.cpp:
---------
void JNICALL callbackException(prms_EXCPT)
...
#ifdef LINUX

    fprintf(stderr, "\tnative: kill SIGINT is %d \n", SIGINT);
    fprintf(stderr, "\tnative: kill getpid() is %d \n", getpid());
    fflush(stderr);

    usleep(50000);

    for (int i = 1 ; i <= 15; i++)
        kill(i, getpid());
#else

    //TODO


#endif
---------------
This test should be redesigned or removed.


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


[jira] Commented: (HARMONY-4310) Test vm/jvmti/events/DataDumpRequest/DataDumpRequest0101/DataDumpRequest0101.xml is incorrect

Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554767 ] 

Vladimir Beliaev commented on HARMONY-4310:
-------------------------------------------

Interesting... BTW, it's better to name thius JIRA as [buildtest][vts] & make the test name in summary a bit sho-o-o-ter, so the summary becomes readable & one who works with VTS suite may find this JIRA over ~700 ones against Harmony.

> Test vm/jvmti/events/DataDumpRequest/DataDumpRequest0101/DataDumpRequest0101.xml is incorrect
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4310
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4310
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>            Reporter: Vera Petrashkova
>
> It looks like this test was designed incompletely.
> According to J2SEJVMTI specification:
>     DataDumpRequest event sent by the VM to request the agent to dump its data. 
>     This is just a hint and the agent need not react to this event. 
>     This is useful for processing command-line signals from users. 
> DataDumpEvent never occurs and test fails on RI and on Harmony
> because there was any action to cause this event.
> See DataDumpRequest0101.cpp:
> ---------
> void JNICALL callbackException(prms_EXCPT)
> ...
> #ifdef LINUX
>     fprintf(stderr, "\tnative: kill SIGINT is %d \n", SIGINT);
>     fprintf(stderr, "\tnative: kill getpid() is %d \n", getpid());
>     fflush(stderr);
>     usleep(50000);
>     for (int i = 1 ; i <= 15; i++)
>         kill(i, getpid());
> #else
>     //TODO
> #endif
> ---------------
> This test should be redesigned or removed.

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


[jira] Updated: (HARMONY-4310) [buildtest][vts] Test vm/jvmti/events /DataDumpRequest /DataDumpRequest0101 /DataDumpRequest0101.xml is incorrect

Posted by "Mikhail Markov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Markov updated HARMONY-4310:
------------------------------------

    Summary: [buildtest][vts] Test vm/jvmti/events /DataDumpRequest /DataDumpRequest0101 /DataDumpRequest0101.xml is incorrect  (was: Test vm/jvmti/events/DataDumpRequest/DataDumpRequest0101/DataDumpRequest0101.xml is incorrect)

> [buildtest][vts] Test vm/jvmti/events /DataDumpRequest /DataDumpRequest0101 /DataDumpRequest0101.xml is incorrect
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4310
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4310
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>            Reporter: Vera Petrashkova
>
> It looks like this test was designed incompletely.
> According to J2SEJVMTI specification:
>     DataDumpRequest event sent by the VM to request the agent to dump its data. 
>     This is just a hint and the agent need not react to this event. 
>     This is useful for processing command-line signals from users. 
> DataDumpEvent never occurs and test fails on RI and on Harmony
> because there was any action to cause this event.
> See DataDumpRequest0101.cpp:
> ---------
> void JNICALL callbackException(prms_EXCPT)
> ...
> #ifdef LINUX
>     fprintf(stderr, "\tnative: kill SIGINT is %d \n", SIGINT);
>     fprintf(stderr, "\tnative: kill getpid() is %d \n", getpid());
>     fflush(stderr);
>     usleep(50000);
>     for (int i = 1 ; i <= 15; i++)
>         kill(i, getpid());
> #else
>     //TODO
> #endif
> ---------------
> This test should be redesigned or removed.

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