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

sanity test 255c fails with 'Ladvise test 12, bad lock count, returned 1, actual 0'

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.14.0
    • Lustre 2.12.0
    • Ubuntu 18.04 clients
    • 3
    • 9223372036854775807

    Description

      sanity test_255c fails with 'Ladvise test 12, bad lock count, returned 1, actual 0'. It looks like this is only impacting Ubuntu 18.04 client testing.

      Looking at the client test_log from https://testing.whamcloud.com/test_sets/d1b23f66-fdd4-11e8-a97c-52540065bddc , a problem is that we can’t find lock_unused_count

      == sanity test 255c: suite of ladvise lockahead tests ================================================ 19:46:58 (1544471218)
      CMD: trevis-19vm3 /usr/sbin/lctl get_param -n version 2>/dev/null ||
      				/usr/sbin/lctl lustre_build_version 2>/dev/null ||
      				/usr/sbin/lctl --version 2>/dev/null | cut -d' ' -f2
      Starting test test10 at 1544471219
      Finishing test test10 at 1544471219
      CMD: trevis-19vm3 /usr/sbin/lctl get_param -n ost.OSS.ost.stats
      Starting test test11 at 1544471219
      Finishing test test11 at 1544471219
      CMD: trevis-19vm3 /usr/sbin/lctl get_param -n ost.OSS.ost.stats
      error: get_param: param_path 'ldlm/namespaces/lustre-OST0000*osc-f*/lock_unused_count': No such file or directory
      Starting test test12 at 1544471220
      Finishing test test12 at 1544471220
      error: get_param: param_path 'ldlm/namespaces/lustre-OST0000*osc-f*/lock_unused_count': No such file or directory
      

      There are several example of this failure all for Ubuntu at
      https://testing.whamcloud.com/test_sets/bd048afa-f713-11e8-b67f-52540065bddc
      https://testing.whamcloud.com/test_sets/b223ccee-f778-11e8-b67f-52540065bddc
      https://testing.whamcloud.com/test_sets/50f5970e-fa16-11e8-8a18-52540065bddc

      Attachments

        Issue Links

          Activity

            [LU-11803] sanity test 255c fails with 'Ladvise test 12, bad lock count, returned 1, actual 0'

            We can migrate the remaining work to LU-13118

            simmonsja James A Simmons added a comment - We can migrate the remaining work to LU-13118

            Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35480
            Subject: LU-11803 obd: replace class_uuid with linux kernel version.
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: b4f322de10fbaf05c564643e8f42da770d2987c8

            gerrit Gerrit Updater added a comment - Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35480 Subject: LU-11803 obd: replace class_uuid with linux kernel version. Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: b4f322de10fbaf05c564643e8f42da770d2987c8

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34783/
            Subject: LU-11803 tests: don't assume obd device name
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: 0909a1c8d7aa4d9e4f95077da4b3b31e3d4c392f

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34783/ Subject: LU-11803 tests: don't assume obd device name Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: 0909a1c8d7aa4d9e4f95077da4b3b31e3d4c392f

            Some more work is needed.

            simmonsja James A Simmons added a comment - Some more work is needed.

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33916/
            Subject: LU-11803 obd: replace class_uuid with linux kernel version.
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 604c266a175b72500ef99793652b64ed4f842b2c

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33916/ Subject: LU-11803 obd: replace class_uuid with linux kernel version. Project: fs/lustre-release Branch: master Current Patch Set: Commit: 604c266a175b72500ef99793652b64ed4f842b2c

            Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34783
            Subject: LU-11803 tests: don't assume obd device name
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: 2ab9df22c74f2404ac0d8e2632073f11d167eeba

            gerrit Gerrit Updater added a comment - Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34783 Subject: LU-11803 tests: don't assume obd device name Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 2ab9df22c74f2404ac0d8e2632073f11d167eeba

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33894/
            Subject: LU-11803 tests: don't assume obd device name
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: b8e6c8bdca9bd0e12d78cd4a06800c13f4293325

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33894/ Subject: LU-11803 tests: don't assume obd device name Project: fs/lustre-release Branch: master Current Patch Set: Commit: b8e6c8bdca9bd0e12d78cd4a06800c13f4293325

            James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33916
            Subject: LU-11803 llite: use sget() to find client super block
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 9df5133ac346b807bcb671fdea0adb7ccb628a5e

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33916 Subject: LU-11803 llite: use sget() to find client super block Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 9df5133ac346b807bcb671fdea0adb7ccb628a5e

            James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33894
            Subject: LU-11803 tests: don't assume obd device name
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: ce075a8726fe822803f24d1b336301ad87e9ce12

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33894 Subject: LU-11803 tests: don't assume obd device name Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: ce075a8726fe822803f24d1b336301ad87e9ce12
            simmonsja James A Simmons added a comment - - edited

            I see the issue. Its a test problem in this case. The people that wrote these test assume the obd device name is of the format $FSNAME-OST0000-osc-ffff* but that is not always the case. In newer kernels the ffff is filtered out. This also impacts older kernels running on non x86 platforms. For example on Power8 is lustre-OST0000-osc-c000001e4de63000. I will push a patch to fix this.

            simmonsja James A Simmons added a comment - - edited I see the issue. Its a test problem in this case. The people that wrote these test assume the obd device name is of the format $FSNAME-OST0000-osc-ffff* but that is not always the case. In newer kernels the ffff is filtered out. This also impacts older kernels running on non x86 platforms. For example on Power8 is lustre-OST0000-osc-c000001e4de63000. I will push a patch to fix this.

            People

              simmonsja James A Simmons
              jamesanunez James Nunez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: