[ADT test failure] linux-lts-utopic: ubuntu_qrt_apparmor.test-apparmor.py -- FAIL: test_aa_unconfined (__main__.ApparmorTest)

Bug #1528228 reported by Andy Whitcroft
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QA Regression Testing
Invalid
Undecided
Unassigned
apparmor (Ubuntu)
Invalid
Undecided
Unassigned
linux-lts-utopic (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

New ADT test failure in linux-lts-utopic in Trusty:

  FAIL: test_aa_unconfined (__main__.ApparmorTest)
  Test aa-unconfined
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "./test-apparmor.py", line 815, in test_aa_unconfined
      self.assertTrue(re.search('[1-9][0-9]* /bin/nc(.openbsd|.traditional)( \(/bin/nc\))? not confined', report), result + report)
  AssertionError: Could not find /bin/nc* in report
  609 /sbin/dhclient confined by '/sbin/dhclient (enforce)'
  894 /usr/sbin/sshd not confined
  5326 /usr/sbin/exim4 not confined

Full log:
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-trusty/trusty/amd64/l/linux-lts-utopic/20151218_194502@/log.gz

Andy Whitcroft (apw)
Changed in linux-lts-utopic (Ubuntu):
status: New → Confirmed
description: updated
Revision history for this message
Seth Arnold (seth-arnold) wrote :

There's no logging if nc fails to exec and there may not be logging if nc can't bind the port, and thus isn't running when needed. This may be just be a random error.

Thanks

Revision history for this message
Seth Arnold (seth-arnold) wrote :

(The test in question is in QRT, scripts/test-apparmor.py ; I added apparmor dep just to make sure this doesn't get lost.)

Revision history for this message
Seth Arnold (seth-arnold) wrote :

Christian, the QRT tests for AppArmor are in http://bazaar.launchpad.net/~ubuntu-bugcontrol/qa-regression-testing/master/view/head:/scripts/test-apparmor.py --- it would make sense to have something similar for openqa, though I don't know how easily that script could be modified or not. It feels like it ought to be possible to extract it and its requirements for openqa use without too much stress.

Thanks

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Utopic EOL, closing this.

Changed in qa-regression-testing:
status: New → Invalid
Changed in apparmor (Ubuntu):
status: New → Invalid
Changed in linux-lts-utopic (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.