Comment 7 for bug 1931393

Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: test_030_mmap_min in ubuntu_qrt_kernel_security failed on 5.11 ARM64k

Hello Steve,
sorry for the late reply, I think it can be reproduced on a arm64 bare-metal system. This test is now failing with a different error message.

On A 5.11.0-39.43 generic-64k ARM64 bare-metal node "dazzle":
    ======================================================================
    FAIL: test_030_mmap_min (__main__.KernelSecurityTest)
    Low memory allocation respects mmap_min_addr
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "./test-kernel-security.py", line 285, in test_030_mmap_min
        mmap_limit = self._test_sysctl_value('vm/mmap_min_addr', wanted, "is wine or qemu-kvm-extras-static installed?")
      File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/testlib.py", line 1269, in _test_sysctl_value
        self.assertEqual(value, expected, report)
    AssertionError: /proc/sys/vm/mmap_min_addr is not 65536: 32768 (is wine or qemu-kvm-extras-static installed?)

Test suite HEAD SHA1: 07a33cbe

This can be spotted with 5.11.0-39.43 generic-64k on a1.medium / a1.metal / c6g.8xlarge
and 5.13.0-21.21 generic-64k as well.