Comment 0 for bug 1786894

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

 ======================================================================
 FAIL: test_265_config_retpoline (__main__.KernelSecurityConfigTest)
 Ensure retpoline configuration option is set
 ----------------------------------------------------------------------
 Traceback (most recent call last):
 File "./test-kernel-security.py", line 2445, in test_265_config_retpoline
 self.assertKernelConfig('RETPOLINE', expected)
 File "./test-kernel-security.py", line 209, in assertKernelConfig
 self.assertKernelConfigUnset(name)
 File "./test-kernel-security.py", line 200, in assertKernelConfigUnset
 '%s option was expected to be unset in the kernel config' % name)
 AssertionError: RETPOLINE option was expected to be unset in the kernel config

In this test case, this config was expected to be NOT set:
    elif self.lsb_release['Release'] == 12.04:
        self._skipped("RETPOLINE compiler not in precise")
        expected = False
    self.assertKernelConfig('RETPOLINE', expected)

But in the kernel it's:
CONFIG_RETPOLINE=y