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

sanity-hsm test_58: FAIL: file data wrong after truncate

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • Lustre 2.16.0
    • None
    • Ubuntu 24.04 client
    • 3
    • 9223372036854775807

    Description

      This issue was created by maloo for jianyu <yujian@whamcloud.com>

      This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/1d992d0a-1883-4868-8ba1-7a36632099f0

      test_58 failed with the following error:

      == sanity-hsm test 58: Truncate a released file will trigger restore ========================================================== 00:15:21 (1721952921)
      CMD: onyx-33vm2 mkdir -p /tmp/arc1/sanity-hsm.test_58/
      Starting copytool 'agt1' on 'onyx-33vm2' with cmdline 'lhsmtool_posix --archive-format=v2 --hsm-root=/tmp/arc1/sanity-hsm.test_58/ --daemon --pid-file=/var/run/lhsmtool_posix.pid  "/mnt/lustre2"'
      CMD: onyx-33vm2 lhsmtool_posix --archive-format=v2 --hsm-root=/tmp/arc1/sanity-hsm.test_58/ --daemon --pid-file=/var/run/lhsmtool_posix.pid  "/mnt/lustre2" < /dev/null > "/autotest/autotest-1/2024-07-25/lustre-master_full-part-2_4558_92_c20ef393-2907-4ce6-ad68-9c63ccc315b7//sanity-hsm.test_58.copytool_log.onyx-33vm2.log" 2>&1
      truncate up from 3771 to 7542
      cp: error copying '/mnt/lustre/d58.sanity-hsm/f58.sanity-hsm' to '/mnt/lustre/d58.sanity-hsm/f58.sanity-hsm-ref': No data available
      CMD: onyx-33vm6 /usr/sbin/lctl get_param -n mdt.lustre-MDT0000.hsm.actions | awk '/'0x200000402:0x203:0x0'.*action='ARCHIVE'/ {print \$13}' | cut -f2 -d=
      Waiting 200s for 'SUCCEED'
      CMD: onyx-33vm6 /usr/sbin/lctl get_param -n mdt.lustre-MDT0000.hsm.actions | awk '/'0x200000402:0x203:0x0'.*action='ARCHIVE'/ {print \$13}' | cut -f2 -d=
      Updated after 2s: want 'SUCCEED' got 'SUCCEED'
      /mnt/lustre/d58.sanity-hsm/f58.sanity-hsm: (0x0000000b) exists dirty archived, archive_id:2
      CMD: onyx-33vm6 /usr/sbin/lctl get_param -n mdt.lustre-MDT0000.hsm.actions | awk '/'0x200000402:0x203:0x0'.*action='RESTORE'/ {print \$13}' | cut -f2 -d=
      /mnt/lustre/d58.sanity-hsm/f58.sanity-hsm-ref /mnt/lustre/d58.sanity-hsm/f58.sanity-hsm differ: char 1, line 1
       sanity-hsm test_58: @@@@@@ FAIL: file data wrong after truncate 
      

      Test session details:
      clients: https://build.whamcloud.com/job/lustre-master/4558 - 6.8.0-35-generic
      servers: https://build.whamcloud.com/job/lustre-master/4558 - 5.14.0-427.24.1_lustre.el9.x86_64

      <<Please provide additional information about the failure here>>

      VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV
      sanity-hsm test_58 - file data wrong after truncate

      Attachments

        Issue Links

          Activity

            People

              emoly.liu Emoly Liu
              maloo Maloo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: