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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2663 Actions


    Problem Report Number 2663
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1388
    Raised 2016-08-04 17:46
    Updated 2016-08-09 18:21
    Published 2016-08-09 18:21
    Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.3.12
    Test Identification tset/CAPI.os/procprim/getitimer/T.getitimer 2,3
    Specification Base Definitions Issue 6
    Problem Summary The test does not allow enough leeway in the expected time range
    Problem Text The test code contains the following comments:

    /* There is no guarantee that the CPU time values
    from times() are accounted for in exactly the same
    way as the virtual timers, so we can only use them
    as a rough indication of what to expect */

    /* lower bound: half the CPU time used */

    /* upper bound: half way between the CPU time used
    and the elapsed (real) time */

    The test output shows that the CPU time consumed (remaining from the 360
    second timer) according to getitimer() was about 8 seconds for test 2
    and 7 seconds for test 3, whereas the lower limit allowed by the test is
    9 seconds (half of the 18 seconds reported by times()). Since this
    limit is an arbitrary choice by the test author, it seems reasonable to
    request that it be relaxed a little.
    Test Output Test 2 Information:
    PREP: Open a temporary scratch file
    PREP: Set the ITIMER_VIRTUAL timer to a known value.
    PREP: Loop in the program for arbitrary time.
    Perform dummy I/O on temporary scratch file.
    PREP: Obtain the ITIMER_VIRTUAL timer through getitimer().
    TEST: getitimer() returns the correct timer value
    timer value = original timer set - time elapsed
    ERROR: Invalid value returned by getitimer()
    Expecting between 184.850000 and 351.000000, Received 351.940000

    Test 3 Information:
    PREP: Open a temporary scratch file
    PREP: Set the ITIMER_PROF timer to a known value.
    PREP: Loop in the program for arbitrary time.
    Perform dummy I/O on temporary scratch file.
    PREP: Obtain the ITIMER_PROF timer through getitimer().
    TEST: getitimer() returns the correct timer value
    timer value = original timer set - time elapsed
    ERROR: Invalid value returned by getitimer()
    Expecting between 160.730000 and 351.000000, Received 353.091000

    Review Information

    Review Type TSMA Review
    Start Date 2016-08-04 17:46
    Last Updated 2016-08-04 12:17
    Completed 2016-08-04 12:17
    Status Complete
    Review Recommendation No Resolution Given
    Review Response

    Review Type SA Review
    Start Date 2016-08-04 20:17
    Last Updated 2016-08-09 18:20
    Completed 2016-08-09 18:20
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion A test suite deficiency is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority