|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1383 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 1383.
Report 1383 Actions
Problem Report Number 1383 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0665 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1996-09-16 08:00 Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.1.0 Test Identification CAPIbase/fsetregid 6 7 Problem Summary TSD4U.00152 This test may fail due to timeout on some implementations. Problem Text
Affected assertions: setregid #6,#7 and setreuid #7
These assertions are failing intermittently on our implementation
because of the hardocded timeout value MAX_TIME_TO_RUN used in
the KROF macro.
MAX_TIME_TO_RUN is 10, and this is sometimes enough for our
implementation to complete the child processing successfully and
sometimes not. Attached are successful journal runs for each
of these assertions. You can see from the run times of each
of these assertions we are very close to the 10 second cut
off:
assetion run time in
passing journal
setregid#6 9 seconds
setregid#7 9 seconds
setreuid#7 8 seconds
110|4233 /tset/CAPIbase/fsetregid/fsetregid6 04:35:05|Build Start, scenario ref 76-1893
130|4233 0 04:35:36|Build End
10|4234 /tset/CAPIbase/fsetregid/fsetregid6 04:35:36|TC Start, scenario ref 76-1893
15|4234 1.10 1|TCM Start
400|4234 6 1 04:35:41|IC Start
200|4234 1 04:35:41|TP Start
520|4234 1 217186310 1 1|SPEC1170TESTSUITE CASE 6
520|4234 1 217186310 1 2|A call to int setregid(gid_t rgid, gid_t
520|4234 1 217186310 1 3|egid) shall allow a non-privileged process to set the
520|4234 1 217186310 1 4|real group ID to the saved set-group-ID from execv().
520|4234 1 208011298 1 1|PREP: Read value for VSU_NOT_INUSE_GID2 configuration
520|4234 1 208011298 1 2| parameter
520|4234 1 208011298 1 3|PREP: Set the real group ID to VSU_NOT_INUSE_GID2
520|4234 1 208011298 1 4|PREP: Fork a child process and a execute a program in
520|4234 1 208011298 1 5| this process which has its setuid bit set and is
520|4234 1 208011298 1 6| owned by another group. This will cause the real group
520|4234 1 208011298 1 7| ID of the child to be different from its saved
520|4234 1 208011298 1 8| set-group-ID/effective group ID
520|4234 1 192282634 2 1|INFO: real group ID = 3402, effective/saved group ID= 3400
520|4234 1 192282634 2 2|PREP: Child: set effective group ID to real group ID
520|4234 1 192282634 2 3|TEST: Child: set real group ID to saved group ID
220|4234 1 0 04:35:50|PASS
410|4234 6 1 04:35:50|IC End
80|4234 0 04:35:50|TC End
110|4235 /tset/CAPIbase/fsetregid/fsetregid7 04:35:50|Build Start, scenario ref 76-1894
130|4235 0 04:36:22|Build End
10|4236 /tset/CAPIbase/fsetregid/fsetregid7 04:36:22|TC Start, scenario ref 76-1894
15|4236 1.10 1|TCM Start
400|4236 7 1 04:36:27|IC Start
200|4236 1 04:36:27|TP Start
520|4236 1 217317382 1 1|SPEC1170TESTSUITE CASE 7
520|4236 1 217317382 1 2|A call to int setregid(gid_t rgid, gid_t
520|4236 1 217317382 1 3|egid) shall allow a non-privileged process to set the
520|4236 1 217317382 1 4|effective group ID to the saved set-group-ID.
520|4236 1 208207906 1 1|PREP: Read value for VSU_NOT_INUSE_GID1 configuration
520|4236 1 208207906 1 2| parameter
520|4236 1 208207906 1 3|PREP: Set the effective and real group IDs to VSU_NOT_INUSE_GID1
520|4236 1 208207906 1 4|PREP: Fork a child process and a execute a program in
520|4236 1 208207906 1 5| this process which has its set-group-ID set to
520|4236 1 208207906 1 6| another group. This will cause the effective group
520|4236 1 208207906 1 7| ID of the child to be different from its saved
520|4236 1 208207906 1 8| set-group-ID (VSU_NOT_INUSE_GID1)
520|4236 1 192806922 2 1|PREP: Get saved group id
520|4236 1 192806922 2 2|PREP: Change effective Group ID to the real id
520|4236 1 192806922 2 3|TEST: setregid() sets the effective group ID
520|4236 1 192806922 2 4| to the saved set-group-ID
220|4236 1 0 04:36:36|PASS
410|4236 7 1 04:36:36|IC End
80|4236 0 04:36:36|TC End
110|4259 /tset/CAPIbase/fsetreuid/fsetreuid7 04:40:59|Build Start, scenario ref 76-1907
130|4259 0 04:41:31|Build End
10|4260 /tset/CAPIbase/fsetreuid/fsetreuid7 04:41:31|TC Start, scenario ref 76-1907
15|4260 1.10 1|TCM Start
400|4260 7 1 04:41:36|IC Start
200|4260 1 04:41:36|TP Start
520|4260 1 218955782 1 1|SPEC1170TESTSUITE CASE 7
520|4260 1 218955782 1 2|A call to int setreuid(uid_t ruid, uid_t
520|4260 1 218955782 1 3|euid) shall allow an unprivileged process to set the
520|4260 1 218955782 1 4|effective user ID if euid is equal to the saved user
520|4260 1 218955782 1 5|ID of the process.
520|4260 1 186253360 1 1|PREP: Read value for VSU_NOT_INUSE_UID1 configuration
520|4260 1 186253360 1 2| parameter
520|4260 1 186253360 1 3|PREP: Set the effective and real user IDs to VSU_NOT_INUSE_UID1
520|4260 1 186253360 1 4|PREP: Fork a child process and a execute a program in
520|4260 1 186253360 1 5| this process which has its set-user-ID set to
520|4260 1 186253360 1 6| another user. This will cause the effective user
520|4260 1 186253360 1 7| ID of the child to be different from its saved
520|4260 1 186253360 1 8| set-user-ID
520|4260 1 194248714 2 1|PREP: Child: Obtain the saved user ID
520|4260 1 194248714 2 2|PREP: Read value for VSU_NOT_INUSE_UID1 configuration
520|4260 1 194248714 2 3| parameter
520|4260 1 194248714 2 4|PREP: Child: Change effective user ID
520|4260 1 194248714 2 5|TEST: Child: setreuid() sets the effective user ID
520|4260 1 194248714 2 6| to the saved set-user-ID
220|4260 1 0 04:41:44|PASS
410|4260 7 1 04:41:44|IC End
80|4260 0 04:41:44|TC EndTest Output
10|1667 /tset/CAPIbase/fsetregid/fsetregid6 11:49:28|TC Start, scenario ref 111-1893
15|1667 1.10 1|TCM Start
400|1667 6 1 11:49:35|IC Start
200|1667 1 11:49:35|TP Start
520|1667 1 64028730 1 1|SPEC1170TESTSUITE CASE 6
520|1667 1 64028730 1 2|A call to int setregid(gid_t rgid, gid_t
520|1667 1 64028730 1 3|egid) shall allow a non-privileged process to set the
520|1667 1 64028730 1 4|real group ID to the saved set-group-ID from execv().
520|1667 1 77594653 1 1|PREP: Read value for VSU_NOT_INUSE_GID2 configuration
520|1667 1 77594653 1 2| parameter
520|1667 1 77594653 1 3|PREP: Set the real group ID to VSU_NOT_INUSE_GID2
520|1667 1 77594653 1 4|PREP: Fork a child process and a execute a program in
520|1667 1 77594653 1 5| this process which has its setuid bit set and is
520|1667 1 77594653 1 6| owned by another group. This will cause the real group
520|1667 1 77594653 1 7| ID of the child to be different from its saved
520|1667 1 77594653 1 8| set-group-ID/effective group ID
520|1667 1 77594653 2 1|ERROR: wait_for: Timed-out waiting for child to exit.
220|1667 1 1 11:49:47|FAIL
410|1667 6 1 11:49:47|IC End
80|1667 0 11:49:48|TC End
10|1668 /tset/CAPIbase/fsetregid/fsetregid7 11:49:48|TC Start, scenario ref 111-1894
15|1668 1.10 1|TCM Start
400|1668 7 1 11:49:54|IC Start
200|1668 1 11:49:54|TP Start
520|1668 1 64094266 1 1|SPEC1170TESTSUITE CASE 7
520|1668 1 64094266 1 2|A call to int setregid(gid_t rgid, gid_t
520|1668 1 64094266 1 3|egid) shall allow a non-privileged process to set the
520|1668 1 64094266 1 4|effective group ID to the saved set-group-ID.
520|1668 1 28770308 1 1|PREP: Read value for VSU_NOT_INUSE_GID1 configuration
520|1668 1 28770308 1 2| parameter
520|1668 1 28770308 1 3|PREP: Set the effective and real group IDs to VSU_NOT_INUSE_GID1
520|1668 1 28770308 1 4|PREP: Fork a child process and a execute a program in
520|1668 1 28770308 1 5| this process which has its set-group-ID set to
520|1668 1 28770308 1 6| another group. This will cause the effective group
520|1668 1 28770308 1 7| ID of the child to be different from its saved
520|1668 1 28770308 1 8| set-group-ID (VSU_NOT_INUSE_GID1)
520|1668 1 28770308 2 1|ERROR: wait_for: Timed-out waiting for child to exit.
220|1668 1 1 11:50:06|FAIL
410|1668 7 1 11:50:06|IC End
80|1668 0 11:50:07|TC End
10|1680 /tset/CAPIbase/fsetreuid/fsetreuid7 11:51:29|TC Start, scenario ref 111-1907
15|1680 1.10 1|TCM Start
400|1680 7 1 11:51:35|IC Start
200|1680 1 11:51:35|TP Start
520|1680 1 163905547 1 1|SPEC1170TESTSUITE CASE 7
520|1680 1 163905547 1 2|A call to int setreuid(uid_t ruid, uid_t
520|1680 1 163905547 1 3|euid) shall allow an unprivileged process to set the
520|1680 1 163905547 1 4|effective user ID if euid is equal to the saved user
520|1680 1 163905547 1 5|ID of the process.
520|1680 1 66584604 1 1|PREP: Read value for VSU_NOT_INUSE_UID1 configuration
520|1680 1 66584604 1 2| parameter
520|1680 1 66584604 1 3|PREP: Set the effective and real user IDs to VSU_NOT_INUSE_UID1
520|1680 1 66584604 1 4|PREP: Fork a child process and a execute a program in
520|1680 1 66584604 1 5| this process which has its set-user-ID set to
520|1680 1 66584604 1 6| another user. This will cause the effective user
520|1680 1 66584604 1 7| ID of the child to be different from its saved
520|1680 1 66584604 1 8| set-user-ID
520|1680 1 66584604 2 1|ERROR: wait_for: Timed-out waiting for child to exit.
220|1680 1 1 11:51:48|FAIL
410|1680 7 1 11:51:48|IC End
80|1680 0 11:51:48|TC EndReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree this is a test suite deficiency in the test
suite version(s) listed.
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:
- View Report 1383
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority