[Ocfs2-devel] posix / performance
Mark Fasheh
mark.fasheh at oracle.com
Wed Aug 11 14:26:16 CDT 2004
First off, thanks!
On Thu, Aug 12, 2004 at 03:48:07AM +0800, Ling, Xiaofeng wrote:
> syscall test in ltp(not include link )
Why not the link tests? We support that fully now...
> below is all the failed info. attach is full output
> =============================================================
> TDIRECTORY=/ocfs ./runalltests.sh -q -f `pwd`/runtest/syscall-file
> access02 1 BROK : open(test_file1, O_RDWR|O_CREAT, 0644) Failed, errno=13 :Permission denied
What's up with all the permission denied errors? Is this OCFS2? We allow
changing permissions on all files / directores, including root...
Did we fail to change them properly (a bug?) or did the test suite never
even try to set the permissions?
--Mark
> access02 2 BROK : Remaining cases broken
> access02 3 BROK : Remaining cases broken
> access02 4 BROK : Remaining cases broken
> access04 1 BROK : mkdir(testdir, 0750) Failed, errno=13 : Permission denied
> access05 1 BROK : open(test_file1, O_RDWR|O_CREAT, 0644) Failed, errno=13 :Permission denied
> access05 2 BROK : Remaining cases broken
> access05 3 BROK : Remaining cases broken
> access05 4 BROK : Remaining cases broken
> access05 5 BROK : Remaining cases broken
> access05 6 BROK : Remaining cases broken
> access05 7 BROK : Remaining cases broken
> access05 8 BROK : Remaining cases broken
> chdir03 1 FAIL : expected EACCES - got 2
> chmod03 1 FAIL : chmod(testfile, 01777) Failed, errno=1 : Operation not permitted
> chmod04 1 BROK : mkdir(2) of testdir_4 failed
> DIR_MODE = 043000
> MODE_RWX = 0777
> PERMS = 043777
> dir_mode = 043777
> chmod06 1 FAIL : chmod() fails, Process is not owner/root, errno:1, expected errno:13
> chown04 1 BROK : mkdir(2) of testdir_1 failed
> chown04 2 BROK : Remaining cases broken
> chown04 3 BROK : Remaining cases broken
> chown04 4 BROK : Remaining cases broken
> chown04 5 BROK : Remaining cases broken
> chown04 6 BROK : Remaining cases broken
> chown04 7 BROK : Remaining cases broken
> creat01 1 FAIL : Could not creat file creat01.5265
> creat01 2 FAIL : Could not creat file creat01.5265
> creat06 1 BROK : couldn't create a test file
> creat06 2 BROK : Remaining cases broken
> creat06 3 BROK : Remaining cases broken
> creat06 4 BROK : Remaining cases broken
> creat06 5 BROK : Remaining cases broken
> creat06 6 BROK : Remaining cases broken
> dup05 1 BROK : mkfifo(dupfile, 0700) Failed, errno=17 : File exists
> fchmod04 1 BROK : mkdir(2) of testdir_4 failed
> fchmod05 1 BROK : mkdir(2) of testdir failed
> fchmod06 1 BROK : open(tfile_2, O_RDWR|O_CREAT, 0666) failed, errno=13 : Permission denied
> fchmod06 2 BROK : Remaining cases broken
> fchown04 1 BROK : open(tfile_2, O_RDWR|O_CREAT, 0666) failed, errno=13 : Permission denied
> fchown04 2 BROK : Remaining cases broken
> fstat02 1 BROK : open(testfile, O_RDWR|O_CREAT, 0644) Failed, errno=13 : Permission denied
> fstat04 1 BROK : open(testfile, O_RDWR|O_CREAT, 0644) Failed, errno=13 : Permission denied
> ftruncate04 1 CONF : The filesystem where /tmp is mounted does not support mandatory locks. Cannot run this test.
> lchown02 1 BROK : chmod() failed
> lchown02 2 BROK : Remaining cases broken
> lchown02 3 BROK : Remaining cases broken
> lchown02 4 BROK : Remaining cases broken
> lchown02 5 BROK : Remaining cases broken
> lchown02 6 BROK : Remaining cases broken
> lchown02 7 BROK : Remaining cases broken
> lseek07 1 FAIL : read() failed on tmp_file, error=14
> lseek09 1 FAIL : read() failed on tmp_file, error=14
> lseek10 1 BROK : mknod(tmp_file1, 0644, 0) Failed, errno=17 :File exists
> lseek10 2 BROK : Remaining cases broken
> lseek10 3 BROK : Remaining cases broken
> lstat02 1 BROK : mkdir(2) of testdir_1 failed
> lstat02 2 BROK : Remaining cases broken
> lstat02 3 BROK : Remaining cases broken
> lstat02 4 BROK : Remaining cases broken
> lstat02 5 BROK : Remaining cases broken
> lstat02 6 BROK : Remaining cases broken
> lstat03 1 BROK : open(testfile, O_RDWR|O_CREAT, 0644) Failed, errno=13 : Permission denied
> mkdir(tstdir1.5489, 777)
> current dir /ocfs
> mkdir02 1 FAIL : mkdir() FAILED to inherit the group ID 1 from parent directory 99
> mkdir(tstdir1.5489, 777)
> current dir /ocfs
> mkdir02 1 FAIL : Test to attempt to make a directory inherits group ID FAILED
> mknod03 1 FAIL : tnode_5554: Incorrect group
> mknod04 1 FAIL : tnode_5555: Incorrect group
> mknod06 4 FAIL : mknod() returned 0, expected -1, errno:2
> mknod07 1 BROK : mkdir(2) of testdir_1 failed
> mknod07 2 BROK : Remaining cases broken
> mknod08 1 BROK : mkdir(2) of testdir_1 failed
> open08 1 BROK : Can't creat open3.5591
> open08 2 BROK : Remaining cases broken
> open08 3 BROK : Remaining cases broken
> open08 4 BROK : Remaining cases broken
> open08 5 BROK : Remaining cases broken
> open08 6 BROK : Remaining cases broken
> readdir01 1 FAIL : found more files than were created
> readlink01 1 BROK : open(testfile, O_RDWR|O_CREAT, 0644) failed, errno=13 : Permission denied
> readlink03 1 BROK : mkdir(2) of testdir_1 failed
> readlink03 2 BROK : Remaining cases broken
> readlink03 3 BROK : Remaining cases broken
> readlink03 4 BROK : Remaining cases broken
> readlink03 5 BROK : Remaining cases broken
> creat_slink: symlink() failed: File exists
> readlink04 1 FAIL : readlink() return value 8 doesn't match, Expected 10
> rmdir05 2 CONF : rmdir on "dir/." supported on Linux
> rmdir05 3 CONF : linked directories test not implemented on Linux
> stat01 1 BROK : open(testfile, O_RDWR|O_CREAT, 0644) Failed, errno=13 : Permission denied
> stat02 1 BROK : open(testfile, O_RDWR|O_CREAT, 0644) Failed, errno=13 : Permission denied
> stat03 1 BROK : mkdir(2) of testdir_1 failed
> stat03 2 BROK : Remaining cases broken
> stat03 3 BROK : Remaining cases broken
> stat03 4 BROK : Remaining cases broken
> stat03 5 BROK : Remaining cases broken
> stat03 6 BROK : Remaining cases broken
> statfs03 1 FAIL : unexpected error - 20 : Not a directory - expected 13
> symlink03 1 BROK : mkdir(2) of testdir_1 failed
> symlink04 1 FAIL : symlink(testfile, slink_file) Failed, errno=17 : File exists
> truncate03 1 BROK : open(testfile, O_RDWR|O_CREAT, 644) Failed, errno=13 : Permission denied
> truncate03 2 BROK : Remaining cases broken
> truncate03 3 BROK : Remaining cases broken
> truncate03 4 BROK : Remaining cases broken
> truncate03 5 BROK : Remaining cases broken
> truncate04 1 BROK : truncate04 - mkdir() in main() failed
--
Mark Fasheh
Software Developer, Oracle Corp
mark.fasheh at oracle.com
More information about the Ocfs2-devel
mailing list