|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2745 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 2745.
Report 2745 Actions
Problem Report Number 2745 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1434 Raised 2023-05-25 08:46 Updated 2023-05-25 10:31 Published 2023-05-25 10:31 Product Standard Commands and Utilities V4 (UNIX 03) Certification Program The Open Brand certification program Test Suite VSC version 5.3.22NW Test Identification /tset/POSIX.upe/renice/renice.ex{16} Specification Shell and Utilities Issue 6 Location in Spec https://pubs.opengroup.org/onlinepubs/009695399/utilities/renice.html Problem Summary The test for renice assertion 16 does not determine the PGID correctly Problem Text The test starts a background process, saves its pid, then does the following to get the PGID:
PGID=`ps -o pid -o pgid | grep $pid 2> /dev/null | awk -F" " '{ print $2 }?`
If by chance the new process?s PID is a substring of another existing process?s PID and/or PGID,
the grep will capture multiple lines and PGID will end up being a whitespace-separated list of
multiple PIDs. Then it executes this command:
renice -n 10 -g $PGID > $CT_STDOUT 2> $CT_STDERR
which will try to modify the priorities of all these processes, and once in a while that will fail.Test Output 200|38 16 13:25:32|TP Start
520|38 16 19177 1 1|Assertion #16 (C): -g option interprets all operands as unsigned decimal
integers
520|38 16 19177 2 1|Expected exit code = 0; Received 1
520|38 16 19177 2 2|Contents of out.stderr:
520|38 16 19458 1 1|renice: 28697: setpriority: Operation not permitted
220|38 16 1 13:25:32|FAILReview Information
Review Type TSMA Review Start Date 2023-05-25 08:46 Last Updated 2023-05-25 09:54 Completed 2023-05-25 09:54 Status Complete Review Recommendation Test Suite Deficiency (TSD) Review Response This is accepted as a fault in the test suite.
Review Type SA Review Start Date 2023-05-25 17:54 Last Updated 2023-05-25 10:31 Completed 2023-05-25 10:31 Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion A test suite deficiency is granted.
Problem Reporting System Options:
- View Report 2745
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority