autopkgtest: boot-and-services test fails in armhf containers

Bug #1842352 reported by Balint Reczey
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-eoan/eoan/armhf/s/systemd/20190902_092319_bc0af@/log.gz

...
test_udev (__main__.ServicesTest) ... skipped 'udev does not work in containers'

======================================================================
ERROR: test_profile (__main__.AppArmorTest)
AppArmor confined unit
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autopkgtest.3bj70k/build.TYC/src/debian/tests/boot-and-services", line 286, in test_profile
    subprocess.check_call(['apparmor_parser', '-r', '-v', aa_profile.name])
  File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['apparmor_parser', '-r', '-v', '/tmp/aa_violator.hg3olay4']' returned non-zero exit status 243.

----------------------------------------------------------------------
Ran 23 tests in 5.848s

FAILED (errors=1, skipped=5)

...

Balint Reczey (rbalint)
Changed in systemd (Ubuntu):
importance: Undecided → Low
Revision history for this message
Dan Streetman (ddstreet) wrote :
Revision history for this message
Balint Reczey (rbalint) wrote :
Revision history for this message
Dan Streetman (ddstreet) wrote :

> masking Apparmor test only on arm

er, the is_container check is enough (although just ignores the problem), you don't need to also check for arm.

Revision history for this message
Balint Reczey (rbalint) wrote :

@ddstreet True, but it ran fine when running the test locally with standard lxd virt on amd64, so I did not want to skip it on all containers.
I'll be happy to merge it away when the Salsa PR lands in Debian and gets merged to Ubuntu.

Revision history for this message
Balint Reczey (rbalint) wrote :

This is fixed in Eoan's 242-6ubuntu1.

Changed in systemd (Ubuntu):
status: New → Fix Released
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.