Hay
Date
June 3, 2025, 7:38 a.m.
<8>[  200.830771] <LAVA_SIGNAL_STARTTC mm_run_vmtests_sh_mlock-random-test>
exit=139----------------------
running ./mlock2-tests
----------------------
TAP version 13
1..13
ok 1 test_mlock_lock: Locked
ok 2 test_mlock_lock: Unlocked
ok 3 test_mlock_onfault: VMA marked for lock on fault
ok 4 VMA open lock after fault
ok 5 test_munlockall0: Locked memory area
ok 6 test_munlockall0: No locked memory
ok 7 test_munlockall1: VMA marked for lock on fault
ok 8 test_munlockall1: Unlocked
ok 9 test_munlockall1: Locked
ok 10 test_munlockall1: No locked memory
ok 11 VMA with present pages is not marked lock on fault
ok 12 test_vma_management call_mlock 1
ok 13 test_vma_management call_mlock 0
# Totals: pass:13 fail:0 xfail:0 xpass:0 skip:0 error:0
[PASS]
<8>[  200.843148] <LAVA_SIGNAL_ENDTC mm_run_vmtests_sh_mlock-random-test>
mm_run_vmtests_sh_mlock-random-test fail
<8>[  202.068051] <LAVA_SIGNAL_STARTTC mm_run_vmtests_sh>
TIMEOUT 180 seconds<8>[  202.075058] <LAVA_SIGNAL_ENDTC mm_run_vmtests_sh>
mm_run_vmtests_sh_hugepage-mmap_Read_same_data pass
mm_run_vmtests_sh_hugepage-mmap pass
mm_run_vmtests_sh_hugepage-shm pass
mm_run_vmtests_sh_map_hugetlb_Read_correct_data pass
mm_run_vmtests_sh_map_hugetlb pass
mm_run_vmtests_sh_hugepage-mremap_Read_same_data pass
mm_run_vmtests_sh_hugepage-mremap pass
mm_run_vmtests_sh_hugepage-vmemmap pass
mm_run_vmtests_sh_hugetlb-madvise pass
mm_run_vmtests_sh_hugetlb_dio_free_huge_pages_from_0-12288 pass
mm_run_vmtests_sh_hugetlb_dio_free_huge_pages_from_0-10240 pass
mm_run_vmtests_sh_hugetlb_dio_free_huge_pages_from_2048-12288 pass
mm_run_vmtests_sh_hugetlb_dio_free_huge_pages_from_2048-14336 pass
mm_run_vmtests_sh_hugetlb_dio pass
mm_run_vmtests_sh_hugetlb_fault_after_madv_SIGBUS_behavior pass
mm_run_vmtests_sh_hugetlb_fault_after_madv pass
mm_run_vmtests_sh_hugetlb_madv_vs_map pass
mm_run_vmtests_sh_map_fixed_noreplace_mmap_5_PAGE_SIZE_at_base pass
mm_run_vmtests_sh_map_fixed_noreplace_mmap_3_PAGE_SIZE_at_base_PAGE_SIZE pass
mm_run_vmtests_sh_map_fixed_noreplace_Second_mmap_5_PAGE_SIZE_at_base pass
mm_run_vmtests_sh_map_fixed_noreplace_mmap_2_PAGE_SIZE_at_base_PAGE_SIZE pass
mm_run_vmtests_sh_map_fixed_noreplace_mmap_2_PAGE_SIZE_at_base_3_PAGE_SIZE pass
mm_run_vmtests_sh_map_fixed_noreplace_mmap_2_PAGE_SIZE_bytes_at_base pass
mm_run_vmtests_sh_map_fixed_noreplace_mmap_PAGE_SIZE_at_base pass
mm_run_vmtests_sh_map_fixed_noreplace_mmap_PAGE_SIZE_at_base_4_PAGE_SIZE pass
mm_run_vmtests_sh_map_fixed_noreplace_Base_Address_unmap_successful pass
mm_run_vmtests_sh_map_fixed_noreplace pass
mm_run_vmtests_sh_gup_test_u_ioctl_status_0 pass
mm_run_vmtests_sh_gup_test_u pass
mm_run_vmtests_sh_gup_test_a_ioctl_status_0 pass
mm_run_vmtests_sh_gup_test_a pass
mm_run_vmtests_sh_gup_test_ct_F_0x1_0_19_0x1000_ioctl_status_0 pass
mm_run_vmtests_sh_gup_test_ct_F_0x1_0_19_0x1000 pass
mm_run_vmtests_sh_gup_longterm fail
mm_run_vmtests_sh_uffd-unit-tests pass
mm_run_vmtests_sh_uffd-stress_anon_20_16 pass
mm_run_vmtests_sh_uffd-stress_hugetlb_128_32 pass
mm_run_vmtests_sh_uffd-stress_hugetlb-private_128_32 pass
mm_run_vmtests_sh_uffd-stress_shmem_20_16 pass
mm_run_vmtests_sh_uffd-stress_shmem-private_20_16 pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_4096_private_false_swapout_false_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_4096_private_true_swapout_false_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_4096_private_false_swapout_true_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_MADV_PAGEOUT_did_not_work_is_swap_enabled skip
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_16384_private_false_swapout_false_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_32768_private_false_swapout_false_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_65536_private_false_swapout_false_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_131072_private_false_swapout_false_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_262144_private_false_swapout_false_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_524288_private_false_swapout_false_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_1048576_private_false_swapout_false_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_2097152_private_false_swapout_false_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_16384_private_true_swapout_false_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_32768_private_true_swapout_false_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_65536_private_true_swapout_false_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_131072_private_true_swapout_false_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_262144_private_true_swapout_false_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_524288_private_true_swapout_false_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_1048576_private_true_swapout_false_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_2097152_private_true_swapout_false_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_16384_private_false_swapout_true_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_32768_private_false_swapout_true_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_65536_private_false_swapout_true_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_131072_private_false_swapout_true_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_262144_private_false_swapout_true_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_524288_private_false_swapout_true_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_1048576_private_false_swapout_true_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_2097152_private_false_swapout_true_hugetlb_false pass
mm_run_vmtests_sh_uffd-wp-mremap_MADV_PAGEOUT_did_not_work_is_swap_enabled_dup2 skip
mm_run_vmtests_sh_uffd-wp-mremap_MADV_PAGEOUT_did_not_work_is_swap_enabled_dup3 skip
mm_run_vmtests_sh_uffd-wp-mremap_MADV_PAGEOUT_did_not_work_is_swap_enabled_dup4 skip
mm_run_vmtests_sh_uffd-wp-mremap_MADV_PAGEOUT_did_not_work_is_swap_enabled_dup5 skip
mm_run_vmtests_sh_uffd-wp-mremap_MADV_PAGEOUT_did_not_work_is_swap_enabled_dup6 skip
mm_run_vmtests_sh_uffd-wp-mremap_MADV_PAGEOUT_did_not_work_is_swap_enabled_dup7 skip
mm_run_vmtests_sh_uffd-wp-mremap_MADV_PAGEOUT_did_not_work_is_swap_enabled_dup8 skip
mm_run_vmtests_sh_uffd-wp-mremap_MADV_PAGEOUT_did_not_work_is_swap_enabled_dup9 skip
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_2097152_private_false_swapout_false_hugetlb_true pass
mm_run_vmtests_sh_uffd-wp-mremap_test_one_folio_size_2097152_private_true_swapout_false_hugetlb_true pass
mm_run_vmtests_sh_uffd-wp-mremap pass
mm_run_vmtests_sh_compaction_test_check_compaction pass
mm_run_vmtests_sh_compaction_test pass
mm_run_vmtests_sh_map_populate_MAP_POPULATE_COW_private_page pass
mm_run_vmtests_sh_map_populate_The_mapping_state pass
mm_run_vmtests_sh_map_populate pass
mm_run_vmtests_sh_mlock-random-test fail
mm_run_vmtests_sh_mlock2-tests_test_mlock_lock_Locked pass
mm_run_vmtests_sh_mlock2-tests_test_mlock_lock_Unlocked pass
mm_run_vmtests_sh_mlock2-tests_test_mlock_onfault_VMA_marked_for_lock_on_fault pass
mm_run_vmtests_sh_mlock2-tests_VMA_open_lock_after_fault pass
mm_run_vmtests_sh_mlock2-tests_test_munlockall0_Locked_memory_area pass
mm_run_vmtests_sh_mlock2-tests_test_munlockall0_No_locked_memory pass
mm_run_vmtests_sh_mlock2-tests_test_munlockall1_VMA_marked_for_lock_on_fault pass
mm_run_vmtests_sh_mlock2-tests_test_munlockall1_Unlocked pass
mm_run_vmtests_sh_mlock2-tests_test_munlockall1_Locked pass
mm_run_vmtests_sh_mlock2-tests_test_munlockall1_No_locked_memory pass
mm_run_vmtests_sh_mlock2-tests_VMA_with_present_pages_is_not_marked_lock_on_fault pass
mm_run_vmtests_sh_mlock2-tests_test_vma_management_call_mlock_1 pass
mm_run_vmtests_sh_mlock2-tests_test_vma_management_call_mlock_0 pass
mm_run_vmtests_sh_mlock2-tests pass
mm_run_vmtests_sh_mrelease_test_Success_reaping_a_child_with_1MB_of_memory_allocations pass
mm_run_vmtests_sh_mrelease_test pass
mm_run_vmtests_sh_mremap_test_unknown pass
mm_run_vmtests_sh_mremap_test_unknown_dup2 pass
mm_run_vmtests_sh_mremap_test_unknown_dup3 pass
mm_run_vmtests_sh_mremap_test_8KB_mremap__Source_PTE-aligned_Destination_PTE-aligned pass
mm_run_vmtests_sh_mremap_test_2MB_mremap__Source_1MB-aligned_Destination_PTE-aligned pass
mm_run_vmtests_sh_mremap_test_2MB_mremap__Source_1MB-aligned_Destination_1MB-aligned pass
mm_run_vmtests_sh_mremap_test_4MB_mremap__Source_PMD-aligned_Destination_PTE-aligned pass
mm_run_vmtests_sh_mremap_test_4MB_mremap__Source_PMD-aligned_Destination_1MB-aligned pass
mm_run_vmtests_sh_mremap_test_4MB_mremap__Source_PMD-aligned_Destination_PMD-aligned pass
mm_run_vmtests_sh_mremap_test_2GB_mremap__Source_PUD-aligned_Destination_PTE-aligned pass
mm_run_vmtests_sh_mremap_test_2GB_mremap__Source_PUD-aligned_Destination_1MB-aligned pass
mm_run_vmtests_sh_mremap_test_2GB_mremap__Source_PUD-aligned_Destination_PMD-aligned pass
mm_run_vmtests_sh_mremap_test_2GB_mremap__Source_PUD-aligned_Destination_PUD-aligned pass
mm_run_vmtests_sh_mremap_test_5MB_mremap__Source_1MB-aligned_Destination_1MB-aligned pass
mm_run_vmtests_sh_mremap_test_5MB_mremap__Source_1MB-aligned_Dest_1MB-aligned_with_40MB_Preamble pass
mm_run_vmtests_sh_mremap_test_mremap_expand_merge pass
mm_run_vmtests_sh_mremap_test_mremap_expand_merge_offset pass
mm_run_vmtests_sh_mremap_test_mremap_mremap_move_within_range pass
mm_run_vmtests_sh_mremap_test_mremap_move_1mb_from_start_at_1MB_256KB_aligned_src pass
mm_run_vmtests_sh_mremap_test pass
mm_run_vmtests_sh_thuge-gen fail
mm_run_vmtests_sh fail
Failure - mm_run_vmtests_sh_thuge-gen
<8>[  201.990877] <LAVA_SIGNAL_STARTTC mm_run_vmtests_sh_thuge-gen>
exit=1-----------------------------------------------
running ./charge_reserved_hugetlb.sh -cgroup-v2
-----------------------------------------------
CLEANUP DONE
CLEANUP DONE



Test normal case.
private=, populate=, method=0, reserve=
nr hugepages = 10
writing cgroup limit: 20971520
writing reseravation limit: 20971520

Starting:
hugetlb_usage=0
reserved_usage=0
expect_failure is 0
Putting task in cgroup 'hugetlb_cgroup_test'
Method is 0
Writing to this path: /mnt/huge/test
Writing this size: 10485760
Not populating.
Not writing to memory.
Using method=0
Shared mapping.
RESERVE mapping.
Allocating using HUGETLBFS.
After write:
hugetlb_usage=0
reserved_usage=10485760
0
10485760
Memory charged to hugtlb=0
Memory charged to reservation=10485760
PASS
CLEANUP DONE



Test normal case with write.
private=, populate=, method=0, reserve=
nr hugepages = 10
writing cgroup limit: 10485760
writing reseravation limit: 10485760

Starting:
hugetlb_usage=0
reserved_usage=0
expect_failure is 0
Putting task in cgroup 'hugetlb_cgroup_test'
Method is 0
Writing to this path: /mnt/huge/test
Writing this size: 10485760
Not populating.
Using method=0
Shared mapping.
RESERVE mapping.
Allocating using HUGETLBFS.
Writing to memory.
After write:
hugetlb_usage=10485760
reserved_usage=10485760
10485760
10485760
Memory charged to hugtlb=10485760
Memory charged to reservation=10485760
PASS
CLEANUP DONE
CLEANUP DONE



Test normal case.
private=, populate=, method=0, reserve=-n
nr hugepages = 10
writing cgroup limit: 20971520
writing reseravation limit: 20971520

Starting:
hugetlb_usage=0
reserved_usage=0
expect_failure is 0
Putting task in cgroup 'hugetlb_cgroup_test'
Method is 0
Writing to this path: /mnt/huge/test
Writing this size: 10485760
Not populating.
Not writing to memory.
Using method=0
Shared mapping.
NO_RESERVE mapping.
Allocating using HUGETLBFS.
After write:
hugetlb_usage=0
reserved_usage=0
0
0
Memory charged to hugtlb=0
Memory charged to reservation=0
PASS
CLEANUP DONE



Test normal case with write.
private=, populate=, method=0, reserve=-n
nr hugepages = 10
writing cgroup limit: 10485760
writing reseravation limit: 10485760

Starting:
hugetlb_usage=0
reserved_usage=0
expect_failure is 0
Putting task in cgroup 'hugetlb_cgroup_test'
Method is 0
Writing to this path: /mnt/huge/test
Writing this size: 10485760
Not populating.
Using method=0
Shared mapping.
NO_RESERVE mapping.
Allocating using HUGETLBFS.
Writing to memory.
After write:
hugetlb_usage=10485760
reserved_usage=10485760
10485760
10485760
Memory charged to hugtlb=10485760
Memory charged to reservation=10485760
PASS
CLEANUP DONE
CLEANUP DONE



Test normal case.
private=-r, populate=, method=0, reserve=
nr hugepages = 10
writing cgroup limit: 20971520
writing reseravation limit: 20971520

Starting:
hugetlb_usage=0
reserved_usage=0
expect_failure is 0
Putting task in cgroup 'hugetlb_cgroup_test'
Method is 0
waiting for DONE signal.
Writing to this path: /mnt/huge/test
Writing this size: 10485760
Not populating.
Not writing to memory.
Using method=0
Private mapping.
RESERVE mapping.
Allocating using HUGETLBFS.
DONE
================= write_hugetlb_memory.sh output is:
Putting task in cgroup 'hugetlb_cgroup_test'
Method is 0
Writing to this path: /mnt/huge/test
Writing this size: 10485760
Not populating.
Not writing to memory.
Using method=0
Private mapping.
RESERVE mapping.
Allocating using HUGETLBFS.
DONE
================= end output.
write_result is 0
After write:
hugetlb_usage=0
reserved_usage=10485760
killing write_to_hugetlbfs
Received 2.
0
10485760
Memory charged to hugtlb=0
Memory charged to reservation=10485760
PASS
CLEANUP DONE



Test normal case with write.
private=-r, populate=, method=0, reserve=
nr hugepages = 10
writing cgroup limit: 10485760
writing reseravation limit: 10485760

Starting:
hugetlb_usage=0
reserved_usage=0
expect_failure is 0
Putting task in cgroup 'hugetlb_cgroup_test'
waiting for DONE signal.
Method is 0
Writing to this path: /mnt/huge/test
Writing this size: 10485760
Not populating.
Using method=0
Private mapping.
RESERVE mapping.
Allocating using HUGETLBFS.
Writing to memory.
DONE
================= write_hugetlb_memory.sh output is:
Putting task in cgroup 'hugetlb_cgroup_test'
Method is 0
Writing to this path: /mnt/huge/test
Writing this size: 10485760
Not populating.
Using method=0
Private mapping.
RESERVE mapping.
Allocating using HUGETLBFS.
Writing to memory.
DONE
================= end output.
write_result is 0
After write:
hugetlb_usage=10485760
reserved_usage=10485760
killing write_to_hugetlbfs
Received 2.
10485760
10485760
Memory charged to hugtlb=10485760
Memory charged to reservation=10485760
PASS
CLEANUP DONE
CLEANUP DONE



Test normal case.
private=-r, populate=, method=0, reserve=-n
nr hugepages = 10
writing cgroup limit: 20971520
writing reseravation limit: 20971520

Starting:
hugetlb_usage=0
reserved_usage=0
expect_failure is 0
Putting task in cgroup 'hugetlb_cgroup_test'
waiting for DONE signal.
Method is 0
Writing to this path: /mnt/huge/test
Writing this size: 10485760
Not populating.
Not writing to memory.
Using method=0
Private mapping.
NO_RESERVE mapping.
Allocating using HUGETLBFS.
DONE
================= write_hugetlb_memory.sh output is:
Putting task in cgroup 'hugetlb_cgroup_test'
Method is 0
Writing to this path: /mnt/huge/test
Writing this size: 10485760
Not populating.
Not writing to memory.
Using method=0
Private mapping.
NO_RESERVE mapping.
Allocating using HUGETLBFS.
DONE
================= end output.
write_result is 0
After write:
hugetlb_usage=0
reserved_usage=0
killing write_to_hugetlbfs
Received 2.
<8>[  202.036322] <LAVA_SIGNAL_ENDTC mm_run_vmtests_sh_thuge-gen>
mm_run_vmtests_sh_thuge-gen fail
<8>[  199.213490] <LAVA_SIGNAL_STARTTC mm_run_vmtests_sh_gup_longterm>
exit=127-------------------------
running ./uffd-unit-tests
-------------------------
Testing UFFDIO_API (with syscall)... done
Testing UFFDIO_API (with /dev/userfaultfd)... done
Testing register-ioctls on anon... done
Testing register-ioctls on shmem... done
Testing register-ioctls on shmem-private... done
Testing register-ioctls on hugetlb... done
Testing register-ioctls on hugetlb-private... done
Testing zeropage on anon... done
Testing zeropage on shmem... done
Testing zeropage on shmem-private... done
Testing zeropage on hugetlb... done
Testing zeropage on hugetlb-private... done
Testing move on anon... done
Testing move-pmd on anon... done
Testing move-pmd-split on anon... done
Testing wp-fork on anon... done
Testing wp-fork on shmem... done
Testing wp-fork on shmem-private... done
Testing wp-fork on hugetlb... done
Testing wp-fork on hugetlb-private... done
Testing wp-fork-with-event on anon... done
Testing wp-fork-with-event on shmem... done
Testing wp-fork-with-event on shmem-private... done
Testing wp-fork-with-event on hugetlb... done
Testing wp-fork-with-event on hugetlb-private... done
Testing wp-fork-pin on anon... done
Testing wp-fork-pin on shmem... done
Testing wp-fork-pin on shmem-private... done
Testing wp-fork-pin on hugetlb... done
Testing wp-fork-pin on hugetlb-private... done
Testing wp-fork-pin-with-event on anon... done
Testing wp-fork-pin-with-event on shmem... done
Testing wp-fork-pin-with-event on shmem-private... done
Testing wp-fork-pin-with-event on hugetlb... done
Testing wp-fork-pin-with-event on hugetlb-private... done
Testing wp-unpopulated on anon... done
Testing minor on shmem... done
Testing minor on hugetlb... done
Testing minor-wp on shmem... done
Testing minor-wp on hugetlb... done
Testing minor-collapse on shmem... done
Testing sigbus on anon... done
Testing sigbus on shmem... done
Testing sigbus on shmem-private... done
Testing sigbus on hugetlb... done
Testing sigbus on hugetlb-private... done
Testing sigbus-wp on anon... done
Testing sigbus-wp on shmem... done
Testing sigbus-wp on shmem-private... done
Testing sigbus-wp on hugetlb... done
Testing sigbus-wp on hugetlb-private... done
Testing events on anon... done
Testing events on shmem... done
Testing events on shmem-private... done
Testing events on hugetlb... done
Testing events on hugetlb-private... done
Testing events-wp on anon... done
Testing events-wp on shmem... done
Testing events-wp on shmem-private... done
Testing events-wp on hugetlb... done
Testing events-wp on hugetlb-private... done
Testing poison on anon... done
Testing poison on shmem... done
Testing poison on shmem-private... done
Testing poison on hugetlb... done
Testing poison on hugetlb-private... done
Testing mmap-changing on shmem... done
Userfaults unit tests: pass=67, skip=0, fail=0 (total=67)
[PASS]
<8>[  199.244211] <LAVA_SIGNAL_ENDTC mm_run_vmtests_sh_gup_longterm>
mm_run_vmtests_sh_gup_longterm fail