[LU-3738] improve posix.sh to support BASELINE_FS=zfs Created: 12/Aug/13  Updated: 31/Dec/13  Resolved: 20/Dec/13

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.4.0, Lustre 2.4.1, Lustre 2.5.0
Fix Version/s: Lustre 2.6.0, Lustre 2.4.2, Lustre 2.5.1

Type: Bug Priority: Minor
Reporter: Jian Yu Assignee: Jian Yu
Resolution: Fixed Votes: 0
Labels: zfs
Environment:

FSTYPE=zfs


Severity: 3
Rank (Obsolete): 9641

 Description   

We need improve posix.sh to support BASELINE_FS=zfs so as to compare the results with zfs.

Currently, running posix.sh on Lustre b2_4 build #29 with FSTYPE=zfs and BASELINE_FS=ext4 failed as follows:

FAILURE SUMMARY:

POSIX failures: 21

Test Name                   Baseline   Lustre Report
access.37                  Succeeded      Unresolved
chdir.6                    Succeeded      Unresolved
chmod.11                   Succeeded      Unresolved
chmod.5                    Succeeded      Unresolved
chown.10                   Succeeded      Unresolved
creat.24                   Succeeded          Failed
fcntl.18                   Succeeded      Unresolved
fcntl.35                   Succeeded      Unresolved
fpathconf.8                Succeeded          Failed
link.16                    Succeeded      Unresolved
mkdir.13                   Succeeded          Failed
mkfifo.11                  Succeeded          Failed
open.38                    Succeeded          Failed
opendir.9                  Succeeded      Unresolved
pathconf.10                Succeeded          Failed
pathconf.24                Succeeded      Unresolved
rename.26                  Succeeded      Unresolved
rmdir.14                   Succeeded      Unresolved
stat.8                     Succeeded      Unresolved
unlink.13                  Succeeded      Unresolved
utime.12                   Succeeded      Unresolved

Please refer to the Maloo report for FAILURE DESCRIPTIONS:
https://maloo.whamcloud.com/test_sets/6768b678-025b-11e3-b384-52540035b04c



 Comments   
Comment by Jian Yu [ 02/Nov/13 ]

Lustre build: http://build.whamcloud.com/job/lustre-b2_4/47/
Distro/Arch: RHEL6.4/x86_64
FSTYPE=zfs

The same failure occurred:
https://maloo.whamcloud.com/test_sets/98c845fc-43ac-11e3-942a-52540035b04c

Comment by Jian Yu [ 05/Nov/13 ]

Patch for master branch to make posix.sh support BASELINE_FS=zfs is in http://review.whamcloud.com/8180.
After the patch is ready to land, it can also be cherry-picked to Lustre b2_4 branch.

After applying the above patch on Lustre b2_4 build #49, I manually ran posix test with FSTYPE=zfs and got the following test results:
https://maloo.whamcloud.com/test_sessions/e61c04ee-4634-11e3-810a-52540035b04c

News POSIX successes: 2

Test Name                   Baseline   Lustre Report
write.24                      Failed       Succeeded
write.28                      Failed       Succeeded


FAILURE SUMMARY:

POSIX failures: 19

Test Name                   Baseline   Lustre Report
access.37                  Succeeded      Unresolved
chdir.6                    Succeeded      Unresolved
chmod.11                   Succeeded      Unresolved
chmod.5                    Succeeded      Unresolved
chown.10                   Succeeded      Unresolved
creat.24                   Succeeded          Failed
fpathconf.8                Succeeded          Failed
link.16                    Succeeded      Unresolved
mkdir.13                   Succeeded          Failed
mkfifo.11                  Succeeded          Failed
open.38                    Succeeded          Failed
opendir.9                  Succeeded      Unresolved
pathconf.10                Succeeded          Failed
pathconf.24                Succeeded      Unresolved
rename.26                  Succeeded      Unresolved
rmdir.14                   Succeeded      Unresolved
stat.8                     Succeeded      Unresolved
unlink.13                  Succeeded      Unresolved
utime.12                   Succeeded      Unresolved

All of the "Unresolved" failures are LU-3603. I'll investigate the "Failed" failures.

Comment by Andreas Dilger [ 05/Nov/13 ]

I think all of the pathconf failures may be caused by pathconf being hard coded in glibc based on the Filesystem magic number. That means it isn't possible to change the value for Lustre without recompiling glibc.

Not sure if the other failures. It would be useful to file subtickets for the failures with the text from the failing tests.

Comment by Jian Yu [ 06/Nov/13 ]

Not sure if the other failures. It would be useful to file subtickets for the failures with the text from the failing tests.

Besides LU-3603, LU-4219 and LU-4220 were created to track the failures.

Comment by Jian Yu [ 19/Nov/13 ]

Patch for Lustre b2_4 branch to make posix.sh support BASELINE_FS=zfs is in http://review.whamcloud.com/8323.

Comment by Jian Yu [ 29/Nov/13 ]

Patch landed on master branch for Lustre 2.6.0.

Comment by Jian Yu [ 02/Dec/13 ]

Patch landed on Lustre b2_4 branch for 2.4.2.

Comment by Peter Jones [ 20/Dec/13 ]

Landed for 2.4.2 and 2.6. Will land for 2.5.1 shortly.

Generated at Sat Feb 10 01:36:29 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.