lxc-test-checkpoint-restore can't run because no criu installed

Bug #1514950 reported by Jeff Lane 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

on a default 15.10 installation, I have installed lxc-tests and am running through them individually.

lxc-test-checkpoint-restore fails to run because the package criu is not installed

ubuntu@xwing:~$ sudo lxc-test-checkpoint-restore
/usr/bin/lxc-test-checkpoint-restore: 22: /usr/bin/lxc-test-checkpoint-restore: criu: not found
SKIP: skipping test because no (or wrong) criu installed.

installing lxc-tests should also install any test dependencies like criu.

Revision history for this message
Stéphane Graber (stgraber) wrote :

The behavior of the test is perfectly correct.

This test depends on a CRIU version which can't be found in the Ubuntu archive and criu itself isn't available on most architectures.

As mentioned in the other bug report, lxc-tests is meant to be used by autopkgtest through our autopkgtest test script, not directly by manual users.

Also note that the lxc-test-* binaries DO NOT clean after themselves on failure which will cause subsequent failures.

Those binaries are there to be run by people who contribute to LXC and so know precisely what they do when tracking down regressions and for use by autopkgtest, not by normal users.

Changed in lxc (Ubuntu):
status: New → Invalid
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.