Report 0502 Actions
Problem Report Number |
0502 |
Submitter's Classification |
Test Suite problem |
State |
Resolved |
Resolution |
Rejected (REJ) |
Problem Resolution ID |
REJ.X.0121 |
Raised |
1995-10-07 08:00 |
Updated |
2003-03-13 08:00 |
Published |
null |
Product Standard |
Internationalised System Calls and Libraries (XPG4) |
Certification Program |
The Open Brand certification program |
Test Suite |
VSX4 version 4.3.5 |
Test Identification |
POSIX.os/files/mkdir 12 |
Problem Summary |
PG4R.122 /tset/POSIX.os/files/mkdir/T.mkdir 12 Unresolved Test Description: If {_POSIX_LINK_MAX} F {LINK_MAX} F {PCTS_LINK_MAX}, then EMLINK in errno and a return value of -1 on a call to mkdir(path, mode) whe... |
Problem Text |
/tset/POSIX.os/files/mkdir/T.mkdir 12 Unresolved
Test Description: If {_POSIX_LINK_MAX} F {LINK_MAX} F {PCTS_LINK_MAX}, then EMLINK in errno and a return value of -1 on a call to mkdir(path, mode) when {LINK_MAX} links to the parent directory already exist. No directory shall be created, otherwise {PCTS_LINK_MAX} links can be created to the parent directory. Note: For XNFS testing, the value for {LINK_MAX} is determined on the server. Posix Ref: Component MKDIR Assertion 5.4.1.4-33(A)
Test Information: path tracing error: path counter 5, expected 6
|
Test Output |
|
Review Information
Review Type |
TSMA Review |
Start Date |
null |
Completed |
null |
Status |
Complete |
Review Recommendation |
No Resolution Given |
Review Response |
In our response to a previous request regarding mkdir test 8 we have suggested that the SPEEDFACTOR should be manually increased before the test suite is compiled and run. This work around should resolve the problems affecting this test and it should not be necessary to obtain a waiver.
I would suggest that this request is refused, but recognise that it may need to be resubmitted and granted in the case that the increase in SPEEDFACTOR does not resolve the problem in the other tests.
|
Review Type |
SA Review |
Start Date |
null |
Completed |
null |
Status |
Complete |
Review Resolution |
No Resolution Given |
Review Conclusion |
This problem is a combination of two unusual conditions on our platform. The PATH_TRACE statement that is not being executed is the one inside the loop creating {testmax} directories.
The reason the loop is not creating any directories is a combination of two unusual conditions on our platform. Our NGRPS_MAX is 300 and LINK_MAX is 65536. Test 12 of POSIX.os/files/mkdir will create no more than 256 directories because our LINK_MAX is so high. The directory the test will create the files in is TESTROOT/tset/POSIX.os/files/mkdir/d.mkdir. This directory is also used for test 8 of POSIX.os/files/mkdir and because our NGRPS_MAX is 300, the following happens:
o a timing problem in test 8 causes the test to terminate after after creating somewhat less than NGRPS_MAX directories in d.mkdir (this will be the subject of another test suite deficiency request).
o since test 8 terminates abnormally, the directories it creates are not cleaned up
o the fact that these directories are still around affects the processing of test 12.
It is simply a matter of chance that if test 8 creates more than 256 directories but less than NGRPS_MAX, it will produce this side effect in test 12. If test 8 is corrected, test 12 should operate correctly.
|
Review Type |
SA Review |
Start Date |
null |
Completed |
null |
Status |
Complete |
Review Resolution |
Rejected (REJ) |
Review Conclusion |
This request is refused.
|
Problem Reporting System Options:
|