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

metadata-updates: FAIL: wrong timestamps

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.9.0
    • Lustre 2.9.0
    • None
    • 3
    • 9223372036854775807

    Description

      metadata-updates test failed as follows:

      onyx-40vm2: /mnt/lustre/d0.metadata-updates/onyx-40vm1/testfile [ atime mtime ] expected : 978307200 1115251200 ;  got : 1469410011 1115251200 
      onyx-40vm1: /mnt/lustre/d0.metadata-updates/onyx-40vm2/testfile [ atime mtime ] expected : 978307200 1115251200 ;  got : 1469410011 1115251200 
       metadata-updates : @@@@@@ FAIL: wrong timestamps
      

      Maloo reports:
      https://testing.hpdd.intel.com/test_sets/825136bc-524f-11e6-bf87-5254006e85c2
      https://testing.hpdd.intel.com/test_sets/957409a0-5037-11e6-bf87-5254006e85c2
      https://testing.hpdd.intel.com/test_sets/92afe362-5008-11e6-9f8e-5254006e85c2

      Attachments

        Issue Links

          Activity

            [LU-8446] metadata-updates: FAIL: wrong timestamps
            pjones Peter Jones added a comment -

            Landed for 2.9

            pjones Peter Jones added a comment - Landed for 2.9

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/22623/
            Subject: LU-8446 llite: clear inode timestamps after losing UPDATE lock
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 4a5e3556a6016cf5ded9c4126454916ab847a1b6

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/22623/ Subject: LU-8446 llite: clear inode timestamps after losing UPDATE lock Project: fs/lustre-release Branch: master Current Patch Set: Commit: 4a5e3556a6016cf5ded9c4126454916ab847a1b6

            Niu Yawei (yawei.niu@intel.com) uploaded a new patch: http://review.whamcloud.com/22623
            Subject: LU-8446 llite: clear inode timestamps after losing UPDATE lock
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: c631f414ea2d3e9d3acbb653bc85c10f68dcb9d5

            gerrit Gerrit Updater added a comment - Niu Yawei (yawei.niu@intel.com) uploaded a new patch: http://review.whamcloud.com/22623 Subject: LU-8446 llite: clear inode timestamps after losing UPDATE lock Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: c631f414ea2d3e9d3acbb653bc85c10f68dcb9d5

            Thanks for the log, Yujian.

            The log looks normal: OST updated lvb correctly, and clients even returned correct timestamps on glimplse shortly before the failure point. I'll investigate it futher.

            niu Niu Yawei (Inactive) added a comment - Thanks for the log, Yujian. The log looks normal: OST updated lvb correctly, and clients even returned correct timestamps on glimplse shortly before the failure point. I'll investigate it futher.
            yujian Jian Yu added a comment -

            I'm not sure why maloo doesn't provide debug log for such kind of test (metadata-updates).

            I think this is because the tests in metadata-updates.sh are not wrapped as test_x() sub-tests. While gathering logs, there are no sub-test names in the log files, and then Maloo doesn't import them (LU-8603).

            From report https://testing.hpdd.intel.com/test_sets/12cab8e0-2c5c-11e6-a0ce-5254006e85c2, we can see:

            Dumping lctl log to /logdir/test_logs/2016-06-05/lustre-master-el6_7-x86_64-vs-lustre-master-el7-x86_64--full--2_17_1__3384__-69908717151380-111335/metadata-updates..*.1465232271.log
            CMD: onyx-32vm3,onyx-32vm4,onyx-32vm5.onyx.hpdd.intel.com,onyx-32vm6 /usr/sbin/lctl dk > /logdir/test_logs/2016-06-05/lustre-master-el6_7-x86_64-vs-lustre-master-el7-x86_64--full--2_17_1__3384__-69908717151380-111335/metadata-updates..debug_log.\$(hostname -s).1465232271.log;
                     dmesg > /logdir/test_logs/2016-06-05/lustre-master-el6_7-x86_64-vs-lustre-master-el7-x86_64--full--2_17_1__3384__-69908717151380-111335/metadata-updates..dmesg.\$(hostname -s).1465232271.log
            

            I'm not sure whether autotest has deleted those logs or not. If not, you can find them in /home/autotest/logdir/... or /home/autotest2/logdir/... on the test cluster.

            yujian Jian Yu added a comment - I'm not sure why maloo doesn't provide debug log for such kind of test (metadata-updates). I think this is because the tests in metadata-updates.sh are not wrapped as test_x() sub-tests. While gathering logs, there are no sub-test names in the log files, and then Maloo doesn't import them ( LU-8603 ). From report https://testing.hpdd.intel.com/test_sets/12cab8e0-2c5c-11e6-a0ce-5254006e85c2 , we can see: Dumping lctl log to /logdir/test_logs/2016-06-05/lustre-master-el6_7-x86_64-vs-lustre-master-el7-x86_64--full--2_17_1__3384__-69908717151380-111335/metadata-updates..*.1465232271.log CMD: onyx-32vm3,onyx-32vm4,onyx-32vm5.onyx.hpdd.intel.com,onyx-32vm6 /usr/sbin/lctl dk > /logdir/test_logs/2016-06-05/lustre-master-el6_7-x86_64-vs-lustre-master-el7-x86_64--full--2_17_1__3384__-69908717151380-111335/metadata-updates..debug_log.\$(hostname -s).1465232271.log; dmesg > /logdir/test_logs/2016-06-05/lustre-master-el6_7-x86_64-vs-lustre-master-el7-x86_64--full--2_17_1__3384__-69908717151380-111335/metadata-updates..dmesg.\$(hostname -s).1465232271.log I'm not sure whether autotest has deleted those logs or not. If not, you can find them in /home/autotest/logdir/... or /home/autotest2/logdir/... on the test cluster.
            pjones Peter Jones added a comment -

            Niu

            Could you please assist with this issue?

            Thanks

            Peter

            pjones Peter Jones added a comment - Niu Could you please assist with this issue? Thanks Peter

            This issue was first seen on 2016-06-06 for build# 3384 on master Tag 2.8.53 which was the last build for this tag:
            https://testing.hpdd.intel.com/test_sets/12cab8e0-2c5c-11e6-a0ce-5254006e85c2

            standan Saurabh Tandan (Inactive) added a comment - This issue was first seen on 2016-06-06 for build# 3384 on master Tag 2.8.53 which was the last build for this tag: https://testing.hpdd.intel.com/test_sets/12cab8e0-2c5c-11e6-a0ce-5254006e85c2

            Roughly this issue has occurred around 100 times in past 30 days overall.

            standan Saurabh Tandan (Inactive) added a comment - Roughly this issue has occurred around 100 times in past 30 days overall.

            People

              niu Niu Yawei (Inactive)
              yujian Jian Yu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: