https://lore.kernel.org/linux-kselftest/20250102064807.404607-1-po- hsu....@canonical.com/T/#t
-- You received this bug notification because you are a member of Canonical Platform QA Team, which is subscribed to ubuntu-kernel-tests. https://bugs.launchpad.net/bugs/2092749 Title: run_hugetlbfs_test.sh in memfd of ubuntu_kernel_selftests cause core dump on f/ein Status in ubuntu-kernel-tests: New Bug description: Issue found on f/ein 5.4.0-1062, I assume it's the cause of sut-test failure like what we see in bug 2075275 Test log: Running 'make run_tests -C memfd TEST_PROGS=run_hugetlbfs_test.sh TEST_GEN_PROGS='' TEST_CUSTOM_PROGS=''' make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd' TAP version 13 1..1 # selftests: memfd: run_hugetlbfs_test.sh # ./run_hugetlbfs_test.sh: line 47: [: -lt: unary operator expected # ./run_hugetlbfs_test.sh: line 60: 12577 Aborted (core dumped) ./memfd_test hugetlbfs # Aborted (core dumped) ok 1 selftests: memfd: run_hugetlbfs_test.sh make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd' From the test script on Focal: https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/focal/tree/tools/testing/selftests/memfd/run_hugetlbfs_test.sh There is no "HugePages_Free:" in /proc/meminfo, therefore freepgs is empty. This is the cause of "# ./run_hugetlbfs_test.sh: line 47: [: -lt: unary operator expected" failure. And test should bail out here. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2092749/+subscriptions -- Mailing list: https://launchpad.net/~canonical-ubuntu-qa Post to : canonical-ubuntu-qa@lists.launchpad.net Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa More help : https://help.launchpad.net/ListHelp