Hello, I believe you should be using python3 to run the tests, but this brought my attention to what was actually a bug that I fixed in https://code.launchpad.net/~georgiag/qa-regression-testing/+git/qa-regression-testing/+merge/470572 Conveniently, the fix also makes it work with python2 :)
** Changed in: qa-regression-testing Assignee: (unassigned) => Georgia Garcia (georgiag) ** Changed in: qa-regression-testing Status: New => Fix Committed -- You received this bug notification because you are a member of Canonical Platform QA Team, which is subscribed to ubuntu-kernel-tests. https://bugs.launchpad.net/bugs/2075574 Title: ubuntu_qrt_apparmor failed to start with python2 on older releases (SyntaxError: invalid syntax) Status in QA Regression Testing: Fix Committed Status in ubuntu-kernel-tests: New Bug description: When trying to run ubuntu_qrt_apparmor with python2 on Focal and earlier releases, it will fail with: Running 'python2 ./test-apparmor.py -v ApparmorTest.test_snapd_snap_with_vendored_apparmor' File "./test-apparmor.py", line 2305 key, *value = var.split('=', 1) ^ SyntaxError: invalid syntax This was introduced in 25617c3079 ("test-apparmor: fix DEB_HOST_ARCH not defined") We don't have this issue on Jammy and newer as we use python3 to run this test. To manage notifications about this bug go to: https://bugs.launchpad.net/qa-regression-testing/+bug/2075574/+subscriptions -- Mailing list: https://launchpad.net/~canonical-ubuntu-qa Post to : canonical-ubuntu-qa@lists.launchpad.net Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa More help : https://help.launchpad.net/ListHelp