New Note 11

======== POSIX Compliance Test Started at: Thu Feb 16 20:07:39 PST 2012 ========
TMP=/tmp/vsx0 TMPDIR=/tmp/vsx0 /scratch/tests/posix/bin/run_posix_suite.pl --mountpt=/mnt/lustre --posix-src=/usr/src/posix/x86_64/posix --install-dir=/usr/src/posix/x86_64/posix/tet --results-dir=/usr/src/posix/x86_64/posix/tet/test_sets/results 2>&1
/usr/src/posix/x86_64/posix/one-step-setup.sh -i /usr/src/posix/x86_64/posix/tet -e /mnt/lustre/TESTROOT -s /usr/src/posix/x86_64/posix 2>&1

Setting up the necessary users and groups for running the POSIX tests...
Setting vsx0 user's home directory /usr/src/posix/x86_64/posix/tet/test_sets...
usermod: no changes
Setting vsx1 user's home directory /usr/src/posix/x86_64/posix/tet...
usermod: no changes
Setting vsx2 user's home directory /usr/src/posix/x86_64/posix/tet...
usermod: no changes
Setting up ownership and permissions...
Untarring the POSIX tarball and fixing up the tetexec.cfg file...
Configuring a loopback disk for a test filesystem...
2000+0 records in
2000+0 records out
2048000 bytes (2.0 MB) copied, 0.0127935 s, 160 MB/s
mke2fs 1.41.90.wc4 (01-Sep-2011)
Initialising the test filesystem for ENOSPC tests...
1+0 records in
1+0 records out
4097 bytes (4.1 kB) copied, 0.000168463 s, 24.3 MB/s
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/loop0                1963      1947         0 100% /tmp/vsxmnt
Done all the setups.

su - vsx0 -c "umask 0022 && cd /usr/src/posix/x86_64/posix/tet/test_sets && . /usr/src/posix/x86_64/posix/tet/test_sets/profile && tcc -e -a /mnt/lustre/TESTROOT -s /usr/src/posix/x86_64/posix/tet/test_sets/scen.exec -p"
tcc: journal file is /usr/src/posix/x86_64/posix/tet/test_sets/results/0003e/journal
20:08:09  Execute /tset/POSIX.os/files/access/T.access
20:08:28  Execute /tset/POSIX.os/files/chdir/T.chdir
20:08:31  Execute /tset/POSIX.os/files/chmod/T.chmod
20:08:52  Execute /tset/POSIX.os/files/chown/T.chown
20:09:05  Execute /tset/POSIX.os/files/closedir/T.closedir
20:09:06  Execute /tset/POSIX.os/files/creat/T.creat
20:10:18  Execute /tset/POSIX.os/files/fpathconf/T.fpathconf
20:10:19  Execute /tset/POSIX.os/files/fstat/T.fstat
20:10:28  Execute /tset/POSIX.os/files/getcwd/T.getcwd
20:10:29  Execute /tset/POSIX.os/files/link/T.link
20:10:44  Execute /tset/POSIX.os/files/mkdir/T.mkdir
20:10:53  Execute /tset/POSIX.os/files/mkfifo/T.mkfifo
20:11:00  Execute /tset/POSIX.os/files/open/T.open
20:12:47  Execute /tset/POSIX.os/files/opendir/T.opendir
20:12:51  Execute /tset/POSIX.os/files/pathconf/T.pathconf
20:12:55  Execute /tset/POSIX.os/files/readdir/T.readdir
20:13:00  Execute /tset/POSIX.os/files/rename/T.rename
20:14:07  Execute /tset/POSIX.os/files/rewinddir/T.rewinddir
20:14:08  Execute /tset/POSIX.os/files/rmdir/T.rmdir
20:14:40  Execute /tset/POSIX.os/files/stat/T.stat
20:14:45  Execute /tset/POSIX.os/files/umask/T.umask
20:14:46  Execute /tset/POSIX.os/files/unlink/T.unlink
20:14:56  Execute /tset/POSIX.os/files/utime/T.utime
20:15:19  Execute /tset/POSIX.os/ioprim/close/T.close
20:15:24  Execute /tset/POSIX.os/ioprim/dup/T.dup
20:15:25  Execute /tset/POSIX.os/ioprim/dup2/T.dup2
20:15:26  Execute /tset/POSIX.os/ioprim/fcntl/T.fcntl
20:17:08  Execute /tset/POSIX.os/ioprim/lseek/T.lseek
20:17:09  Execute /tset/POSIX.os/ioprim/pipe/T.pipe
20:17:14  Execute /tset/POSIX.os/ioprim/read/T.read
20:20:41  Execute /tset/POSIX.os/ioprim/write/T.write
vrpt.page: completed page 25
SUCCESS SUMMARY:

News POSIX successes: 1

Test Name                   Baseline   Lustre Report
read.15                       Failed       Succeeded


FAILURE SUMMARY:

POSIX failures: 9

Test Name                   Baseline   Lustre Report
creat.10                   Succeeded          Failed
creat.15                   Succeeded          Failed
creat.7                    Succeeded          Failed
open.14                    Succeeded          Failed
open.15                    Succeeded          Failed
unlink.6                   Succeeded          Failed
utime.4                    Succeeded          Failed
utime.9                    Succeeded          Failed
write.15                   Succeeded          Failed

FAILURE DESCRIPTIONS:

####################################################
Test Name: creat.10 Failed

	Test Description:
When an existing regular file is successfully created, the file shall
be truncated to zero length and the mode and owner shall be unchanged.
Posix Ref: Component CREAT Assertion 5.3.2.2-38(A)

	Test Strategy:
DETERMINE whether the value of NGROUPS_MAX using sysconf() with
_SC_NGROUPS_MAX
OPEN file using open() with O_CREAT|O_WRITE
WRITE data to file using write()
CLOSE file descriptor using close()
CREATE child process using cppair()
  CREATE subprogram using execve passing as parameters: the program
  name, the file name, the group and user ids for vsxg1 and vsx1
   in +2 OBTAIN the status information of the file using stat()
  CREATE file using creat() with current access mode
  VERIFY that creat() returned successfully
  OBTAIN the status information of the file using stat()
  VERIFY that the file has zero length, that the access mode is
  unchanged, that the group and user ids are unchanged

	Test Information:
creat("./creat-t.10", 0653) failed - errno 1(EPERM)

####################################################
Test Name: creat.15 Failed

	Test Description:
When creat(path) is granted write access to the existing file path and
is granted search access to the path prefix of path an EACCES error
shall not occur.
Posix Ref: Component CREAT Assertion 5.3.2.2-24(A)

	Test Strategy:
DETERMINE whether the value of NGROUPS_MAX using sysconf() with
_SC_NGROUPS_MAX
CREATE child process using cppair()
  CREATE subprogram using execve passing as parameters: the program
  name and testset number
    CREATE directory with write access to file and search access to
    path prefix using do_access() - (tsetlib) and call function to do


Test Agency: Unknown                                      System Tested: Unknown
Test Date:   Feb 16, 2012                                           Page 9 of 44




                           X/OPEN Verification Suite                            
Test-Set Summary                                                Test-Set Summary


    the following:
    CREATE file using creat()
    VERIFY that creat() returned successfully and errno was not set
    CLOSE file descriptor using close()
UNLINK file

	Test Information:
creat("do_acc-ng.d/do_acc-ng.t", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-ng.d and do_acc-ng.d/do_acc-ng.t: 1001/1000
mode of do_acc-ng.d: 010, mode of do_acc-ng.d/do_acc-ng.t: 020
creat("do_acc-sg.d0/do_acc-sg.t0", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d0 and do_acc-sg.d0/do_acc-sg.t0: 1001/1000
mode of do_acc-sg.d0: 010, mode of do_acc-sg.d0/do_acc-sg.t0: 020
creat("do_acc-sg.d1/do_acc-sg.t1", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d1 and do_acc-sg.d1/do_acc-sg.t1: 1001/1003
mode of do_acc-sg.d1: 010, mode of do_acc-sg.d1/do_acc-sg.t1: 020
creat("do_acc-sg.d2/do_acc-sg.t2", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d2 and do_acc-sg.d2/do_acc-sg.t2: 1001/1004
mode of do_acc-sg.d2: 010, mode of do_acc-sg.d2/do_acc-sg.t2: 020
creat("do_acc-sg.d3/do_acc-sg.t3", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d3 and do_acc-sg.d3/do_acc-sg.t3: 1001/1005
mode of do_acc-sg.d3: 010, mode of do_acc-sg.d3/do_acc-sg.t3: 020
creat("do_acc-sg.d4/do_acc-sg.t4", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d4 and do_acc-sg.d4/do_acc-sg.t4: 1001/1006
mode of do_acc-sg.d4: 010, mode of do_acc-sg.d4/do_acc-sg.t4: 020
creat("do_acc-sg.d5/do_acc-sg.t5", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d5 and do_acc-sg.d5/do_acc-sg.t5: 1001/1007
mode of do_acc-sg.d5: 010, mode of do_acc-sg.d5/do_acc-sg.t5: 020
creat("do_acc-sg.d6/do_acc-sg.t6", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d6 and do_acc-sg.d6/do_acc-sg.t6: 1001/1008
mode of do_acc-sg.d6: 010, mode of do_acc-sg.d6/do_acc-sg.t6: 020
creat("do_acc-sg.d7/do_acc-sg.t7", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d7 and do_acc-sg.d7/do_acc-sg.t7: 1001/1009
mode of do_acc-sg.d7: 010, mode of do_acc-sg.d7/do_acc-sg.t7: 020
creat("do_acc-sg.d8/do_acc-sg.t8", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d8 and do_acc-sg.d8/do_acc-sg.t8: 1001/1010
mode of do_acc-sg.d8: 010, mode of do_acc-sg.d8/do_acc-sg.t8: 020
creat("do_acc-sg.d9/do_acc-sg.t9", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d9 and do_acc-sg.d9/do_acc-sg.t9: 1001/1011
mode of do_acc-sg.d9: 010, mode of do_acc-sg.d9/do_acc-sg.t9: 020
creat("do_acc-sg.d10/do_acc-sg.t10", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d10 and do_acc-sg.d10/do_acc-sg.t10: 1001/1012


Test Agency: Unknown                                      System Tested: Unknown
Test Date:   Feb 16, 2012                                          Page 10 of 44




                           X/OPEN Verification Suite                            
Test-Set Summary                                                Test-Set Summary


mode of do_acc-sg.d10: 010, mode of do_acc-sg.d10/do_acc-sg.t10: 020
creat("do_acc-sg.d11/do_acc-sg.t11", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d11 and do_acc-sg.d11/do_acc-sg.t11: 1001/1013
mode of do_acc-sg.d11: 010, mode of do_acc-sg.d11/do_acc-sg.t11: 020
creat("do_acc-sg.d12/do_acc-sg.t12", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d12 and do_acc-sg.d12/do_acc-sg.t12: 1001/1014
mode of do_acc-sg.d12: 010, mode of do_acc-sg.d12/do_acc-sg.t12: 020
creat("do_acc-sg.d13/do_acc-sg.t13", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d13 and do_acc-sg.d13/do_acc-sg.t13: 1001/1015
mode of do_acc-sg.d13: 010, mode of do_acc-sg.d13/do_acc-sg.t13: 020
creat("do_acc-sg.d14/do_acc-sg.t14", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d14 and do_acc-sg.d14/do_acc-sg.t14: 1001/1016
mode of do_acc-sg.d14: 010, mode of do_acc-sg.d14/do_acc-sg.t14: 020
creat("do_acc-sg.d15/do_acc-sg.t15", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d15 and do_acc-sg.d15/do_acc-sg.t15: 1001/1017
mode of do_acc-sg.d15: 010, mode of do_acc-sg.d15/do_acc-sg.t15: 020
creat("do_acc-sg.d16/do_acc-sg.t16", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d16 and do_acc-sg.d16/do_acc-sg.t16: 1001/1018
mode of do_acc-sg.d16: 010, mode of do_acc-sg.d16/do_acc-sg.t16: 020
creat("do_acc-sg.d17/do_acc-sg.t17", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d17 and do_acc-sg.d17/do_acc-sg.t17: 1001/1019
mode of do_acc-sg.d17: 010, mode of do_acc-sg.d17/do_acc-sg.t17: 020
creat("do_acc-sg.d18/do_acc-sg.t18", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d18 and do_acc-sg.d18/do_acc-sg.t18: 1001/1020
mode of do_acc-sg.d18: 010, mode of do_acc-sg.d18/do_acc-sg.t18: 020
creat("do_acc-sg.d19/do_acc-sg.t19", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d19 and do_acc-sg.d19/do_acc-sg.t19: 1001/1021
mode of do_acc-sg.d19: 010, mode of do_acc-sg.d19/do_acc-sg.t19: 020
creat("do_acc-sg.d20/do_acc-sg.t20", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d20 and do_acc-sg.d20/do_acc-sg.t20: 1001/1022
mode of do_acc-sg.d20: 010, mode of do_acc-sg.d20/do_acc-sg.t20: 020
creat("do_acc-sg.d21/do_acc-sg.t21", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d21 and do_acc-sg.d21/do_acc-sg.t21: 1001/1023
mode of do_acc-sg.d21: 010, mode of do_acc-sg.d21/do_acc-sg.t21: 020
creat("do_acc-sg.d22/do_acc-sg.t22", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d22 and do_acc-sg.d22/do_acc-sg.t22: 1001/1024
mode of do_acc-sg.d22: 010, mode of do_acc-sg.d22/do_acc-sg.t22: 020
creat("do_acc-sg.d23/do_acc-sg.t23", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d23 and do_acc-sg.d23/do_acc-sg.t23: 1001/1025
mode of do_acc-sg.d23: 010, mode of do_acc-sg.d23/do_acc-sg.t23: 020
creat("do_acc-sg.d24/do_acc-sg.t24", 0777) failed - errno 1 (EPERM)


Test Agency: Unknown                                      System Tested: Unknown
Test Date:   Feb 16, 2012                                          Page 11 of 44




                           X/OPEN Verification Suite                            
Test-Set Summary                                                Test-Set Summary


non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d24 and do_acc-sg.d24/do_acc-sg.t24: 1001/1026
mode of do_acc-sg.d24: 010, mode of do_acc-sg.d24/do_acc-sg.t24: 020
creat("do_acc-sg.d25/do_acc-sg.t25", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d25 and do_acc-sg.d25/do_acc-sg.t25: 1001/1027
mode of do_acc-sg.d25: 010, mode of do_acc-sg.d25/do_acc-sg.t25: 020
creat("do_acc-sg.d26/do_acc-sg.t26", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d26 and do_acc-sg.d26/do_acc-sg.t26: 1001/1028
mode of do_acc-sg.d26: 010, mode of do_acc-sg.d26/do_acc-sg.t26: 020
creat("do_acc-sg.d27/do_acc-sg.t27", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d27 and do_acc-sg.d27/do_acc-sg.t27: 1001/1029
mode of do_acc-sg.d27: 010, mode of do_acc-sg.d27/do_acc-sg.t27: 020
creat("do_acc-sg.d28/do_acc-sg.t28", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d28 and do_acc-sg.d28/do_acc-sg.t28: 1001/1030
mode of do_acc-sg.d28: 010, mode of do_acc-sg.d28/do_acc-sg.t28: 020
creat("do_acc-sg.d29/do_acc-sg.t29", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d29 and do_acc-sg.d29/do_acc-sg.t29: 1001/1031
mode of do_acc-sg.d29: 010, mode of do_acc-sg.d29/do_acc-sg.t29: 020
creat("do_acc-sg.d30/do_acc-sg.t30", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d30 and do_acc-sg.d30/do_acc-sg.t30: 1001/1032
mode of do_acc-sg.d30: 010, mode of do_acc-sg.d30/do_acc-sg.t30: 020
creat("do_acc-sg.d31/do_acc-sg.t31", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d31 and do_acc-sg.d31/do_acc-sg.t31: 1001/1033
mode of do_acc-sg.d31: 010, mode of do_acc-sg.d31/do_acc-sg.t31: 020
creat("do_acc-no.d/do_acc-no.t", 0777) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-no.d and do_acc-no.d/do_acc-no.t: 1001/1001
mode of do_acc-no.d: 01, mode of do_acc-no.d/do_acc-no.t: 02

####################################################
Test Name: creat.7 Failed

	Test Description:
A call to creat() when the file exists, shall not change the
permission bits, ownership, and st_atime.
Posix Ref: Component CREAT Assertion 5.3.2.2-31(A)

	Test Strategy:
DETERMINE whether the value of NGROUPS_MAX using sysconf() with
_SC_NGROUPS_MAX
OPEN file using open() with O_CREAT|O_WRITE
CLOSE file descriptor using close()
CREATE child process using cppair()
  CREATE subprogram using execve passing as parameters: the program
  name, the file name, the group and user ids for vsxg1 and vsx1
    SET the effective user id to be vsx1 using setuid()
    SET the effective group id to be vsxg1 using setgid()
    OBTAIN status information for file using stat()
    CREATE file using creat() with read and execute permissions for
    both user and group
    SLEEP for 1 second using sleep()
    OBTAIN status information for file using stat()


Test Agency: Unknown                                      System Tested: Unknown
Test Date:   Feb 16, 2012                                           Page 8 of 44




                           X/OPEN Verification Suite                            
Test-Set Summary                                                Test-Set Summary


    VERIFY that the group and user ids for the file has not changed
UNLINK file

	Test Information:
creat("./creat-t.7", 0550) failed - errno 1(EPERM)

####################################################
Test Name: open.14 Failed

	Test Description:
When an existing regular file is successfully opened, with flags
O_RDWR | O_TRUNC, the file shall be truncated to zero length and the
mode, owner and group shall be unchanged.
Posix Ref: Component OPEN Assertion 5.3.1.2-49(A)

	Test Strategy:
DETERMINE the value of NGROUPS_MAX using sysconf() with
_SC_NGROUPS_MAX
CREATE file using creat()
WRITE data to file using write()
CLOSE file descriptor using close()
CREATE child process using cppair()
  CREATE subprogram using execve passing as parameters: the program
  name, the file name, the group and user ids for vsxg1 and vsx1
    VERIFY that the effective group and user ids are those for
    vsxg1/vsx1
    OBTAIN the status information of the file using stat()
    OPEN file using open() with O_RDWR|O_TRUNC
    VERIFY that open() returned successfully
    OBTAIN the status information of the file using stat()
    VERIFY that the file has zero length, that the access mode is
    unchanged, that the group and user ids are unchanged
UNLINK file

	Test Information:
open("./open-t.14", O_RDWR|O_TRUNC) failed - errno 1(EPERM)

####################################################
Test Name: open.15 Failed

	Test Description:
When an existing regular file is successfully opened, with flags
O_WRONLY | O_TRUNC set, the file shall be truncated to zero length and
the mode, owner and group shall be unchanged.
Posix Ref: Component OPEN Assertion 5.3.1.2-49(A)

	Test Strategy:
DETERMINE the value of NGROUPS_MAX using sysconf() with
_SC_NGROUPS_MAX
CREATE file using creat()
WRITE data to file using write()
CLOSE file descriptor using close()
CREATE child process using cppair()
  CREATE subprogram using execve passing as parameters: the program


Test Agency: Unknown                                      System Tested: Unknown
Test Date:   Feb 16, 2012                                          Page 20 of 44




                           X/OPEN Verification Suite                            
Test-Set Summary                                                Test-Set Summary


  name, the file name, the group and user ids for vsxg1 and vsx1
    VERIFY that the effective group and user ids are those for
    vsxg1/vsx1
    OBTAIN the status information of the file using stat()
    OPEN file using open() with O_WRWR|O_TRUNC
    VERIFY that open() returned successfully
    OBTAIN the status information of the file using stat()
    VERIFY that the file has zero length, that the access mode is
    unchanged, that the group and user ids are unchanged
UNLINK file

	Test Information:
open("./open-t.15", O_WRONLY|O_TRUNC) failed - errno 1(EPERM)

####################################################
Test Name: unlink.6 Failed

	Test Description:
A successful call to unlink() marks for update the st_ctime and the
st_mtime field of the parent directory.  When the file's link count
does not become zero after a successful call to unlink(), the st_ctime
field of the file is marked for update.
Posix Ref: Component UNLINK Assertion 5.5.1.2-30(A)
Posix Ref: Component UNLINK Assertion 5.5.1.2-31(A)

	Test Strategy:
FOR an ordinary file and a FIFO (when not testing XNFS)
  CREATE file using creat() or mkfifo()
  CLOSE file using close()
  CREATE link to directory using link()
  OBTAIN file status information using stat() for the parent directory
  SAVE times stamps using savtimes() - (genlib)
  UNLINK link using unlink()
  VERIFY that unlink() returned 0
  VERIFY that the link no longer exists using eaccess() - (genlib)
  VERIFY that st_ctime has been updated using chktimes()
  OBTAIN file status information using stat() for the parent directory
  VERIFY that the st_ctime and st_mtime of the parent directory have
  changed
  UNLINK file using unlink()

	Test Information:


Test Agency: Unknown                                      System Tested: Unknown
Test Date:   Feb 16, 2012                                          Page 28 of 44




                           X/OPEN Verification Suite                            
Test-Set Summary                                                Test-Set Summary


remaining link time stamps incorrect: ctime was not updated
remaining link time stamps incorrect: ctime was not updated

####################################################
Test Name: utime.4 Failed

	Test Description:
A call to utimepath, NULL) sets the last accessed time and last
modified time to the current time and returns a value of zero, when
the process has write permission on the file.
Posix Ref: Component UTIME Assertion 5.6.6.2-26(A)

	Test Strategy:
IF parameter VSX_PRIV_ACCESS_SUPP is 'Y'
  ASSIGN the ACCESS privilege using setprv()
CREATE file using creat() with only write access
CLOSE file descriptor using close()
WHEN not testing the XNFS specification:
  CREATE FIFO using mkfifo()
CREATE child process using cppair() - (genlib)
  SET the effective group and user ids to vsxg1/vsx1 and verify that
  using getegid() and geteuid()
  REMOVE all privileges from the current process using unsetprv()
  VERIFY that unsetprv returned 0
  FOR an ordinary file and FIFO (when not testing XNFS)


Test Agency: Unknown                                      System Tested: Unknown
Test Date:   Feb 16, 2012                                          Page 30 of 44




                           X/OPEN Verification Suite                            
Test-Set Summary                                                Test-Set Summary


    SLEEP for 2 seconds using sleep()
    WHEN testing the XNFS specification:
      OBTAIN current server time using xnfs_rtime_c()
    WHEN not testing the XNFS specification:
      OBTAIN current time using time()
    SET file access and modification times using utime()
    VERIFY that utime() returned 0
    OBTAIN status information using stat()
    VERIFY that st_atime and st_mtime are the same as current or
    current +1 or, when testing XNFS, current +2
  UNLINK file using unlink()

	Test Information:
utime("utime-t.4a", NULL) did not give correct results
RETURN VALUES: expected: 0, observed: -1
ERRNO VALUES: expected: 0 (NO ERROR), observed: 1 (EPERM)
utime("utime-t.4b", NULL) did not give correct results
RETURN VALUES: expected: 0, observed: -1
ERRNO VALUES: expected: 0 (NO ERROR), observed: 1 (EPERM)

####################################################
Test Name: utime.9 Failed

	Test Description:
When utime(path, .....) is granted write access to path and is granted
search access to the path prefix of path an EACCES error shall not
occur.
Posix Ref: Component UTIME Assertion 5.6.6.2-24(A)

	Test Strategy:
CREATE child process using cppair() - (genlib)
  CREATE directory with write access granted to parent and search
  access to path prefix using do_access() - (tsetlib) and call
  function to do the following:
    SET file access and modification times using utime()
    VERIFY that utime() returned 0
  DELETE files created by do_access() using cln_access() - (tsetlib)

	Test Information:
utime("do_acc-ng.d/do_acc-ng.t", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-ng.d and do_acc-ng.d/do_acc-ng.t: 1001/1000
mode of do_acc-ng.d: 010, mode of do_acc-ng.d/do_acc-ng.t: 020
utime("do_acc-sg.d0/do_acc-sg.t0", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d0 and do_acc-sg.d0/do_acc-sg.t0: 1001/1000
mode of do_acc-sg.d0: 010, mode of do_acc-sg.d0/do_acc-sg.t0: 020
utime("do_acc-sg.d1/do_acc-sg.t1", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d1 and do_acc-sg.d1/do_acc-sg.t1: 1001/1003
mode of do_acc-sg.d1: 010, mode of do_acc-sg.d1/do_acc-sg.t1: 020
utime("do_acc-sg.d2/do_acc-sg.t2", NULL) failed - errno 1 (EPERM)


Test Agency: Unknown                                      System Tested: Unknown
Test Date:   Feb 16, 2012                                          Page 31 of 44




                           X/OPEN Verification Suite                            
Test-Set Summary                                                Test-Set Summary


non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d2 and do_acc-sg.d2/do_acc-sg.t2: 1001/1004
mode of do_acc-sg.d2: 010, mode of do_acc-sg.d2/do_acc-sg.t2: 020
utime("do_acc-sg.d3/do_acc-sg.t3", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d3 and do_acc-sg.d3/do_acc-sg.t3: 1001/1005
mode of do_acc-sg.d3: 010, mode of do_acc-sg.d3/do_acc-sg.t3: 020
utime("do_acc-sg.d4/do_acc-sg.t4", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d4 and do_acc-sg.d4/do_acc-sg.t4: 1001/1006
mode of do_acc-sg.d4: 010, mode of do_acc-sg.d4/do_acc-sg.t4: 020
utime("do_acc-sg.d5/do_acc-sg.t5", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d5 and do_acc-sg.d5/do_acc-sg.t5: 1001/1007
mode of do_acc-sg.d5: 010, mode of do_acc-sg.d5/do_acc-sg.t5: 020
utime("do_acc-sg.d6/do_acc-sg.t6", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d6 and do_acc-sg.d6/do_acc-sg.t6: 1001/1008
mode of do_acc-sg.d6: 010, mode of do_acc-sg.d6/do_acc-sg.t6: 020
utime("do_acc-sg.d7/do_acc-sg.t7", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d7 and do_acc-sg.d7/do_acc-sg.t7: 1001/1009
mode of do_acc-sg.d7: 010, mode of do_acc-sg.d7/do_acc-sg.t7: 020
utime("do_acc-sg.d8/do_acc-sg.t8", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d8 and do_acc-sg.d8/do_acc-sg.t8: 1001/1010
mode of do_acc-sg.d8: 010, mode of do_acc-sg.d8/do_acc-sg.t8: 020
utime("do_acc-sg.d9/do_acc-sg.t9", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d9 and do_acc-sg.d9/do_acc-sg.t9: 1001/1011
mode of do_acc-sg.d9: 010, mode of do_acc-sg.d9/do_acc-sg.t9: 020
utime("do_acc-sg.d10/do_acc-sg.t10", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d10 and do_acc-sg.d10/do_acc-sg.t10: 1001/1012
mode of do_acc-sg.d10: 010, mode of do_acc-sg.d10/do_acc-sg.t10: 020
utime("do_acc-sg.d11/do_acc-sg.t11", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d11 and do_acc-sg.d11/do_acc-sg.t11: 1001/1013
mode of do_acc-sg.d11: 010, mode of do_acc-sg.d11/do_acc-sg.t11: 020
utime("do_acc-sg.d12/do_acc-sg.t12", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d12 and do_acc-sg.d12/do_acc-sg.t12: 1001/1014
mode of do_acc-sg.d12: 010, mode of do_acc-sg.d12/do_acc-sg.t12: 020
utime("do_acc-sg.d13/do_acc-sg.t13", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d13 and do_acc-sg.d13/do_acc-sg.t13: 1001/1015
mode of do_acc-sg.d13: 010, mode of do_acc-sg.d13/do_acc-sg.t13: 020
utime("do_acc-sg.d14/do_acc-sg.t14", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d14 and do_acc-sg.d14/do_acc-sg.t14: 1001/1016
mode of do_acc-sg.d14: 010, mode of do_acc-sg.d14/do_acc-sg.t14: 020
utime("do_acc-sg.d15/do_acc-sg.t15", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d15 and do_acc-sg.d15/do_acc-sg.t15: 1001/1017


Test Agency: Unknown                                      System Tested: Unknown
Test Date:   Feb 16, 2012                                          Page 32 of 44




                           X/OPEN Verification Suite                            
Test-Set Summary                                                Test-Set Summary


mode of do_acc-sg.d15: 010, mode of do_acc-sg.d15/do_acc-sg.t15: 020
utime("do_acc-sg.d16/do_acc-sg.t16", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d16 and do_acc-sg.d16/do_acc-sg.t16: 1001/1018
mode of do_acc-sg.d16: 010, mode of do_acc-sg.d16/do_acc-sg.t16: 020
utime("do_acc-sg.d17/do_acc-sg.t17", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d17 and do_acc-sg.d17/do_acc-sg.t17: 1001/1019
mode of do_acc-sg.d17: 010, mode of do_acc-sg.d17/do_acc-sg.t17: 020
utime("do_acc-sg.d18/do_acc-sg.t18", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d18 and do_acc-sg.d18/do_acc-sg.t18: 1001/1020
mode of do_acc-sg.d18: 010, mode of do_acc-sg.d18/do_acc-sg.t18: 020
utime("do_acc-sg.d19/do_acc-sg.t19", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d19 and do_acc-sg.d19/do_acc-sg.t19: 1001/1021
mode of do_acc-sg.d19: 010, mode of do_acc-sg.d19/do_acc-sg.t19: 020
utime("do_acc-sg.d20/do_acc-sg.t20", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d20 and do_acc-sg.d20/do_acc-sg.t20: 1001/1022
mode of do_acc-sg.d20: 010, mode of do_acc-sg.d20/do_acc-sg.t20: 020
utime("do_acc-sg.d21/do_acc-sg.t21", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d21 and do_acc-sg.d21/do_acc-sg.t21: 1001/1023
mode of do_acc-sg.d21: 010, mode of do_acc-sg.d21/do_acc-sg.t21: 020
utime("do_acc-sg.d22/do_acc-sg.t22", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d22 and do_acc-sg.d22/do_acc-sg.t22: 1001/1024
mode of do_acc-sg.d22: 010, mode of do_acc-sg.d22/do_acc-sg.t22: 020
utime("do_acc-sg.d23/do_acc-sg.t23", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d23 and do_acc-sg.d23/do_acc-sg.t23: 1001/1025
mode of do_acc-sg.d23: 010, mode of do_acc-sg.d23/do_acc-sg.t23: 020
utime("do_acc-sg.d24/do_acc-sg.t24", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d24 and do_acc-sg.d24/do_acc-sg.t24: 1001/1026
mode of do_acc-sg.d24: 010, mode of do_acc-sg.d24/do_acc-sg.t24: 020
utime("do_acc-sg.d25/do_acc-sg.t25", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d25 and do_acc-sg.d25/do_acc-sg.t25: 1001/1027
mode of do_acc-sg.d25: 010, mode of do_acc-sg.d25/do_acc-sg.t25: 020
utime("do_acc-sg.d26/do_acc-sg.t26", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d26 and do_acc-sg.d26/do_acc-sg.t26: 1001/1028
mode of do_acc-sg.d26: 010, mode of do_acc-sg.d26/do_acc-sg.t26: 020
utime("do_acc-sg.d27/do_acc-sg.t27", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d27 and do_acc-sg.d27/do_acc-sg.t27: 1001/1029
mode of do_acc-sg.d27: 010, mode of do_acc-sg.d27/do_acc-sg.t27: 020
utime("do_acc-sg.d28/do_acc-sg.t28", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d28 and do_acc-sg.d28/do_acc-sg.t28: 1001/1030
mode of do_acc-sg.d28: 010, mode of do_acc-sg.d28/do_acc-sg.t28: 020
utime("do_acc-sg.d29/do_acc-sg.t29", NULL) failed - errno 1 (EPERM)


Test Agency: Unknown                                      System Tested: Unknown
Test Date:   Feb 16, 2012                                          Page 33 of 44




                           X/OPEN Verification Suite                            
Test-Set Summary                                                Test-Set Summary


non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d29 and do_acc-sg.d29/do_acc-sg.t29: 1001/1031
mode of do_acc-sg.d29: 010, mode of do_acc-sg.d29/do_acc-sg.t29: 020
utime("do_acc-sg.d30/do_acc-sg.t30", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d30 and do_acc-sg.d30/do_acc-sg.t30: 1001/1032
mode of do_acc-sg.d30: 010, mode of do_acc-sg.d30/do_acc-sg.t30: 020
utime("do_acc-sg.d31/do_acc-sg.t31", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-sg.d31 and do_acc-sg.d31/do_acc-sg.t31: 1001/1033
mode of do_acc-sg.d31: 010, mode of do_acc-sg.d31/do_acc-sg.t31: 020
utime("do_acc-no.d/do_acc-no.t", NULL) failed - errno 1 (EPERM)
non-privileged process with effective uid = 1000, gid = 1000
owner/group of do_acc-no.d and do_acc-no.d/do_acc-no.t: 1001/1001
mode of do_acc-no.d: 01, mode of do_acc-no.d/do_acc-no.t: 02

####################################################
Test Name: write.15 Failed

	Test Description:
The time fields st_ctime and st_mtime are marked for update by a call
write().
Posix Ref: Component WRITE Assertion 6.4.2.2-25(A)

	Test Strategy:
CREATE new file using creat()
SAVE timestamps usin:q
g savtimes() - (genlib)
WRITE MSG_LEN bytes to file
VERIFY that st_ctime and st_mtime have been updated using chktimes() -
(genlib)
CLOSE file descriptor using close()
UNLINK file
REPEAT for FIFO and pipe:
  SAVE timestamps using savtimes()/fsavtimes() - (genlib)
  WRITE MSG_LEN bytes to file
  VERIFY that st_ctime and st_mtime have been updated using
  chktimes()/fchktimes()
   - (genlib)

	Test Information:
time stamps incorrect: mtime, ctime were not updated

####################################################
Error: Failed to run POSIX test suite on /mnt/lustre: 9

============================= Test Duration: 898s =============================

======== POSIX Compliance Test Stopped at: Thu Feb 16 20:22:37 PST 2012 ========

