Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-1580

POSIX: pathconf.32: pathconf("/dev/pts/0", _PC_NAME_MAX) did not give correct results

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • None
    • Lustre 2.3.0
    • None
    • 3
    • 5807

    Description

      This issue was created by maloo for Chris Gearing <chris@whamcloud.com>

      This issue relates to the following test suite run: https://maloo.whamcloud.com/test_sets/e8bc176e-c0a4-11e1-a5ca-52540035b04c.

      The sub-test test_1 failed with the following error:

      Run POSIX testsuite on /mnt/lustre failed

      Info required for matching: posix 1

      Attachments

        Issue Links

          Activity

            [LU-1580] POSIX: pathconf.32: pathconf("/dev/pts/0", _PC_NAME_MAX) did not give correct results
            yujian Jian Yu added a comment -

            Yujian, you can verify by doing a yum install posix on any node. If the src include your change, then we are good. If not, please contact Joshua to sync the repo with yum

            Thanks Minh for this info. I've verified this by provisioning Lustre 2.1.3 test nodes and run posix test on them, the posix-1.0-wc1 package contained the new changes and posix test passed:
            https://maloo.whamcloud.com/test_sessions/150c92c0-e158-11e1-9a39-52540035b04c

            yujian Jian Yu added a comment - Yujian, you can verify by doing a yum install posix on any node. If the src include your change, then we are good. If not, please contact Joshua to sync the repo with yum Thanks Minh for this info. I've verified this by provisioning Lustre 2.1.3 test nodes and run posix test on them, the posix-1.0-wc1 package contained the new changes and posix test passed: https://maloo.whamcloud.com/test_sessions/150c92c0-e158-11e1-9a39-52540035b04c
            mdiep Minh Diep added a comment -

            Yujian, you can verify by doing a yum install posix on any node. If the src include your change, then we are good. If not, please contact Joshua to sync the repo with yum

            mdiep Minh Diep added a comment - Yujian, you can verify by doing a yum install posix on any node. If the src include your change, then we are good. If not, please contact Joshua to sync the repo with yum
            yujian Jian Yu added a comment -

            The change on LSB-VSX POSIX test suite has been pushed into the toolkit repository. Let's wait for a successful posix test run performed by autotest and then we can close this ticket as resolved.

            yujian Jian Yu added a comment - The change on LSB-VSX POSIX test suite has been pushed into the toolkit repository. Let's wait for a successful posix test run performed by autotest and then we can close this ticket as resolved.
            yujian Jian Yu added a comment -

            I just verified again that the same failure also occurred on ext4 filesystem. After updating the LSB-VSX POSIX test suite to disable the terminal file test in pathconf.32, Lustre POSIX compliance testing passed on T.pathconf test set (baseline is ext4):

            Lustre branch: master
            Lustre build: http://build.whamcloud.com/job/lustre-master/766/
            https://maloo.whamcloud.com/test_sets/3df07240-e088-11e1-a388-52540035b04c

            yujian Jian Yu added a comment - I just verified again that the same failure also occurred on ext4 filesystem. After updating the LSB-VSX POSIX test suite to disable the terminal file test in pathconf.32, Lustre POSIX compliance testing passed on T.pathconf test set (baseline is ext4): Lustre branch: master Lustre build: http://build.whamcloud.com/job/lustre-master/766/ https://maloo.whamcloud.com/test_sets/3df07240-e088-11e1-a388-52540035b04c
            pjones Peter Jones added a comment -

            Actually, Yujian is working on a fix.

            pjones Peter Jones added a comment - Actually, Yujian is working on a fix.

            This item needs to be added to the release notes.

            jlevi Jodi Levi (Inactive) added a comment - This item needs to be added to the release notes.
            yujian Jian Yu added a comment -

            The unlink.6 and write.15 failures are LU-380. The readdir.6 failure is LU-379. This ticket is used to track pathconf.32 failure.

            I found that while formatting a partition/disk as ext4 filesystem and run POSIX test suite on it to generate baseline, the pathconf.32 test also failed. However, if a loop device is used to be formatted as ext4, the test passed. So, the issue is related to the baseline, not Lustre.

            yujian Jian Yu added a comment - The unlink.6 and write.15 failures are LU-380 . The readdir.6 failure is LU-379 . This ticket is used to track pathconf.32 failure. I found that while formatting a partition/disk as ext4 filesystem and run POSIX test suite on it to generate baseline, the pathconf.32 test also failed. However, if a loop device is used to be formatted as ext4, the test passed. So, the issue is related to the baseline, not Lustre.

            Since Lustre never pass all the POSIX test cases. We need to check whether above failures are new ones or known issues.

            yong.fan nasf (Inactive) added a comment - Since Lustre never pass all the POSIX test cases. We need to check whether above failures are new ones or known issues.

            Yu Jian,
            Can you please take a look at this one?

            jlevi Jodi Levi (Inactive) added a comment - Yu Jian, Can you please take a look at this one?
            mdiep Minh Diep added a comment - - edited

            I have reproduced this manually. This seems like Posix issue
            https://maloo.whamcloud.com/test_sets/2ed77eb4-d077-11e1-aa18-52540035b04c

            mdiep Minh Diep added a comment - - edited I have reproduced this manually. This seems like Posix issue https://maloo.whamcloud.com/test_sets/2ed77eb4-d077-11e1-aa18-52540035b04c

            People

              yujian Jian Yu
              maloo Maloo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: