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

vm/hugepage/ltp-hugetlbfs : several tests timeout, then ENOMEM on aarch64

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      RHEL8.8 :

      https://datawarehouse.cki-project.org/kcidb/tests/17293151

      https://datawarehouse.cki-project.org/kcidb/tests/16718834

      >>> 4:hugemmap05__with_dmesg_entry BROK <<<
      ###############################################################################
      # Test Num    : 4                                                             #
      # Test Case   : hugemmap05__with_dmesg_entry                                  #
      # Test Result : BROK                                                          #
      ###############################################################################
      
           1	<<<test_start>>>
           2	tag=hugemmap05__with_dmesg_entry stime=1744409174
           3	cmdline="dmesg -c 1>/dev/null 2>&1; hugemmap05 -a 47; EXIT_CODE=$?; dmesg > /mnt/testarea/ltp/output/DMESG_DIR_HUGEPAGE-dmesg-output-49843-06:06:12PM/hugemmap05.dmesg.log; exit $EXIT_CODE"
           4	contacts=""
           5	analysis=exit
           6	<<<test_output>>>
           7	tst_hugepage.c:84: TINFO: 2 hugepage(s) reserved
           8	tst_test.c:1709: TINFO: LTP version: 20240129
           9	tst_test.c:1595: TINFO: Timeout per run is 0h 00m 30s
          10	hugemmap05.c:226: TINFO: original nr_overcommit_hugepages is 0
          11	hugemmap05.c:233: TINFO: Mounting (null) to /mnt/testarea/ltp-EBpdCYZ16D/LTP_hugwsoP3T/hugemmap05 fstyp=hugetlbfs flags=0
          12	hugemmap05.c:99: TINFO: check /proc/meminfo before allocation.
          13	hugemmap05.c:275: TINFO: HugePages_Total is 70.
          14	hugemmap05.c:275: TINFO: HugePages_Free is 70.
          15	hugemmap05.c:275: TINFO: HugePages_Surp is 23.
          16	hugemmap05.c:275: TINFO: HugePages_Rsvd is 70.
          17	hugemmap05.c:250: TINFO: First hex is 7070707
          18	Test timeouted, sending SIGKILL!
          19	tst_test.c:1648: TINFO: If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1
          20	tst_test.c:1649: TBROK: Test killed! (timeout?)
          21	
          22	Summary:
          23	passed   0
          24	failed   0
          25	broken   1
          26	skipped  0
          27	warnings 0
          28	tst_tmpdir.c:343: TWARN: tst_rmdir: rmobj(/mnt/testarea/ltp-EBpdCYZ16D/LTP_hugwsoP3T) failed: remove(/mnt/testarea/ltp-EBpdCYZ16D/LTP_hugwsoP3T/hugemmap05) failed; errno=16: EBUSY
          29	<<<execution_status>>>
          30	initiation_status="ok"
          31	duration=30 termination_type=exited termination_id=2 corefile=no
          32	cutime=2931 cstime=72
          33	<<<test_end>>>
       

      Next test also times out :

      >>> 5:hugemmap05_m__with_dmesg_entry BROK <<<
      ###############################################################################
      # Test Num    : 5                                                             #
      # Test Case   : hugemmap05_m__with_dmesg_entry                                #
      # Test Result : BROK                                                          #
      ###############################################################################
      
           1	<<<test_start>>>
           2	tag=hugemmap05_m__with_dmesg_entry stime=1744409204
           3	cmdline="dmesg -c 1>/dev/null 2>&1; hugemmap05 -m -a 47; EXIT_CODE=$?; dmesg > /mnt/testarea/ltp/output/DMESG_DIR_HUGEPAGE-dmesg-output-49843-06:06:12PM/hugemmap05_m.dmesg.log; exit $EXIT_CODE"
           4	contacts=""
           5	analysis=exit
           6	<<<test_output>>>
           7	tst_hugepage.c:84: TINFO: 2 hugepage(s) reserved
           8	tst_test.c:1709: TINFO: LTP version: 20240129
           9	tst_test.c:1595: TINFO: Timeout per run is 0h 00m 30s
          10	hugemmap05.c:226: TINFO: original nr_overcommit_hugepages is 47
          11	hugemmap05.c:233: TINFO: Mounting (null) to /mnt/testarea/ltp-EBpdCYZ16D/LTP_hugx2hmyc/hugemmap05 fstyp=hugetlbfs flags=0
          12	hugemmap05.c:99: TINFO: check /proc/meminfo before allocation.
          13	hugemmap05.c:275: TINFO: HugePages_Total is 70.
          14	hugemmap05.c:275: TINFO: HugePages_Free is 70.
          15	hugemmap05.c:275: TINFO: HugePages_Surp is 23.
          16	hugemmap05.c:275: TINFO: HugePages_Rsvd is 70.
          17	hugemmap05.c:115: TINFO: shmid: 0x0
          18	hugemmap05.c:250: TINFO: First hex is 7070707
          19	Test timeouted, sending SIGKILL!
          20	tst_test.c:1648: TINFO: If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1
          21	tst_test.c:1649: TBROK: Test killed! (timeout?)
          22	
          23	Summary:
          24	passed   0
          25	failed   0
          26	broken   1
          27	skipped  0
          28	warnings 0
          29	tst_tmpdir.c:343: TWARN: tst_rmdir: rmobj(/mnt/testarea/ltp-EBpdCYZ16D/LTP_hugx2hmyc) failed: remove(/mnt/testarea/ltp-EBpdCYZ16D/LTP_hugx2hmyc/hugemmap05) failed; errno=16: EBUSY
          30	<<<execution_status>>>
          31	initiation_status="ok"
          32	duration=30 termination_type=exited termination_id=2 corefile=no
          33	cutime=2927 cstime=76
          34	<<<test_end>>>
       

      Subsequent tests fails with ENOMEM, possibly due to the fact that we can get rid of previous mmappings.

       

              chuhu@redhat.com Hu Chunyu
              rhn-support-rbergant Roberto Bergantinos Corpas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: