[LU-12662] Run pjdfstest POSIX test in review and full testing Created: 13/Aug/19  Updated: 09/Dec/20  Resolved: 14/May/20

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.13.0, Lustre 2.12.3
Fix Version/s: Lustre 2.14.0, Lustre 2.12.6

Type: Improvement Priority: Minor
Reporter: James Nunez (Inactive) Assignee: Sarah Liu
Resolution: Fixed Votes: 0
Labels: tests

Issue Links:
Related
is related to LU-12922 pjdfstest chown_00: POSIX compliance ... Open
Rank (Obsolete): 9223372036854775807

 Description   

pjdfstest is a POSIX file system test suite. We've recently added pjdfstest to the Lustre toolkit; DCO-8170. The next step is to create a new test suite or add a new test to the POSIX test suite that runs pjdfstest and reports on status of each test.

More information on the history and versions of pjdfstest:
The old POSIX test suite from the Open Group was no longer buildable on modern distros, and had to be replaced.
Tuxera ported to Linux, extended, and maintained Pawel Jakub Dawidek’s POSIX file system test suite called pjdfstest. The last stable release of pjdfstest was released on August 16, 2008; pjd-fstest-20080816.tgz. The last test release was released on January 30, 2009; pjd-fstest-20090130-RC.tgz. More information about the Tuxera releases can be found at https://www.tuxera.com/community/posix-test-suite/ .

In February 2011, Brian Behlendorf uploaded a version of pjdfstest to GitHub and fixed some tests to be compatible with ZFS; https://github.com/zfsonlinux/fstest . Development on this branch of pjdfstest has not progressed.

In February 2012, Pawel Jakub Dawidek uploaded his version of pjdfstest to GitHub and has maintained it since; https://github.com/pjd/pjdfstest . PJD’s version of pjdfstest from GitHub is the one that will be incorporated into Lustre testing.



 Comments   
Comment by Sarah Liu [ 16/Aug/19 ]

A quick update on the progress.
pjdfstest rpm is installed and find 1 issue:
The tests are all under /usr/share/pjdfstest while the pjdfstest application is installed under /bin. This causes the tests cannot find the executable file. Currently I create a link to work around the problem, but it would be great to change the installation location.

[root@trevis-60vm8 lustre]# prove -rv /usr/share/pjdfstest/
/usr/share/pjdfstest/chflags/00.t .......... 
not ok - could not find pjdfstest app
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 
Comment by Gerrit Updater [ 20/Aug/19 ]

Wei Liu (sarah@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35841
Subject: LU-12662 tests: Add new pjdfstest into tests
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: d6c70c88b990fb074a0e311960472b6898dc8719

Comment by Sarah Liu [ 20/Aug/19 ]

Current Autotest env doesn't have pjdfstest installed, I have opened DCO-8390 to request it.

Comment by Gerrit Updater [ 14/May/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35841/
Subject: LU-12662 tests: Add new pjdfstest into tests
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 414e613c2da55e6b8d2b3b20cbfb340cd84c9854

Comment by Peter Jones [ 14/May/20 ]

Landed for 2.14

Comment by Gerrit Updater [ 18/May/20 ]

James Nunez (jnunez@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38653
Subject: LU-12662 tests: Add new pjdfstest into tests
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: 74a27572b9510250a7dc95dc33d889d7ae3ae6ef

Comment by Gerrit Updater [ 07/Nov/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38653/
Subject: LU-12662 tests: Add new pjdfstest into tests
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: 8b014cbce3a3f29e85c3f24693d1314f3f27886b

Generated at Sat Feb 10 02:54:33 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.