blacklist for cloud edge kernel is not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
High
|
Po-Hsu Lin |
Bug Description
The tests blacklisted for cloud edge kernels are still getting executed, the reason is because we're using the following logic for checking blacklist files:
if s.blacklisted(test, s.request[
Take aws for example it will use these to check for a blacklist.aws file in the test dir:
def blacklisted(s, test, value):
retval = False
bl = os.path.
if os.path.exists(bl):
retval = True
The flavour here for edge kernels passed from the test request has become:
"flavour": "aws-edge",
But the blacklist file for this is blacklist.aws. That's why it's not working.
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Although the azure-edge kernel might have the same issue, but we don't have any test that's blacklisted with Azure.
So the only affected one is the AWS-edge kernel.