[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: |
| Comments |
| Comment by Jian Yu [ 02/Nov/13 ] |
|
Lustre build: http://build.whamcloud.com/job/lustre-b2_4/47/ The same failure occurred: |
| 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 applying the above patch on Lustre b2_4 build #49, I manually ran posix test with FSTYPE=zfs and got the following test results: 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 |
| 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 ] |
Besides |
| 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. |