Comment 3 for bug 1789353

Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: stack protector related configs test failed in qrt for ARM64 T-HWE

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