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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 2319 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 2319.


Report 2319 Actions


    Problem Report Number 2319
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1191
    Raised 2004-01-27 23:22
    Updated 2004-01-29 21:23
    Published 2004-01-29 21:23
    Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSRTE version 1.1.3
    Test Identification POSIX_rte.os/timers/clock_settime 1-4
    Specification Base Definitions Issue 6
    Location in Spec none
    Problem Summary process clock negatively incremented, producing a illegal
    Problem Text in clock_settime_priv.c, subtest1:

    if (clock_gettime(clock_id, &tp) != 0)
    {
    vrtx_errno_resmsg(DELETION, "clock_gettime (1) failed",
    errno);
    DBUG_VOID_RETURN
    }

    saved_time = tp.tv_sec;
    tp.tv_sec -= 60;

    if ((rval = clock_settime(clock_id, &tp)) != 0)
    {
    vrtx_reterrno_resmsg(FAILURE,
    "clock_settime failed", rval, errno);
    DBUG_VOID_RETURN
    }

    the test is getting the time and then decrementing it by 60 seconds. But
    the CPU-time clock is initialized at 0sec 0nsec when the process starts,
    substracting 60sec from this value produces a negative value in this
    test. When this negative value is passed to clock_settime(), the test
    fails with EINVAL (invalidtime). The test needs to add 60 seconds and
    check that clock_gettime() returns a time of saved_time + 60.

    Subtests 2-4 have this same problem.
    Test Output ************************************************************************
    /tset/POSIX_rte.os/timers/clock_settime/T.clock_settime 1
    Failed

    Test Description:
    If both {_POSIX_TIMERS} and {_POSIX_CPUTIME} are
    defined:
    When clock_id is the value obtained by invoking
    clock_getcpuclockid(), then clock_settime(clock_id,
    tp) sets the specified process's CPU-time clock to
    the value specified by tp and returns zero.
    Error: requested file not found in archive
    /tsuites/VSRTE/vsrte/MAN/tset
    /POSIX_rte.os/timers/clock_settime/L.clock_settime_t

    Test Strategy:
    Error: requested file not found in archive
    /tsuites/VSRTE/vsrte/MAN/tset
    /POSIX_rte.os/timers/clock_settime/L.clock_settime_s

    Test Information:
    clock_settime failed, error -1, errno 22 (EINVAL)


    ************************************************************************

    ************************************************************************
    /tset/POSIX_rte.os/timers/clock_settime/T.clock_settime 2
    Failed

    Test Description:
    If both {_POSIX_TIMERS} and {_POSIX_CPUTIME} are
    defined:
    When clock_id is CLOCK_PROCESS_CPUTIME_ID, then
    clock_settime(clock_id, tp) sets the calling
    process's CPU-time clock to the value specified by
    tp and returns zero.
    Error: requested file not found in archive
    /tsuites/VSRTE/vsrte/MAN/tset
    /POSIX_rte.os/timers/clock_settime/L.clock_settime_t

    Test Strategy:
    Error: requested file not found in archive
    /tsuites/VSRTE/vsrte/MAN/tset
    /POSIX_rte.os/timers/clock_settime/L.clock_settime_s

    Test Information:
    clock_settime failed, error -1, errno 22 (EINVAL)


    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date 2004-01-27 23:22
    Last Updated 2004-01-29 20:24
    Completed 2004-01-29 20:24
    Status Complete
    Review Recommendation Test Suite Deficiency (TSD)
    Review Response This is accepted as a Test Suite Defiency and it is recommended that a
    waiver is granted.

    Review Type SA Review
    Start Date 2004-01-29 20:24
    Last Updated 2004-01-29 21:23
    Completed 2004-01-29 21:23
    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