|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2089 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 2089.
Report 2089 Actions
Problem Report Number 2089 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1060 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1998-05-15 08:00 Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSTH version 5.1.2 Test Identification PTHR.os/all/pwrite 13 Problem Summary TSD5TH.00057 The test is trying to force an ENOSPC error on the almost-full filesystem VSX_NOSPC_DEV. The test makes an arbitrary number of attempts to do so: (tset/PTHR.os/all/pwrite/pwrite_13.c) #define VSTH_PWR... Problem Text
The test is trying to force an ENOSPC error on the almost-full
filesystem VSX_NOSPC_DEV. The test makes an arbitrary number of
attempts to do so:
(tset/PTHR.os/all/pwrite/pwrite_13.c)
#define VSTH_PWRITE_TRIES 8192
...
/* provide leniency due to filesystem behavior constraints */
for ( cnt = 0; cnt < VSTH_PWRITE_TRIES; ++cnt )
{
offset = lseek( fd, (off_t) 0, SEEK_END );
if ( offset != (off_t) -1 )
{
rval = pwrite( fd, (void *) &c, 1, offset );
if (( rval == -1 ) && ( errno == ENOSPC ))
{
...
On some of our implementations, 8192 tries are not enough. The test
passes if the value of VSTH_PWRITE_TRIES is increased:
200|0 13 16:03:48|TP Start
520|0 13 00005914 1 1|When there was no free space remaining on the device cont
aining
520|0 13 00005914 1 2|the file,
520|0 13 00005914 1 3|then a call to pwrite(fildes, buf, nbytes, offset) will r
eturn -1
520|0 13 00005914 1 4|and set errno to ENOSPC.
520|0 13 00005914 1 5|XCAE ref: Component PWRITE Assertion 13(A)
520|0 13 00005917 4 1|pwrite failed on attempt 8442
220|0 13 0 16:03:51|PASS
410|0 13 1 16:03:51|IC End
Since the value assigned to VSTH_PWRITE_TRIES is arbitrary and not
derived from any standard, the test suite cannot make a conformance
distinction based upon that value.Test Output
400|1630 13 1 13:39:46|IC Start
200|1630 13 13:39:46|TP Start
520|1630 13 00014890 1 1|When there was no free space remaining on the
device c
ontaining
520|1630 13 00014890 1 2|the file,
520|1630 13 00014890 1 3|then a call to pwrite(fildes, buf, nbytes,
offset) wil
l return -1
520|1630 13 00014890 1 4|and set errno to ENOSPC.
520|1630 13 00014890 1 5|XCAE ref: Component PWRITE Assertion 13(A)
520|1630 13 00014893 3 1|Thread exitval, expected 0, got 1
520|1630 13 00014890 2 1|tet_fork, expected 0, got 1
220|1630 13 2 13:39:49|UNRESOLVED
410|1630 13 1 13:39:49|IC EndReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree with the applicant and recommend that a waiver be granted
on the basis of a test suite deficiency.
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 2089
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority