|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0530 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 0530.
Report 0530 Actions
Problem Report Number 0530 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0149 Raised 2002-04-19 08:00 Updated 2003-03-13 08:00 Published null Product Standard Network File System Certification Program The Open Brand certification program Test Suite VSX4+XNFS version 4.4.5 Test Identification POSIX.os/ioprim/read 15 Problem Summary PG4R.150 test15 works as follows, the test is on the server, but executes on the client. The test creates a file of 36 bytes on the NFS mount default filesystem, then opens it and seeks to the end. Then a one ... Problem Text
test15 works as follows, the test is on the server, but executes on the client.
The test creates a file of 36 bytes on the NFS mount default filesystem, then
opens it and seeks to the end. Then a one byte read is done. The test then
checks the atime of the file, but our implementation it finds that it hasn't
changed.
On our implementation, the file is cached on the client and when the read is
done, it done on the cached copy. Thus the copy of the server is never accessed,
note a write would cause an access on the server copy. This behavior matches
allowed behavior as discussed in RFC 1813. Enum time_how is defined to control
how atime and mtime are set from the client. One value of the enum is
DONT_CHANGE, which means the client is not allowed to change the atime.Test Output
************************************************************************
/tset/POSIX.os/ioprim/read/T.read 15 Failed
Test Description:
A successful call to read() at end of file marks for update the
st_atime field of the file.
Posix Ref: Component READ Assertion 6.4.1.2-21(A)
Test Strategy:
OPEN existing file containing 36 bytes of known data
SEEK to end of file
SAVE timestamps using fsavtimes() - (genlib)
VERIFY that read(fd,buf,1) returns 0
VERIFY that only the st_atime timestamp has changed using fchktimes()
Test Information:
time stamps incorrect: atime was not updated
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This test was changed in 1993 to avoid exactly the problem described.
Originally the file used was the same one used by earlier tests, and
so the data may have been cached by the client. The modified test
creates a new file on the server, and the client does not read from
this file until after the first atime value has been obtained.
Note that tests 13 and 15 are identical except that in test 13 the
read() returns some data and in test 15 a seek to the end of the file
is done, so that the read() returns an EOF indication. If test 13 is
not failing on this implementation, then the failure of test 15 cannot
be due to cached data on the client, and it would appear that the test
has correctly identified a fault in the implementation.
It is recommended that this request is refused.
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:
- View Report 0530
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority