ubuntu_qrt_apparmor:test-apparmor.py:test-aa-cli-bootstrap.py: Missing include

Bug #1946095 reported by Stefan Bader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

The test failed on s390x hosts (kernel06 and s2lp4) because of at least one missing include file. From the path it seems to be one of the files generated by libvirt for individual guest.

  make[1]: Entering directory '/tmp/testlib6qibnka9/source/hirsute/apparmor-3.0.0/utils/test'

  === test-aa-cli-bootstrap.py ===
  ....E
  ======================================================================
  ERROR: test_loadincludes (__main__.AACliBootstrapTest)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/tmp/testlib6qibnka9/source/hirsute/apparmor-3.0.0/utils/test/test-aa-cli-bootstrap.py", line 50, in test_loadincludes
      self.assertEqual(aa.loadincludes(), None)
    File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 2479, in loadincludes
      load_include(fi)
    File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 2443, in load_include
      incdata = parse_profile_data(data, incfile, True)
    File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 1944, in parse_profile_data
      load_include(incname)
    File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 2449, in load_include
      raise AppArmorException("Include file %s not found" % (incfile))
  apparmor.common.AppArmorException: 'Include file /etc/apparmor.d/libvirt/libvirt-f5f0a5db-19c0-4561-9e07-5cf01a85b1d9.files not found'

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.