← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2075574] Re: ubuntu_qrt_apparmor failed to start with python2 on older releases (SyntaxError: invalid syntax)

 

** Changed in: ubuntu-kernel-tests
       Status: New => Fix Released

-- 
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 Released
Status in ubuntu-kernel-tests:
  Fix Released

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



References