HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1572 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 1572.


Report 1572 Actions


    Problem Report Number 1572
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0854
    Raised 2002-07-16 08:00
    Updated 2003-03-13 08:00
    Published 2002-07-26 08:00
    Product Standard Internationalised System Calls and Libraries Extended (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.1.2
    Test Identification CAPI.os/procprim/signal 1
    Problem Summary TSD4U.00315 The tests should only check the value of errno if the call to signal() fails. Also the value of errno should be saved immediately after the call to the function under test, since the macro IGNORE_MY_ALARM is causing errno to be to EINVAL.
    Problem Text
    signal #1 and sigpause #2 are still failing on our implementation after patch A was installed.

    The underlying reason for their failure is the same as that stated in the interp request which resulted in patch A, but the fix needs to be made in
    the actual testcase code rather than in SRC/common/capi_com/signals.c for these two tests.

    Specifically, siganal #1 is not checking that the call to signal() actually failed before it checks if errno = EINVAL, as described in the request
    resulting in
    patch A, the value of errno is only meaningful after a failing call. In our current implementation this successful call to signal() actually sets
    errno to EINVAL.
    A check such as if (SIG_ERR == signal(signals[i].signal,SIG_IGN)) should be added to the testcase before checking errno.

    sigpause #2 is also failing on our current implementation because of a similar issue. In this partular testcase, the successful call to
    sigset(SIGALARM,SIG_DFL)
    in the IGNORE_MY_ALARM macro is setting errno to EINVAL. In this particular case, a non-zero return code from sigpause() should be checked for and
    the
    the errno from the sigpause() call should be saved before executing the IGNORE_MY_ALARM macro. Of course the check for errno=EINVAL should only
    be done if in fact the sigpause() call failed.
    Test Output
    0|3.3-lite 09:24:36 20020716|User: vsx0 (240) TCC Start, Command line: tcc -e -l /tset/CAPI.os/procprim/signal/T.signal{1} vsu
    ...
    40||Config End
    10|0 /tset/CAPI.os/procprim/signal/T.signal 09:24:36|TC Start, scenario ref 1-0, ICs: {1}
    15|0 3.3-lite 1|TCM Start
    400|0 1 1 09:24:36|IC Start
    200|0 1 09:24:36|TP Start
    520|0 1 00083951771 1 1|TEST: signal() accepts SIGABRT
    520|0 1 00083951771 1 2|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 3|TEST: signal() accepts SIGALRM
    520|0 1 00083951771 1 4|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 5|TEST: signal() accepts SIGCHLD
    520|0 1 00083951771 1 6|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 7|TEST: signal() accepts SIGCONT
    520|0 1 00083951771 1 8|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 9|TEST: signal() accepts SIGFPE
    520|0 1 00083951771 1 10|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 11|TEST: signal() accepts SIGHUP
    520|0 1 00083951771 1 12|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 13|TEST: signal() accepts SIGILL
    520|0 1 00083951771 1 14|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 15|TEST: signal() accepts SIGINT
    520|0 1 00083951771 1 16|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 17|TEST: signal() accepts SIGPIPE
    520|0 1 00083951771 1 18|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 19|TEST: signal() accepts SIGQUIT
    520|0 1 00083951771 1 20|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 21|TEST: signal() accepts SIGSEGV
    520|0 1 00083951771 1 22|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 23|TEST: signal() accepts SIGTERM
    520|0 1 00083951771 1 24|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 25|TEST: signal() accepts SIGTSTP
    520|0 1 00083951771 1 26|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 27|TEST: signal() accepts SIGTTIN
    520|0 1 00083951771 1 28|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 29|TEST: signal() accepts SIGTTOU
    520|0 1 00083951771 1 30|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 31|TEST: signal() accepts SIGUSR1
    520|0 1 00083951771 1 32|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 33|TEST: signal() accepts SIGUSR2
    520|0 1 00083951771 1 34|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 35|TEST: signal() accepts SIGTRAP
    520|0 1 00083951771 1 36|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 37|TEST: signal() accepts SIGBUS
    520|0 1 00083951771 1 38|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 39|TEST: signal() accepts SIGSYS
    520|0 1 00083951771 1 40|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 41|TEST: signal() accepts SIGPOLL
    520|0 1 00083951771 1 42|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 43|TEST: signal() accepts SIGPROF
    520|0 1 00083951771 1 44|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 45|TEST: signal() accepts SIGXCPU
    520|0 1 00083951771 1 46|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 47|TEST: signal() accepts SIGXFSZ
    520|0 1 00083951771 1 48|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 49|TEST: signal() accepts SIGURG
    520|0 1 00083951771 1 50|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    520|0 1 00083951771 1 51|TEST: signal() accepts SIGVTALRM
    520|0 1 00083951771 1 52|ERROR: signal failed, errno = 121(EINVAL - Invalid argument)
    220|0 1 1 09:24:36|FAIL
    410|0 1 1 09:24:36|IC End
    80|0 0 09:24:37|TC End, scenario ref 1-0
    900|09:24:37|TCC End


    0|3.3-lite 09:36:34 20020716|User: vsx0 (240) TCC Start, Command line: tcc -e -l /tset/CAPI.os/procprim/sigpause/T.sigpause{2} vsu
    ...
    40||Config End
    10|0 /tset/CAPI.os/procprim/sigpause/T.sigpause 09:36:34|TC Start, scenario ref 1-0, ICs: {2}
    15|0 3.3-lite 1|TCM Start
    400|0 2 1 09:36:34|IC Start
    200|0 2 09:36:34|TP Start
    520|0 2 00067174562 1 1|TEST: sigpause() accepts SIGABRT
    520|0 2 00067174562 1 2|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 3|TEST: sigpause() accepts SIGALRM
    520|0 2 00067174562 1 4|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 5|TEST: sigpause() accepts SIGCHLD
    520|0 2 00067174562 1 6|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 7|TEST: sigpause() accepts SIGCONT
    520|0 2 00067174562 1 8|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 9|TEST: sigpause() accepts SIGFPE
    520|0 2 00067174562 1 10|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 11|TEST: sigpause() accepts SIGHUP
    520|0 2 00067174562 1 12|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 13|TEST: sigpause() accepts SIGILL
    520|0 2 00067174562 1 14|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 15|TEST: sigpause() accepts SIGINT
    520|0 2 00067174562 1 16|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 17|TEST: sigpause() accepts SIGPIPE
    520|0 2 00067174562 1 18|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 19|TEST: sigpause() accepts SIGQUIT
    520|0 2 00067174562 1 20|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 21|TEST: sigpause() accepts SIGSEGV
    520|0 2 00067174562 1 22|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 23|TEST: sigpause() accepts SIGTERM
    520|0 2 00067174562 1 24|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 25|TEST: sigpause() accepts SIGTSTP
    520|0 2 00067174562 1 26|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 27|TEST: sigpause() accepts SIGTTIN
    520|0 2 00067174562 1 28|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 29|TEST: sigpause() accepts SIGTTOU
    520|0 2 00067174562 1 30|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 31|TEST: sigpause() accepts SIGUSR1
    520|0 2 00067174562 1 32|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 33|TEST: sigpause() accepts SIGUSR2
    520|0 2 00067174562 1 34|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 35|TEST: sigpause() accepts SIGTRAP
    520|0 2 00067174562 1 36|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 37|TEST: sigpause() accepts SIGBUS
    520|0 2 00067174562 1 38|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 39|TEST: sigpause() accepts SIGSYS
    520|0 2 00067174562 1 40|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 41|TEST: sigpause() accepts SIGPOLL
    520|0 2 00067174562 1 42|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 43|TEST: sigpause() accepts SIGPROF
    520|0 2 00067174562 1 44|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 45|TEST: sigpause() accepts SIGXCPU
    520|0 2 00067174562 1 46|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 47|TEST: sigpause() accepts SIGXFSZ
    520|0 2 00067174562 1 48|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 49|TEST: sigpause() accepts SIGURG
    520|0 2 00067174562 1 50|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    520|0 2 00067174562 1 51|TEST: sigpause() accepts SIGVTALRM
    520|0 2 00067174562 1 52|ERROR: sigpause failed, errno = 121(EINVAL - Invalid argument)
    220|0 2 1 09:37:00|FAIL
    410|0 2 1 09:37:00|IC End
    80|0 0 09:37:03|TC End, scenario ref 1-0
    900|09:37:03|TCC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is accepted as a fault in the test suite.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion
    This is an agreed Test Suite Deficiency.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority