Uploaded image for project: 'RHEL Testing'
  1. RHEL Testing
  2. RHELTEST-85

kernel/vm/hugepage/ltp-hugetlbfs hugemmap02 and hugemmap05 failed on aarch64 (hpe-apollo-cn99xx-*-vm-*) in rhel8

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • rhel-kernel-ft

      This issue was originally created at 2023-08-30T06:32:56.662Z as a Gitlab issue:
      https://gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/issues/1715

      1. Snippet of test failure

      kernel-4.18.0-512.el8.5255_979097004
      host: hpe-apollo-cn99xx-14-vm-08.khw4.lab.eng.bos.redhat.com

      >>> 2:hugemmap02 FAIL <<<
      ###############################################################################

      1. Test Num : 2 #
      2. Test Case : hugemmap02 #
      3. Test Result : FAIL #
        ###############################################################################

      1 <<<test_start>>>
      2 tag=hugemmap02 stime=1693299188
      3 cmdline="hugemmap02 -s 1"
      4 contacts=""
      5 analysis=exit
      6 <<<test_output>>>
      7 tst_hugepage.c:83: TINFO: 1 hugepage(s) reserved
      8 tst_test.c:1560: TINFO: Timeout per run is 0h 00m 30s
      9 hugemmap02.c:89: TFAIL: huge mmap failed unexpectedly with /mnt/testarea/ltp-8cShEktf3m/LTP_hugKHbd5J/mmapfile51880 (64-bit): ENOMEM (12)
      10 hugemmap02.c:111: TFAIL: huge munmap failed: EINVAL (22)
      11
      12 Summary:
      13 passed 0
      14 failed 2
      15 broken 0
      16 skipped 0
      17 warnings 0
      18 <<<execution_status>>>
      19 initiation_status="ok"
      20 duration=0 termination_type=exited termination_id=1 corefile=no
      21 cutime=0 cstime=1
      22 <<<test_end>>>

      >>> 4:hugemmap05 BROK <<<
      ###############################################################################

      1. Test Num : 4 #
      2. Test Case : hugemmap05 #
      3. Test Result : BROK #
        ###############################################################################

      1 <<<test_start>>>
      2 tag=hugemmap05 stime=1693299188
      3 cmdline="hugemmap05 -a 0"
      4 contacts=""
      5 analysis=exit
      6 <<<test_output>>>
      7 tst_hugepage.c:83: TINFO: 2 hugepage(s) reserved
      8 tst_test.c:1560: TINFO: Timeout per run is 0h 00m 30s
      9 hugemmap05.c:226: TINFO: original nr_overcommit_hugepages is 0
      10 hugemmap05.c:84: TBROK: mmap((nil),0,3,1,3,0) failed: EINVAL (22)
      11 hugemmap05.c:179: TINFO: restore nr_overcommit_hugepages to 0.
      12
      13 Summary:
      14 passed 0
      15 failed 0
      16 broken 1
      17 skipped 0
      18 warnings 0
      19 <<<execution_status>>>
      20 initiation_status="ok"
      21 duration=0 termination_type=exited termination_id=2 corefile=no
      22 cutime=0 cstime=0
      23 <<<test_end>>>

      >>> 5:hugemmap05_m BROK <<<
      ###############################################################################

      1. Test Num : 5 #
      2. Test Case : hugemmap05_m #
      3. Test Result : BROK #
        ###############################################################################

      1 <<<test_start>>>
      2 tag=hugemmap05_m stime=1693299188
      3 cmdline="hugemmap05 -m -a 0"
      4 contacts=""
      5 analysis=exit
      6 <<<test_output>>>
      7 tst_hugepage.c:83: TINFO: 2 hugepage(s) reserved
      8 tst_test.c:1560: TINFO: Timeout per run is 0h 00m 30s
      9 hugemmap05.c:226: TINFO: original nr_overcommit_hugepages is 0
      10 hugemmap05.c:80: TBROK: shmget(218431639, 0, b80) failed: EINVAL (22)
      11 hugemmap05.c:179: TINFO: restore nr_overcommit_hugepages to 0.
      12
      13 Summary:
      14 passed 0
      15 failed 0
      16 broken 1
      17 skipped 0
      18 warnings 0
      19 <<<execution_status>>>
      20 initiation_status="ok"
      21 duration=0 termination_type=exited termination_id=2 corefile=no
      22 cutime=0 cstime=1
      23 <<<test_end>>>

      >>> 6:hugemmap05_s BROK <<<
      ###############################################################################

      1. Test Num : 6 #
      2. Test Case : hugemmap05_s #
      3. Test Result : BROK #
        ###############################################################################

      1 <<<test_start>>>
      2 tag=hugemmap05_s stime=1693299188
      3 cmdline="hugemmap05 -s -a 0"
      4 contacts=""
      5 analysis=exit
      6 <<<test_output>>>
      7 tst_hugepage.c:83: TINFO: 2 hugepage(s) reserved
      8 tst_test.c:1560: TINFO: Timeout per run is 0h 00m 30s
      9 hugemmap05.c:226: TINFO: original nr_overcommit_hugepages is 0
      10 hugemmap05.c:84: TBROK: mmap((nil),0,3,1,3,0) failed: EINVAL (22)
      11 hugemmap05.c:179: TINFO: restore nr_overcommit_hugepages to 0.
      12
      13 Summary:
      14 passed 0
      15 failed 0
      16 broken 1
      17 skipped 0
      18 warnings 0
      19 <<<execution_status>>>
      20 initiation_status="ok"
      21 duration=1 termination_type=exited termination_id=2 corefile=no
      22 cutime=1 cstime=1
      23 <<<test_end>>>

      >>> 7:hugemmap05_ms BROK <<<
      ###############################################################################

      1. Test Num : 7 #
      2. Test Case : hugemmap05_ms #
      3. Test Result : BROK #
        ###############################################################################

      1 <<<test_start>>>
      2 tag=hugemmap05_ms stime=1693299189
      3 cmdline="hugemmap05 -m -s -a 0"
      4 contacts=""
      5 analysis=exit
      6 <<<test_output>>>
      7 tst_hugepage.c:83: TINFO: 2 hugepage(s) reserved
      8 tst_test.c:1560: TINFO: Timeout per run is 0h 00m 30s
      9 hugemmap05.c:226: TINFO: original nr_overcommit_hugepages is 0
      10 hugemmap05.c:80: TBROK: shmget(218431639, 0, b80) failed: EINVAL (22)
      11 hugemmap05.c:179: TINFO: restore nr_overcommit_hugepages to 0.
      12
      13 Summary:
      14 passed 0
      15 failed 0
      16 broken 1
      17 skipped 0
      18 warnings 0
      19 <<<execution_status>>>
      20 initiation_status="ok"
      21 duration=0 termination_type=exited termination_id=2 corefile=no
      22 cutime=0 cstime=10
      23 <<<test_end>>>

      >>> 14:hugeshmctl02 BROK <<<
      ###############################################################################

      1. Test Num : 14 #
      2. Test Case : hugeshmctl02 #
      3. Test Result : BROK #
        ###############################################################################

      1 <<<test_start>>>
      2 tag=hugeshmctl02 stime=1693299194
      3 cmdline="hugeshmctl02 -s 1 -i 5"
      4 contacts=""
      5 analysis=exit
      6 <<<test_output>>>
      7 tst_hugepage.c:83: TINFO: 1 hugepage(s) reserved
      8 tst_test.c:1560: TINFO: Timeout per run is 0h 00m 30s
      9 hugeshmctl02.c:87: TBROK: shmget #1: EINVAL (22)
      10
      11 Summary:
      12 passed 0
      13 failed 0
      14 broken 1
      15 skipped 0
      16 warnings 0
      17 <<<execution_status>>>
      18 initiation_status="ok"
      19 duration=1 termination_type=exited termination_id=2 corefile=no
      20 cutime=0 cstime=1
      21 <<<test_end>>>

      1. Test logs
        https://beaker.engineering.redhat.com/recipes/14505279#task165288914

      Please include a link to the test execution on DataWarehouse, e.g.
      https://datawarehouse.cki-project.org/kcidb/tests/1234567.

      1. DataWarehouse issue

      If the problem is already tracked on DataWarehouse, please include a link to
      the DataWarehouse issue, e.g.
      https://datawarehouse.cki-project.org/issue/12345.

      1. Additional details

      Looks like the free memory if not big enough, so the test constructed '0' parameter to ltp hugetlb test cases, that's invalid value. We may need to consider how to handle this if not enough free memory on aarch64 (6G size memory machines).

      **In case opening the links above result in a 404 page on DataWarehouse, please
      make sure you are [correctly logged into DataWarehouse via Red Hat SSO](
      https://cki-project.org/docs/user_docs/gitlab-mr-testing/faq/#datawarehouse-links-return-404).**

              chuhu@redhat.com Hu Chunyu
              chuhu@redhat.com Hu Chunyu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: