It looks like this part in qrt is the cause:

    def is_stackprotector_available(self):
        ....
            if self.dpkg_arch in ['arm64'] and \
               not self.lsb_release['Release'] > 14.04:
                self._skipped("gcc-4.8 and older did not support 
stack-protector on arm64")
                result = False
        ....

So in this case, it will return False, making the following if statement
become valid:

    def test_180_config_stack_protector(self):
        ....
        expected = 'y'
        if not self.is_stackprotector_available():
            expected = None

In the end it's expecting the stack_protector to be unset for ARM64.

This issue can be split into two parts:1
1. Maybe we should include amd64 and i386 in is_stackprotector_available
2. If we're doing 1., then these config must be disabled on T-HWE

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1789353

Title:
  stack protector related configs test failed in qrt for ARM64  T-HWE

To manage notifications about this bug go to:
https://bugs.launchpad.net/qa-regression-testing/+bug/1789353/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to