Traceback (most recent call last):
File "./examples/run_utah_tests.py", line 113, in <module>
run_utah_tests()
File "./examples/run_utah_tests.py", line 99, in run_utah_tests
function(args=args)
File "/home/javi/code/bzr/utah/no-rewrite/examples/run_install_test.py", line 91, in run_install_test
exitstatus, locallogs = run_tests(args, machine)
File "/home/javi/code/bzr/utah/no-rewrite/utah/run.py", line 32, in run_tests
machine.installclient()
File "/home/javi/code/bzr/utah/no-rewrite/utah/provisioning/provisioning.py", line 279, in installclient
self.uploadfiles([clientdeb], tmppath)
File "/home/javi/code/bzr/utah/no-rewrite/utah/provisioning/provisioning.py", line 532, in uploadfiles
self.activecheck()
File "/home/javi/code/bzr/utah/no-rewrite/utah/provisioning/vm/libvirtvm.py", line 93, in activecheck
self.provisioncheck()
File "/home/javi/code/bzr/utah/no-rewrite/utah/provisioning/provisioning.py", line 234, in provisioncheck
utah.timeout.timeout(config.installtimeout, self._provision)
File "/home/javi/code/bzr/utah/no-rewrite/utah/timeout.py", line 47, in timeout
retval = command(*args, **kw)
File "/home/javi/code/bzr/utah/no-rewrite/utah/provisioning/vm/libvirtvm.py", line 66, in _provision
self._create()
File "/home/javi/code/bzr/utah/no-rewrite/utah/provisioning/vm/libvirtvm.py", line 674, in _create
self._installvm(lv=self.lv, tmpdir=tmpdir, xml=xml)
File "/home/javi/code/bzr/utah/no-rewrite/utah/provisioning/vm/libvirtvm.py", line 597, in _installvm
vm.create()
File "/usr/lib/python2.7/dist-packages/libvirt.py", line 551, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirt.libvirtError: internal error cannot load AppArmor profile 'libvirt-00000000-0000-0000-0000-000000000000'
I tried to test the changes running the following command:
$ PYTHONPATH=. ./examples/ run_utah_ tests.py -i <image> -p <preseed> <runlist> -d -n --rewrite casperonly
and I got this error:
Traceback (most recent call last): run_utah_ tests.py" , line 113, in <module> utah_tests( ) run_utah_ tests.py" , line 99, in run_utah_tests args=args) javi/code/ bzr/utah/ no-rewrite/ examples/ run_install_ test.py" , line 91, in run_install_test javi/code/ bzr/utah/ no-rewrite/ utah/run. py", line 32, in run_tests installclient( ) javi/code/ bzr/utah/ no-rewrite/ utah/provisioni ng/provisioning .py", line 279, in installclient uploadfiles( [clientdeb] , tmppath) javi/code/ bzr/utah/ no-rewrite/ utah/provisioni ng/provisioning .py", line 532, in uploadfiles activecheck( ) javi/code/ bzr/utah/ no-rewrite/ utah/provisioni ng/vm/libvirtvm .py", line 93, in activecheck provisioncheck( ) javi/code/ bzr/utah/ no-rewrite/ utah/provisioni ng/provisioning .py", line 234, in provisioncheck timeout. timeout( config. installtimeout, self._provision) javi/code/ bzr/utah/ no-rewrite/ utah/timeout. py", line 47, in timeout javi/code/ bzr/utah/ no-rewrite/ utah/provisioni ng/vm/libvirtvm .py", line 66, in _provision javi/code/ bzr/utah/ no-rewrite/ utah/provisioni ng/vm/libvirtvm .py", line 674, in _create _installvm( lv=self. lv, tmpdir=tmpdir, xml=xml) javi/code/ bzr/utah/ no-rewrite/ utah/provisioni ng/vm/libvirtvm .py", line 597, in _installvm python2. 7/dist- packages/ libvirt. py", line 551, in create libvirtError: internal error cannot load AppArmor profile 'libvirt- 00000000- 0000-0000- 0000-0000000000 00'
File "./examples/
run_
File "./examples/
function(
File "/home/
exitstatus, locallogs = run_tests(args, machine)
File "/home/
machine.
File "/home/
self.
File "/home/
self.
File "/home/
self.
File "/home/
utah.
File "/home/
retval = command(*args, **kw)
File "/home/
self._create()
File "/home/
self.
File "/home/
vm.create()
File "/usr/lib/
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirt.