adt-run [05:11:02]: git checkout: 212a4b0 setup-commands/setup-testbed: Ensure that removing cruft does not remove cloud-init adt-run [05:11:02]: host juju-prod-ues-proposed-migration-machine-3; command line: /home/ubuntu/autopkgtest/runner/adt-run --output-dir /tmp/adt-work.VIo7ir/out --timeout-copy=6000 --setup-commands 'if grep -q trusty /etc/lsb-release; then apt-get install -y build-essential; fi' --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:lxd --apt-upgrade lxd '--env=ADT_TEST_TRIGGERS=lxd/2.0.0~beta4-0ubuntu1' --- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --name adt-xenial-amd64-lxd-20160224-051102 --image 'ubuntu/ubuntu-xenial-.*-amd64-server' --keyname testbed-juju-prod-ues-proposed-migration-machine-3 --net-id=net_ues_proposed_migration -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,novalocal,internal,archive.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,ppa.launchpad.net'"'"'' --mirror=http://ftpmaster.internal/ubuntu Creating nova instance adt-xenial-amd64-lxd-20160224-051102 from image ubuntu/ubuntu-xenial-adt-amd64-server-20160224.img (UUID 18c30873-e2a8-4f44-80de-5e44b3cb3049)... adt-run [05:11:44]: @@@@@@@@@@@@@@@@@@@@ test bed setup Get:1 http://ftpmaster.internal/ubuntu xenial-proposed InRelease [95.8 kB] Get:2 http://ftpmaster.internal/ubuntu xenial-proposed/main Sources [19.7 kB] Get:3 http://ftpmaster.internal/ubuntu xenial-proposed/restricted Sources [28 B] Get:4 http://ftpmaster.internal/ubuntu xenial-proposed/universe Sources [166 kB] Get:5 http://ftpmaster.internal/ubuntu xenial-proposed/multiverse Sources [5,851 B] Get:6 http://ftpmaster.internal/ubuntu xenial-proposed/main amd64 Packages [23.4 kB] Get:7 http://ftpmaster.internal/ubuntu xenial-proposed/restricted amd64 Packages [28 B] Get:8 http://ftpmaster.internal/ubuntu xenial-proposed/universe amd64 Packages [124 kB] Get:9 http://ftpmaster.internal/ubuntu xenial-proposed/multiverse amd64 Packages [7,765 B] Fetched 443 kB in 2s (194 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... dbus is already the newest version (1.10.6-1ubuntu2). eatmydata is already the newest version (105-1). haveged is already the newest version (1.9.1-3). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Building dependency tree... Reading state information... The following packages will be REMOVED: cloud-init* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 1,127 kB disk space will be freed. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 85693 files and directories currently installed.) Removing cloud-init (0.7.7~bzr1160-0ubuntu1) ... Removing 'diversion of /etc/init/ureadahead.conf to /etc/init/ureadahead.conf.disabled by cloud-init' Purging configuration files for cloud-init (0.7.7~bzr1160-0ubuntu1) ... dpkg: warning: while removing cloud-init, directory '/var/lib/cloud' not empty so not removed dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed Reading package lists... Building dependency tree... Reading state information... linux-generic is already the newest version (4.4.0.7.8). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Hit:1 http://ftpmaster.internal/ubuntu xenial InRelease Hit:2 http://ftpmaster.internal/ubuntu xenial-updates InRelease Hit:3 http://ftpmaster.internal/ubuntu xenial-proposed InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. adt-run [05:11:54]: rebooting testbed after setup commands that affected boot Connection to 10.43.44.37 closed by remote host. adt-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... adt-run [05:12:20]: testbed running kernel: Linux 4.4.0-7-generic #22-Ubuntu SMP Thu Feb 18 20:50:38 UTC 2016 adt-run [05:12:20]: testbed dpkg architecture: amd64 adt-run [05:12:22]: @@@@@@@@@@@@@@@@@@@@ apt-source lxd Reading package lists... Building dependency tree... Reading state information... Correcting dependencies...Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done Done Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done The following additional packages will be installed: binutils dpkg-dev libdpkg-perl libperl5.22 make perl perl-modules-5.22 Suggested packages: binutils-doc debian-keyring gcc | c-compiler make-doc perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl Recommended packages: gcc | c-compiler build-essential fakeroot libalgorithm-merge-perl libfile-fcntllock-perl rename The following NEW packages will be installed: binutils dpkg-dev libdpkg-perl libperl5.22 make perl perl-modules-5.22 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 9,483 kB of archives. After this operation, 56.8 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu xenial/main amd64 perl-modules-5.22 all 5.22.1-7 [2,641 kB] Get:2 http://ftpmaster.internal/ubuntu xenial/main amd64 libperl5.22 amd64 5.22.1-7 [3,368 kB] Get:3 http://ftpmaster.internal/ubuntu xenial/main amd64 perl amd64 5.22.1-7 [237 kB] Get:4 http://ftpmaster.internal/ubuntu xenial/main amd64 libdpkg-perl all 1.18.4ubuntu1 [195 kB] Get:5 http://ftpmaster.internal/ubuntu xenial/main amd64 make amd64 4.1-6 [151 kB] Get:6 http://ftpmaster.internal/ubuntu xenial/main amd64 binutils amd64 2.26-4ubuntu1 [2,306 kB] Get:7 http://ftpmaster.internal/ubuntu xenial/main amd64 dpkg-dev all 1.18.4ubuntu1 [584 kB] Fetched 9,483 kB in 4s (1,977 kB/s) Selecting previously unselected package perl-modules-5.22. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 85460 files and directories currently installed.) Preparing to unpack .../perl-modules-5.22_5.22.1-7_all.deb ... Unpacking perl-modules-5.22 (5.22.1-7) ... Selecting previously unselected package libperl5.22:amd64. Preparing to unpack .../libperl5.22_5.22.1-7_amd64.deb ... Unpacking libperl5.22:amd64 (5.22.1-7) ... Selecting previously unselected package perl. Preparing to unpack .../perl_5.22.1-7_amd64.deb ... Unpacking perl (5.22.1-7) ... Selecting previously unselected package libdpkg-perl. Preparing to unpack .../libdpkg-perl_1.18.4ubuntu1_all.deb ... Unpacking libdpkg-perl (1.18.4ubuntu1) ... Selecting previously unselected package make. Preparing to unpack .../archives/make_4.1-6_amd64.deb ... Unpacking make (4.1-6) ... Selecting previously unselected package binutils. Preparing to unpack .../binutils_2.26-4ubuntu1_amd64.deb ... Unpacking binutils (2.26-4ubuntu1) ... Selecting previously unselected package dpkg-dev. Preparing to unpack .../dpkg-dev_1.18.4ubuntu1_all.deb ... Unpacking dpkg-dev (1.18.4ubuntu1) ... Processing triggers for man-db (2.7.5-1) ... Setting up perl-modules-5.22 (5.22.1-7) ... Setting up libperl5.22:amd64 (5.22.1-7) ... Setting up perl (5.22.1-7) ... update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode Setting up libdpkg-perl (1.18.4ubuntu1) ... Setting up make (4.1-6) ... Setting up binutils (2.26-4ubuntu1) ... Setting up dpkg-dev (1.18.4ubuntu1) ... Setting up adt-satdep (0) ... Processing triggers for libc-bin (2.21-0ubuntu6) ... (Reading database ... 87781 files and directories currently installed.) Removing adt-satdep (0) ... gpgv: Signature made Wed 24 Feb 2016 01:02:00 AM UTC using RSA key ID 64792D67 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./lxd_2.0.0~beta4-0ubuntu1.dsc Get:1 http://ftpmaster.internal/ubuntu xenial-proposed/main lxd 2.0.0~beta4-0ubuntu1 (dsc) [2,523 B] Get:2 http://ftpmaster.internal/ubuntu xenial-proposed/main lxd 2.0.0~beta4-0ubuntu1 (tar) [3,986 kB] Get:3 http://ftpmaster.internal/ubuntu xenial-proposed/main lxd 2.0.0~beta4-0ubuntu1 (diff) [72.4 kB] adt-run [05:12:41]: testing package lxd version 2.0.0~beta4-0ubuntu1 adt-run [05:12:41]: build not needed adt-run [05:12:46]: test exercise: preparing testbed Reading package lists... Building dependency tree... Reading state information... Correcting dependencies...Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done Done Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done The following additional packages will be installed: cgmanager gettext git golang-github-lxc-lxd-dev golang-go golang-src jq libcroco3 liberror-perl libgomp1 liblxc1 libonig2 libunistring0 lxc lxc-common lxc-dev lxc1 lxc2 lxcfs lxd lxd-client lxd-tools pep8 pkg-config pyflakes python python-minimal python-pkg-resources python-pyflakes python2.7 python2.7-minimal python3-lxc python3-pep8 python3-pyflakes shellcheck sqlite3 Suggested packages: gettext-doc autopoint git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn bzr golang-golang-x-tools mercurial subversion btrfs-tools lvm2 lxctl criu python-doc python-tk python-setuptools python2.7-doc binfmt-support sqlite3-doc Recommended packages: libasprintf-dev libgettextpo-dev g++ gcc libc6-dev golang-race-detector-runtime libpam-cgfs lxc-templates The following NEW packages will be installed: cgmanager gettext git golang-github-lxc-lxd-dev golang-go golang-src jq libcroco3 liberror-perl libgomp1 liblxc1 libonig2 libunistring0 lxc lxc-common lxc-dev lxc1 lxc2 lxcfs lxd lxd-client lxd-tools pep8 pkg-config pyflakes python python-minimal python-pkg-resources python-pyflakes python2.7 python2.7-minimal python3-lxc python3-pep8 python3-pyflakes shellcheck sqlite3 0 upgraded, 36 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 49.0 MB of archives. After this operation, 316 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu xenial/main amd64 golang-src amd64 2:1.6-0ubuntu3 [6,421 kB] Get:2 http://ftpmaster.internal/ubuntu xenial/main amd64 golang-go amd64 2:1.6-0ubuntu3 [26.3 MB] Get:3 http://ftpmaster.internal/ubuntu xenial/universe amd64 libonig2 amd64 5.9.6-1 [88.1 kB] Get:4 http://ftpmaster.internal/ubuntu xenial/universe amd64 jq amd64 1.5+dfsg-1 [144 kB] Get:5 http://ftpmaster.internal/ubuntu xenial/main amd64 liberror-perl all 0.17-1.2 [19.6 kB] Get:6 http://ftpmaster.internal/ubuntu xenial/main amd64 git amd64 1:2.7.0-1 [2,693 kB] Get:7 http://ftpmaster.internal/ubuntu xenial/main amd64 libcroco3 amd64 0.6.11-1 [81.6 kB] Get:8 http://ftpmaster.internal/ubuntu xenial/main amd64 libgomp1 amd64 5.3.1-9ubuntu3 [55.0 kB] Get:9 http://ftpmaster.internal/ubuntu xenial/main amd64 libunistring0 amd64 0.9.3-5.2ubuntu1 [279 kB] Get:10 http://ftpmaster.internal/ubuntu xenial/main amd64 gettext amd64 0.19.7-2ubuntu3 [1,076 kB] Get:11 http://ftpmaster.internal/ubuntu xenial/main amd64 python3-pep8 all 1.6.2-0.1ubuntu2 [30.4 kB] Get:12 http://ftpmaster.internal/ubuntu xenial/main amd64 pep8 all 1.6.2-0.1ubuntu2 [4,506 B] Get:13 http://ftpmaster.internal/ubuntu xenial/main amd64 python2.7-minimal amd64 2.7.11-3 [1,261 kB] Get:14 http://ftpmaster.internal/ubuntu xenial/main amd64 python-minimal amd64 2.7.11-1 [28.2 kB] Get:15 http://ftpmaster.internal/ubuntu xenial/main amd64 python2.7 amd64 2.7.11-3 [217 kB] Get:16 http://ftpmaster.internal/ubuntu xenial/main amd64 python amd64 2.7.11-1 [137 kB] Get:17 http://ftpmaster.internal/ubuntu xenial/main amd64 python-pkg-resources all 18.8-1 [70.9 kB] Get:18 http://ftpmaster.internal/ubuntu xenial/main amd64 python-pyflakes all 1.0.0-4 [32.1 kB] Get:19 http://ftpmaster.internal/ubuntu xenial/main amd64 python3-pyflakes all 1.0.0-4 [32.1 kB] Get:20 http://ftpmaster.internal/ubuntu xenial/main amd64 pyflakes all 1.0.0-4 [3,884 B] Get:21 http://ftpmaster.internal/ubuntu xenial/universe amd64 shellcheck amd64 0.3.7-5 [1,603 kB] Get:22 http://ftpmaster.internal/ubuntu xenial/main amd64 sqlite3 amd64 3.11.0-1ubuntu1 [515 kB] Get:23 http://ftpmaster.internal/ubuntu xenial-proposed/main amd64 lxd-client amd64 2.0.0~beta4-0ubuntu1 [1,802 kB] Get:24 http://ftpmaster.internal/ubuntu xenial/main amd64 cgmanager amd64 0.39-2ubuntu5 [76.4 kB] Get:25 http://ftpmaster.internal/ubuntu xenial/main amd64 lxc-common amd64 2.0.0~rc2-0ubuntu2 [27.6 kB] Get:26 http://ftpmaster.internal/ubuntu xenial/main amd64 liblxc1 amd64 2.0.0~rc2-0ubuntu2 [196 kB] Get:27 http://ftpmaster.internal/ubuntu xenial/main amd64 python3-lxc amd64 2.0.0~rc2-0ubuntu2 [20.1 kB] Get:28 http://ftpmaster.internal/ubuntu xenial/main amd64 lxc1 amd64 2.0.0~rc2-0ubuntu2 [579 kB] Get:29 http://ftpmaster.internal/ubuntu xenial/main amd64 lxc all 2.0.0~rc2-0ubuntu2 [3,082 B] Get:30 http://ftpmaster.internal/ubuntu xenial/main amd64 lxcfs amd64 2.0.0~beta2-0ubuntu1 [33.3 kB] Get:31 http://ftpmaster.internal/ubuntu xenial-proposed/main amd64 lxd amd64 2.0.0~beta4-0ubuntu1 [3,603 kB] Get:32 http://ftpmaster.internal/ubuntu xenial-proposed/main amd64 lxc2 all 2.0.0~beta4-0ubuntu1 [4,130 B] Get:33 http://ftpmaster.internal/ubuntu xenial-proposed/main amd64 lxd-tools amd64 2.0.0~beta4-0ubuntu1 [1,353 kB] Get:34 http://ftpmaster.internal/ubuntu xenial/main amd64 lxc-dev amd64 2.0.0~rc2-0ubuntu2 [11.0 kB] Get:35 http://ftpmaster.internal/ubuntu xenial/main amd64 pkg-config amd64 0.29-2ubuntu2 [44.0 kB] Get:36 http://ftpmaster.internal/ubuntu xenial-proposed/main amd64 golang-github-lxc-lxd-dev all 2.0.0~beta4-0ubuntu1 [160 kB] Extracting templates from packages: 83% Extracting templates from packages: 100% Preconfiguring packages ... Fetched 49.0 MB in 28s (1,739 kB/s) Selecting previously unselected package golang-src. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 87781 files and directories currently installed.) Preparing to unpack .../golang-src_2%3a1.6-0ubuntu3_amd64.deb ... Unpacking golang-src (2:1.6-0ubuntu3) ... Selecting previously unselected package golang-go. Preparing to unpack .../golang-go_2%3a1.6-0ubuntu3_amd64.deb ... Unpacking golang-go (2:1.6-0ubuntu3) ... Selecting previously unselected package libonig2:amd64. Preparing to unpack .../libonig2_5.9.6-1_amd64.deb ... Unpacking libonig2:amd64 (5.9.6-1) ... Selecting previously unselected package jq. Preparing to unpack .../jq_1.5+dfsg-1_amd64.deb ... Unpacking jq (1.5+dfsg-1) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../liberror-perl_0.17-1.2_all.deb ... Unpacking liberror-perl (0.17-1.2) ... Selecting previously unselected package git. Preparing to unpack .../git_1%3a2.7.0-1_amd64.deb ... Unpacking git (1:2.7.0-1) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../libcroco3_0.6.11-1_amd64.deb ... Unpacking libcroco3:amd64 (0.6.11-1) ... Selecting previously unselected package libgomp1:amd64. Preparing to unpack .../libgomp1_5.3.1-9ubuntu3_amd64.deb ... Unpacking libgomp1:amd64 (5.3.1-9ubuntu3) ... Selecting previously unselected package libunistring0:amd64. Preparing to unpack .../libunistring0_0.9.3-5.2ubuntu1_amd64.deb ... Unpacking libunistring0:amd64 (0.9.3-5.2ubuntu1) ... Selecting previously unselected package gettext. Preparing to unpack .../gettext_0.19.7-2ubuntu3_amd64.deb ... Unpacking gettext (0.19.7-2ubuntu3) ... Selecting previously unselected package python3-pep8. Preparing to unpack .../python3-pep8_1.6.2-0.1ubuntu2_all.deb ... Unpacking python3-pep8 (1.6.2-0.1ubuntu2) ... Selecting previously unselected package pep8. Preparing to unpack .../pep8_1.6.2-0.1ubuntu2_all.deb ... Unpacking pep8 (1.6.2-0.1ubuntu2) ... Selecting previously unselected package python2.7-minimal. Preparing to unpack .../python2.7-minimal_2.7.11-3_amd64.deb ... Unpacking python2.7-minimal (2.7.11-3) ... Selecting previously unselected package python-minimal. Preparing to unpack .../python-minimal_2.7.11-1_amd64.deb ... Unpacking python-minimal (2.7.11-1) ... Selecting previously unselected package python2.7. Preparing to unpack .../python2.7_2.7.11-3_amd64.deb ... Unpacking python2.7 (2.7.11-3) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for libc-bin (2.21-0ubuntu6) ... Processing triggers for install-info (6.1.0.dfsg.1-2) ... Processing triggers for mime-support (3.59ubuntu1) ... Setting up python2.7-minimal (2.7.11-3) ... Setting up python-minimal (2.7.11-1) ... Selecting previously unselected package python. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 94350 files and directories currently installed.) Preparing to unpack .../python_2.7.11-1_amd64.deb ... Unpacking python (2.7.11-1) ... Selecting previously unselected package python-pkg-resources. Preparing to unpack .../python-pkg-resources_18.8-1_all.deb ... Unpacking python-pkg-resources (18.8-1) ... Selecting previously unselected package python-pyflakes. Preparing to unpack .../python-pyflakes_1.0.0-4_all.deb ... Unpacking python-pyflakes (1.0.0-4) ... Selecting previously unselected package python3-pyflakes. Preparing to unpack .../python3-pyflakes_1.0.0-4_all.deb ... Unpacking python3-pyflakes (1.0.0-4) ... Selecting previously unselected package pyflakes. Preparing to unpack .../pyflakes_1.0.0-4_all.deb ... Unpacking pyflakes (1.0.0-4) ... Selecting previously unselected package shellcheck. Preparing to unpack .../shellcheck_0.3.7-5_amd64.deb ... Unpacking shellcheck (0.3.7-5) ... Selecting previously unselected package sqlite3. Preparing to unpack .../sqlite3_3.11.0-1ubuntu1_amd64.deb ... Unpacking sqlite3 (3.11.0-1ubuntu1) ... Selecting previously unselected package lxd-client. Preparing to unpack .../lxd-client_2.0.0~beta4-0ubuntu1_amd64.deb ... Unpacking lxd-client (2.0.0~beta4-0ubuntu1) ... Selecting previously unselected package cgmanager. Preparing to unpack .../cgmanager_0.39-2ubuntu5_amd64.deb ... Unpacking cgmanager (0.39-2ubuntu5) ... Selecting previously unselected package lxc-common. Preparing to unpack .../lxc-common_2.0.0~rc2-0ubuntu2_amd64.deb ... Unpacking lxc-common (2.0.0~rc2-0ubuntu2) ... Selecting previously unselected package liblxc1. Preparing to unpack .../liblxc1_2.0.0~rc2-0ubuntu2_amd64.deb ... Unpacking liblxc1 (2.0.0~rc2-0ubuntu2) ... Selecting previously unselected package python3-lxc. Preparing to unpack .../python3-lxc_2.0.0~rc2-0ubuntu2_amd64.deb ... Unpacking python3-lxc (2.0.0~rc2-0ubuntu2) ... Selecting previously unselected package lxc1. Preparing to unpack .../lxc1_2.0.0~rc2-0ubuntu2_amd64.deb ... Unpacking lxc1 (2.0.0~rc2-0ubuntu2) ... Selecting previously unselected package lxc. Preparing to unpack .../lxc_2.0.0~rc2-0ubuntu2_all.deb ... Unpacking lxc (2.0.0~rc2-0ubuntu2) ... Selecting previously unselected package lxcfs. Preparing to unpack .../lxcfs_2.0.0~beta2-0ubuntu1_amd64.deb ... Unpacking lxcfs (2.0.0~beta2-0ubuntu1) ... Selecting previously unselected package lxd. Preparing to unpack .../lxd_2.0.0~beta4-0ubuntu1_amd64.deb ... Unpacking lxd (2.0.0~beta4-0ubuntu1) ... Selecting previously unselected package lxc2. Preparing to unpack .../lxc2_2.0.0~beta4-0ubuntu1_all.deb ... Unpacking lxc2 (2.0.0~beta4-0ubuntu1) ... Selecting previously unselected package lxd-tools. Preparing to unpack .../lxd-tools_2.0.0~beta4-0ubuntu1_amd64.deb ... Unpacking lxd-tools (2.0.0~beta4-0ubuntu1) ... Selecting previously unselected package lxc-dev. Preparing to unpack .../lxc-dev_2.0.0~rc2-0ubuntu2_amd64.deb ... Unpacking lxc-dev (2.0.0~rc2-0ubuntu2) ... Selecting previously unselected package pkg-config. Preparing to unpack .../pkg-config_0.29-2ubuntu2_amd64.deb ... Unpacking pkg-config (0.29-2ubuntu2) ... Selecting previously unselected package golang-github-lxc-lxd-dev. Preparing to unpack .../golang-github-lxc-lxd-dev_2.0.0~beta4-0ubuntu1_all.deb ... Unpacking golang-github-lxc-lxd-dev (2.0.0~beta4-0ubuntu1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for systemd (229-1ubuntu4) ... Processing triggers for libc-bin (2.21-0ubuntu6) ... Setting up golang-src (2:1.6-0ubuntu3) ... Setting up golang-go (2:1.6-0ubuntu3) ... update-alternatives: using /usr/lib/go/bin/go to provide /usr/bin/go (go) in auto mode Setting up libonig2:amd64 (5.9.6-1) ... Setting up jq (1.5+dfsg-1) ... Setting up liberror-perl (0.17-1.2) ... Setting up git (1:2.7.0-1) ... Setting up libcroco3:amd64 (0.6.11-1) ... Setting up libgomp1:amd64 (5.3.1-9ubuntu3) ... Setting up libunistring0:amd64 (0.9.3-5.2ubuntu1) ... Setting up gettext (0.19.7-2ubuntu3) ... Setting up python3-pep8 (1.6.2-0.1ubuntu2) ... Setting up pep8 (1.6.2-0.1ubuntu2) ... Setting up python2.7 (2.7.11-3) ... Setting up python (2.7.11-1) ... Setting up python-pkg-resources (18.8-1) ... Setting up python-pyflakes (1.0.0-4) ... Setting up python3-pyflakes (1.0.0-4) ... Setting up pyflakes (1.0.0-4) ... Setting up shellcheck (0.3.7-5) ... Setting up sqlite3 (3.11.0-1ubuntu1) ... Setting up lxd-client (2.0.0~beta4-0ubuntu1) ... Setting up cgmanager (0.39-2ubuntu5) ... Setting up lxcfs (2.0.0~beta2-0ubuntu1) ... Setting up lxd-tools (2.0.0~beta4-0ubuntu1) ... Setting up pkg-config (0.29-2ubuntu2) ... Setting up liblxc1 (2.0.0~rc2-0ubuntu2) ... Setting up python3-lxc (2.0.0~rc2-0ubuntu2) ... Setting up lxc1 (2.0.0~rc2-0ubuntu2) ... Setting up lxc dnsmasq configuration. Setting up lxc (2.0.0~rc2-0ubuntu2) ... Setting up lxd (2.0.0~beta4-0ubuntu1) ... Setting up lxc2 (2.0.0~beta4-0ubuntu1) ... Setting up lxc-dev (2.0.0~rc2-0ubuntu2) ... Setting up golang-github-lxc-lxd-dev (2.0.0~beta4-0ubuntu1) ... Setting up adt-satdep (0) ... Setting up lxc-common (2.0.0~rc2-0ubuntu2) ... Processing triggers for libc-bin (2.21-0ubuntu6) ... Processing triggers for systemd (229-1ubuntu4) ... (Reading database ... 94940 files and directories currently installed.) Removing adt-satdep (0) ... adt-run [05:13:40]: test exercise: [----------------------- ==> Checking for dependencies ==> Setting up directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/D1Y ==> Spawning lxd in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/D1Y ==> Spawned LXD (PID is 5413) ==> Confirming lxd is responsive t=2016-02-24T05:13:40+0000 lvl=warn msg="CGroup memory swap accounting is disabled, swap limits will be ignored." ==> Binding to network Generating a client certificate. This may take a minute... If this is your first run, you will need to import images using the 'lxd-images' script. For example: 'lxd-images import ubuntu --alias ubuntu'. ==> Bound to 127.0.0.1:21158 ==> Setting trust password ==> Configuring storage backend ==> Configuring directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/D1Y ==> Setting up directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/cJ7 ==> Spawning lxd in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/cJ7 ==> Spawned LXD (PID is 5446) ==> Confirming lxd is responsive t=2016-02-24T05:13:44+0000 lvl=warn msg="CGroup memory swap accounting is disabled, swap limits will be ignored." ==> Binding to network ==> Bound to 127.0.0.1:11230 ==> Setting trust password ==> Configuring storage backend ==> Configuring directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/cJ7 ==> TEST: doing static analysis of commits ==> TEST: checking dependencies fatal: Not a git repository (or any of the parent directories): .git ==> TEST: Database schema update ==> Setting up directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/GhU ==> Spawning lxd in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/GhU ==> Spawned LXD (PID is 5542) ==> Confirming lxd is responsive t=2016-02-24T05:13:47+0000 lvl=warn msg="CGroup memory swap accounting is disabled, swap limits will be ignored." ==> Binding to network ==> Bound to 127.0.0.1:30068 ==> Setting trust password ==> Configuring storage backend ==> Configuring directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/GhU ==> TEST: lxc remote url 2016/02/24 05:13:48 http: TLS handshake error from 127.0.0.1:48788: remote error: bad certificate Client certificate stored at server: test 2016/02/24 05:13:48 http: TLS handshake error from 127.0.0.1:48794: remote error: bad certificate Client certificate stored at server: test ==> TEST: lxc remote administration 2016/02/24 05:13:49 http: TLS handshake error from 127.0.0.1:48800: remote error: bad certificate t=2016-02-24T05:13:49+0000 lvl=eror msg="Bad password received" err=nil error: not authorized error: unknown remote name: "badpass" 2016/02/24 05:13:49 http: TLS handshake error from 127.0.0.1:48806: remote error: bad certificate Client certificate stored at server: localhost | localhost | https://127.0.0.1:21158 | NO | | foo (default) | https://127.0.0.1:21158 | NO | +---------------+-------------------------+--------+ | NAME | URL | PUBLIC | +---------------+-------------------------+--------+ | foo (default) | https://127.0.0.1:21158 | NO | | local | unix:// | NO | +---------------+-------------------------+--------+ error: can't remove the default remote 2016/02/24 05:13:49 http: TLS handshake error from 127.0.0.1:48812: remote error: bad certificate Certificate fingerprint: 5325b921edf26720953bff015b69900943315b5db69f3c6e17c25a694875c5b8 ok (y/n)? 2016/02/24 05:13:51 http: TLS handshake error from 127.0.0.1:48818: remote error: bad certificate ==> TEST: basic usage Image imported as: 05a2043adef30a03d6c45f109aa4924728afe4520c86e56d5dbaaf8bc022f827 Setup alias: testimage Output is in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/D1Y/05a2043adef30a03d6c45f109aa4924728afe4520c86e56d5dbaaf8bc022f827.tar.xz properties: architecture: x86_64 description: Busybox x86_64 name: busybox-x86_64 os: Busybox public: false {"type":"sync","status":"Success","status_code":200,"metadata":{"api_extensions":[],"api_status":"development","api_version":"1.0","auth":"trusted","config":{"core.https_address":"127.0.0.1:21158","core.trust_password":true},"environment":{"addresses":["127.0.0.1:21158"],"architectures":["x86_64","i686"],"certificate":"-----BEGIN CERTIFICATE-----\nMIIFzjCCA7igAwIBAgIRAKnCQRdpkZ86oXYOd9hGrPgwCwYJKoZIhvcNAQELMB4x\nHDAaBgNVBAoTE2xpbnV4Y29udGFpbmVycy5vcmcwHhcNMTUwNzE1MDQ1NjQ0WhcN\nMjUwNzEyMDQ1NjQ0WjAeMRwwGgYDVQQKExNsaW51eGNvbnRhaW5lcnMub3JnMIIC\nIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAyViJkCzoxa1NYilXqGJog6xz\nlSm4xt8KIzayc0JdB9VxEdIVdJqUzBAUtyCS4KZ9MbPmMEOX9NbBASL0tRK58/7K\nScq99Kj4XbVMLU1P/y5aW0ymnF0OpKbG6unmgAI2k/duRlbYHvGRdhlswpKl0Yst\nl8i2kXOK0Rxcz90FewcEXGSnIYW21sz8YpBLfIZqOx6XEV36mOdi3MLrhUSAhXDw\nPay33Y7NonCQUBtiO7BT938cqI14FJrWdKon1UnODtzONcVBLTWtoe7D41+mx7EE\nTaq5OPxBSe0DD6KQcPOZ7ZSJEhIqVKMvzLyiOJpyShmhm4OuGNoAG6jAuSij/9Kc\naLU4IitcrvFOuAo8M9OpiY9ZCR7Gb/qaPAXPAxE7Ci3f9DDNKXtPXDjhj3YG01+h\nfNXMW3kCkMImn0A/+mZUMdCL87GWN2AN3Do5qaIc5XVEt1gp+LVqJeMoZ/lAeZWT\nIbzcnkneOzE25m+bjw3r3WlR26amhyrWNwjGzRkgfEpw336kniX/GmwaCNgdNk+g\n5aIbVxIHO0DbgkDBtdljR3VOic4djW/LtUIYIQ2egnPPyRR3fcFI+x5EQdVQYUXf\njpGIwovUDyG0Lkam2tpdeEXvLMZr8+Lhzu+H6vUFSj3cz6gcw/Xepw40FOkYdAI9\nLYB6nwpZLTVaOqZCJ2ECAwEAAaOCAQkwggEFMA4GA1UdDwEB/wQEAwIAoDATBgNV\nHSUEDDAKBggrBgEFBQcDATAMBgNVHRMBAf8EAjAAMIHPBgNVHREEgccwgcSCCVVi\ndW50dVByb4IRMTAuMTY3LjE2MC4xODMvMjSCHzIwMDE6MTVjMDo2NzM1OmVlMDA6\nOmU6ZTMxMy8xMjiCKWZkNTc6Yzg3ZDpmMWVlOmVlMDA6MjFkOjdkZmY6ZmUwOToz\nNzUzLzY0gikyMDAxOjE1YzA6NjczNTplZTAwOjIxZDo3ZGZmOmZlMDk6Mzc1My82\nNIIbZmU4MDo6MjFkOjdkZmY6ZmUwOTozNzUzLzY0ghAxOTIuMTY4LjEyMi4xLzI0\nMAsGCSqGSIb3DQEBCwOCAgEAmcJUSBH7cLw3auEEV1KewtdqY1ARVB/pafAtbe9F\n7ZKBbxUcS7cP3P1hRs5FH1bH44bIJKHxckctNUPqvC+MpXSryKinQ5KvGPNjGdlW\n6EPlQr23btizC6hRdQ6RjEkCnQxhyTLmQ9n78nt47hjA96rFAhCUyfPdv9dI4Zux\nbBTJekhCx5taamQKoxr7tql4Y2TchVlwASZvOfar8I0GxBRFT8w9IjckOSLoT9/s\nOhlvXpeoxxFT7OHwqXEXdRUvw/8MGBo6JDnw+J/NGDBw3Z0goebG4FMT//xGSHia\nczl3A0M0flk4/45L7N6vctwSqi+NxVaJRKeiYPZyzOO9K/d+No+WVBPwKmyP8icQ\nb7FGTelPJOUolC6kmoyM+vyaNUoU4nz6lgOSHAtuqGNDWZWuX/gqzZw77hzDIgkN\nqisOHZWPVlG/iUh1JBkbglBaPeaa3zf0XwSdgwwf4v8Z+YtEiRqkuFgQY70eQKI/\nCIkj1p0iW5IBEsEAGUGklz4ZwqJwH3lQIqDBzIgHe3EP4cXaYsx6oYhPSDdHLPv4\nHMZhl05DP75CEkEWRD0AIaL7SHdyuYUmCZ2zdrMI7TEDrAqcUuPbYpHcdJ2wnYmi\n2G8XHJibfu4PCpIm1J8kPL8rqpdgW3moKR8Mp0HJQOH4tSBr1Ep7xNLP1wg6PIe+\np7U=\n-----END CERTIFICATE-----\n","driver":"lxc","driver_version":"2.0.0.rc2","kernel":"Linux","kernel_architecture":"x86_64","kernel_version":"4.4.0-7-generic","server":"lxd","server_pid":5413,"server_version":"2.0.0.beta4","storage":"dir","storage_version":""},"public":false}} {"type":"sync","status":"Success","status_code":200,"metadata":[]} Image imported with fingerprint: 05a2043adef30a03d6c45f109aa4924728afe4520c86e56d5dbaaf8bc022f827 Output is in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/D1Y/testimage.tar.xz Creating foo | foo | STOPPED | | | PERSISTENT | 0 | | foo | STOPPED | | | PERSISTENT | 0 | +------+---------+------+------+------------+-----------+ | NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS | +------+---------+------+------+------------+-----------+ | bar | STOPPED | | | PERSISTENT | 0 | +------+---------+------+------+------------+-----------+ | bar | STOPPED | | | PERSISTENT | 0 | t=2016-02-24T05:14:00+0000 lvl=warn msg="rejecting request from untrusted client" ip=127.0.0.1:48828 {"error":"not authorized","error_code":403,"type":"error"} Container published with fingerprint: eca7c94c06541c1039e5db509802bd58923b7c1c848934b4dd1afc07738cf77a prop1: val1 Profile priv created Creating barpriv Container published with fingerprint: b4908b433cf42f41911c8884970e98ce35e05d34b8c042da9392e6d2abe9a8bf prop1: val1 Profile priv deleted Creating nometadata Container published with fingerprint: 63ed050f190ddfc814ca9213ccb1d2266bcecb8acc2ca00b2ece6db9a9b34149 Container published with fingerprint: eca7c94c06541c1039e5db509802bd58923b7c1c848934b4dd1afc07738cf77a {"type":"sync","status":"Success","status_code":200,"metadata":["/1.0/images/eca7c94c06541c1039e5db509802bd58923b7c1c848934b4dd1afc07738cf77a"]} error: flag provided but not defined: -a Creating abc- error: Container name isn't a valid hostname. Creating 1234 error: Container name isn't a valid hostname. Creating 12test error: Container name isn't a valid hostname. Creating a_b_c error: Container name isn't a valid hostname. Creating aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa error: Container name isn't a valid hostname. Container published with fingerprint: eca7c94c06541c1039e5db509802bd58923b7c1c848934b4dd1afc07738cf77a Creating bar2 | bar2 | STOPPED | | | PERSISTENT | 0 | +------+---------+------+------+------------+-----------+ | NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS | +------+---------+------+------+------------+-----------+ | bar | STOPPED | | | PERSISTENT | 1 | +------+---------+------+------+------------+-----------+ Creating the container Container name is: {"type":"sync","status":"Success","status_code":200,"metadata":{"id":"a5c31b0e-593a-448e-93fe-191a7f6be97a","class":"task","created_at":"2016-02-24T05:14:04.235022658Z","updated_at":"2016-02-24T05:14:04.235022658Z","status":"Success","status_code":200,"resources":{"containers":["/1.0/containers/nonetype"]},"metadata":null,"may_cancel":false,"err":""}} {"type":"sync","status":"Success","status_code":200,"metadata":{"id":"8ce02441-a678-4b2e-8103-6b5edb5ed955","class":"task","created_at":"2016-02-24T05:14:04.763039911Z","updated_at":"2016-02-24T05:14:04.763039911Z","status":"Success","status_code":200,"resources":{"containers":["/1.0/containers/configtest"]},"metadata":null,"may_cancel":false,"err":""}} ==> Setting up directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/noF ==> Spawning lxd in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/noF ==> Spawned LXD (PID is 6170) ==> Confirming lxd is responsive t=2016-02-24T05:14:05+0000 lvl=warn msg="CGroup memory swap accounting is disabled, swap limits will be ignored." ==> Binding to network ==> Bound to 127.0.0.1:10231 ==> Setting trust password ==> Configuring storage backend ==> Configuring directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/noF Image imported as: 05a2043adef30a03d6c45f109aa4924728afe4520c86e56d5dbaaf8bc022f827 Setup alias: testimage Creating autostart ==> Killing LXD at /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/noF ==> Deleting all containers ==> Deleting all images ==> Checking for locked DB tables error: accept tcp 127.0.0.1:10231: use of closed network connection ==> Checking for leftover files ==> Checking for leftover DB entries ==> Tearing down directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/noF Creating foo Starting foo | foo | RUNNING | | | PERSISTENT | 0 | /root BEST_BAND=meshuggah 8: eth0@if9: mtu 1500 qdisc noop qlen 1000 abc abc foo Creating deleterunning Starting deleterunning {"error":"container is running","error_code":400,"type":"error"} Creating lxd-apparmor-test Starting lxd-apparmor-test lxd-lxd-apparmor-test_ lxd-lxd-apparmor-test_ (7113) Profile unconfined created Creating foo2 Profile unconfined deleted Creating foo Starting foo ==> TEST: images (and cached image expiry) 2016/02/24 05:14:18 http: TLS handshake error from 127.0.0.1:48848: remote error: bad certificate 2016/02/24 05:14:19 http: TLS handshake error from 127.0.0.1:34508: remote error: bad certificate Client certificate stored at server: l2 Creating c1 Retrieving image: 3% Retrieving image: 4% Retrieving image: 6% Retrieving image: 8% Retrieving image: 10% Retrieving image: 12% Retrieving image: 14% Retrieving image: 16% Retrieving image: 18% Retrieving image: 20% Retrieving image: 22% Retrieving image: 24% Retrieving image: 26% Retrieving image: 28% Retrieving image: 30% Retrieving image: 32% Retrieving image: 34% Retrieving image: 36% Retrieving image: 38% Retrieving image: 40% Retrieving image: 42% Retrieving image: 74% Retrieving image: 44% Retrieving image: 46% Retrieving image: 48% Retrieving image: 50% Retrieving image: 52% Retrieving image: 54% Retrieving image: 56% Retrieving image: 58% Retrieving image: 60% Retrieving image: 62% Retrieving image: 64% Retrieving image: 66% Retrieving image: 68% Retrieving image: 70% Retrieving image: 72% Retrieving image: 78% Retrieving image: 76% Retrieving image: 80% Retrieving image: 82% Retrieving image: 84% Retrieving image: 86% Retrieving image: 88% Retrieving image: 90% Retrieving image: 92% Retrieving image: 94% Retrieving image: 96% Retrieving image: 98% Retrieving image: 100% ==> TEST: lxc remote usage 2016/02/24 05:14:20 http: TLS handshake error from 127.0.0.1:34534: remote error: bad certificate Output is in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/D1Y/foo.img Image imported with fingerprint: 05a2043adef30a03d6c45f109aa4924728afe4520c86e56d5dbaaf8bc022f827 Copying the image: 3% Copying the image: 4% Copying the image: 6% Copying the image: 8% Copying the image: 10% Copying the image: 12% Copying the image: 14% Copying the image: 16% Copying the image: 18% Copying the image: 20% Copying the image: 22% Copying the image: 24% Copying the image: 26% Copying the image: 28% Copying the image: 30% Copying the image: 32% Copying the image: 34% Copying the image: 36% Copying the image: 38% Copying the image: 40% Copying the image: 42% Copying the image: 44% Copying the image: 46% Copying the image: 48% Copying the image: 50% Copying the image: 52% Copying the image: 54% Copying the image: 56% Copying the image: 58% Copying the image: 60% Copying the image: 62% Copying the image: 64% Copying the image: 66% Copying the image: 68% Copying the image: 70% Copying the image: 72% Copying the image: 74% Copying the image: 76% Copying the image: 78% Copying the image: 80% Copying the image: 82% Copying the image: 84% Copying the image: 86% Copying the image: 88% Copying the image: 90% Copying the image: 92% Copying the image: 94% Copying the image: 96% Copying the image: 98% Copying the image: 100% Image copied successfully! Copying the image: 3% Copying the image: 4% Copying the image: 6% Copying the image: 8% Copying the image: 10% Copying the image: 12% Copying the image: 14% Copying the image: 16% Copying the image: 18% Copying the image: 20% Copying the image: 22% Copying the image: 24% Copying the image: 26% Copying the image: 28% Copying the image: 30% Copying the image: 32% Copying the image: 34% Copying the image: 36% Copying the image: 38% Copying the image: 40% Copying the image: 42% Copying the image: 44% Copying the image: 46% Copying the image: 48% Copying the image: 50% Copying the image: 52% Copying the image: 54% Copying the image: 56% Copying the image: 58% Copying the image: 60% Copying the image: 62% Copying the image: 64% Copying the image: 66% Copying the image: 68% Copying the image: 70% Copying the image: 72% Copying the image: 74% Copying the image: 76% Copying the image: 78% Copying the image: 80% Copying the image: 82% Copying the image: 84% Copying the image: 86% Copying the image: 88% Copying the image: 92% Copying the image: 90% Copying the image: 94% Copying the image: 96% Copying the image: 98% Copying the image: 100% Image copied successfully! Fingerprint: 05a2043adef30a03d6c45f109aa4924728afe4520c86e56d5dbaaf8bc022f827 Size: 0.79MB Architecture: x86_64 Public: yes Timestamps: Created: 2015/10/29 12:11 UTC Uploaded: 2016/02/24 05:14 UTC Expires: never Properties: description: Busybox x86_64 name: busybox-x86_64 os: Busybox architecture: x86_64 Aliases: - testimage Copying the image: 3% Copying the image: 4% Copying the image: 6% Copying the image: 8% Copying the image: 10% Copying the image: 12% Copying the image: 14% Copying the image: 16% Copying the image: 18% Copying the image: 20% Copying the image: 22% Copying the image: 24% Copying the image: 26% Copying the image: 28% Copying the image: 30% Copying the image: 32% Copying the image: 34% Copying the image: 36% Copying the image: 38% Copying the image: 40% Copying the image: 42% Copying the image: 44% Copying the image: 46% Copying the image: 48% Copying the image: 50% Copying the image: 52% Copying the image: 54% Copying the image: 56% Copying the image: 58% Copying the image: 60% Copying the image: 62% Copying the image: 64% Copying the image: 66% Copying the image: 68% Copying the image: 70% Copying the image: 72% Copying the image: 74% Copying the image: 76% Copying the image: 78% Copying the image: 80% Copying the image: 82% Copying the image: 84% Copying the image: 86% Copying the image: 88% Copying the image: 90% Copying the image: 92% Copying the image: 94% Copying the image: 96% Copying the image: 98% Copying the image: 100% Image copied successfully! Copying the image: 3% Copying the image: 4% Copying the image: 6% Copying the image: 8% Copying the image: 10% Copying the image: 12% Copying the image: 14% Copying the image: 16% Copying the image: 18% Copying the image: 20% Copying the image: 22% Copying the image: 24% Copying the image: 26% Copying the image: 28% Copying the image: 30% Copying the image: 32% Copying the image: 34% Copying the image: 36% Copying the image: 38% Copying the image: 40% Copying the image: 42% Copying the image: 44% Copying the image: 46% Copying the image: 48% Copying the image: 50% Copying the image: 52% Copying the image: 54% Copying the image: 56% Copying the image: 58% Copying the image: 60% Copying the image: 62% Copying the image: 64% Copying the image: 66% Copying the image: 68% Copying the image: 70% Copying the image: 72% Copying the image: 74% Copying the image: 76% Copying the image: 78% Copying the image: 80% Copying the image: 82% Copying the image: 84% Copying the image: 86% Copying the image: 88% Copying the image: 90% Copying the image: 92% Copying the image: 94% Copying the image: 96% Copying the image: 98% Copying the image: 100% Image copied successfully! Copying the image: 3% Copying the image: 4% Copying the image: 6% Copying the image: 8% Copying the image: 10% Copying the image: 12% Copying the image: 14% Copying the image: 16% Copying the image: 18% Copying the image: 20% Copying the image: 22% Copying the image: 24% Copying the image: 26% Copying the image: 28% Copying the image: 30% Copying the image: 32% Copying the image: 34% Copying the image: 36% Copying the image: 38% Copying the image: 40% Copying the image: 42% Copying the image: 44% Copying the image: 46% Copying the image: 48% Copying the image: 50% Copying the image: 52% Copying the image: 54% Copying the image: 56% Copying the image: 58% Copying the image: 60% Copying the image: 62% Copying the image: 64% Copying the image: 66% Copying the image: 68% Copying the image: 70% Copying the image: 72% Copying the image: 74% Copying the image: 76% Copying the image: 78% Copying the image: 80% Copying the image: 82% Copying the image: 84% Copying the image: 86% Copying the image: 88% Copying the image: 90% Copying the image: 92% Copying the image: 94% Copying the image: 96% Copying the image: 98% Copying the image: 100% Image copied successfully! Creating c1 Retrieving image: 3% Retrieving image: 4% Retrieving image: 6% Retrieving image: 8% Retrieving image: 10% Retrieving image: 12% Retrieving image: 14% Retrieving image: 16% Retrieving image: 18% Retrieving image: 20% Retrieving image: 22% Retrieving image: 24% Retrieving image: 26% Retrieving image: 28% Retrieving image: 30% Retrieving image: 32% Retrieving image: 34% Retrieving image: 36% Retrieving image: 38% Retrieving image: 40% Retrieving image: 42% Retrieving image: 44% Retrieving image: 46% Retrieving image: 48% Retrieving image: 50% Retrieving image: 52% Retrieving image: 54% Retrieving image: 56% Retrieving image: 58% Retrieving image: 60% Retrieving image: 62% Retrieving image: 64% Retrieving image: 66% Retrieving image: 68% Retrieving image: 70% Retrieving image: 72% Retrieving image: 74% Retrieving image: 76% Retrieving image: 78% Retrieving image: 80% Retrieving image: 82% Retrieving image: 84% Retrieving image: 86% Retrieving image: 88% Retrieving image: 90% Retrieving image: 92% Retrieving image: 94% Retrieving image: 96% Retrieving image: 98% Retrieving image: 100% Creating pub Container published with fingerprint: 28c5d8c845e09152f073abd5fa693908228aa37a268b0c5604c950bcabc5b6d6 error: not found Creating c2 Creating c1 Creating c1 Starting c1 | c1 | RUNNING | | | PERSISTENT | 0 | 2016/02/24 05:14:27 http: TLS handshake error from 127.0.0.1:34658: EOF Name: c1 Architecture: x86_64 Created: 2016/02/24 05:14 UTC Status: Running Type: persistent Profiles: default Pid: 8045 Processes: 1 ==> TEST: snapshots Creating foo {"type":"sync","status":"Success","status_code":200,"metadata":{"id":"6f3c8e63-37b9-467b-a11d-cb6fdb07a609","class":"task","created_at":"2016-02-24T05:14:29.153010385Z","updated_at":"2016-02-24T05:14:29.153010385Z","status":"Success","status_code":200,"resources":{"containers":["/1.0/containers/foo"]},"metadata":null,"may_cancel":false,"err":""}} ==> TEST: snapshot restore Creating bar Starting bar /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test ==> Restoring snap0 ==> Restoring snap1 ==> Restoring snap0 | bar | RUNNING | | | PERSISTENT | 2 | ==> TEST: profiles, devices and configuration Creating foo default `lxc config profile` is deprecated, please use `lxc profile` default Manage configuration. lxc config device add <[remote:]container> [key=value]... Add a device to a container. lxc config device list [remote:] List devices for container. lxc config device show [remote:] Show full device details for container. lxc config device remove [remote:] Remove device from container. lxc config get [remote:] key Get configuration key. lxc config set [remote:] key value Set container configuration key. lxc config unset [remote:] key Unset container configuration key. lxc config set key value Set server configuration key. lxc config unset key Unset server configuration key. lxc config show [--expanded] [remote:] Show container configuration. lxc config edit [remote:][container] Edit container configuration in external editor. Edit configuration, either by launching external editor or reading STDIN. Example: lxc config edit # launch editor cat config.yml | lxc config edit # read from config.yml lxc config trust list [remote] List all trusted certs. lxc config trust add [remote] Add certfile.crt to trusted hosts. lxc config trust remove [remote] [hostname|fingerprint] Remove the cert from trusted hosts. Examples: To mount host's /share/c1 onto /opt in the container: lxc config device add [remote:]container1 disk source=/share/c1 path=opt To set an lxc config value: lxc config set [remote:] raw.lxc 'lxc.aa_allow_incomplete = 1' To listen on IPv4 and IPv6 port 8443 (you can omit the 8443 its the default): lxc config set core.https_address [::]:8443 To set the server trust password: lxc config set core.trust_password blah error: wrong number of subcommand arguments Profile stdintest created BADCONF Profile stdintest deleted BADCONF Device mnt1 added to foo Profile onenic created Device eth0 added to onenic Profile onenic applied to foo Profile unconfined created Profile onenic,unconfined applied to foo mnt1: disk path: /mnt1 source: /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/mnt1 - unconfined onenic eth0: nic parent: lxcbr0 Device eth2 added to foo eth0 Link encap:Ethernet HWaddr 00:16:3E:6C:D4:5C eth10 Link encap:Ethernet HWaddr 00:16:3E:2D:16:51 eth2: nic Device eth2 removed from foo Device mnt2 added to foo /mnt2/hosts /mnt2/hosts Device mnt2 removed from foo ls: /mnt2/hosts: No such file or directory ls: /mnt2/hosts: No such file or directory | foo | STOPPED | | | PERSISTENT | 0 | error: Invalid raw.lxc line: a error: Invalid raw.lxc line: a Testing passing char device /dev/ttyS0 Device tty added to foo File: /dev/ttyS0 Size: 0 Blocks: 0 IO Block: 4096 character special file Device: fd01h/64769d Inode: 943427 Links: 1 Device type: 4,40 Access: (0640/crw-r-----) Uid: ( 0/ UNKNOWN) Gid: ( 0/ UNKNOWN) Access: 2016-02-24 05:14:37.000000000 Modify: 2016-02-24 05:14:37.000000000 Change: 2016-02-24 05:14:37.000000000 File: /dev/ttyS0 Size: 0 Blocks: 0 IO Block: 4096 character special file Device: fd01h/64769d Inode: 943427 Links: 1 Device type: 4,40 Access: (0640/crw-r-----) Uid: ( 0/ UNKNOWN) Gid: ( 0/ UNKNOWN) Access: 2016-02-24 05:14:37.000000000 Modify: 2016-02-24 05:14:37.000000000 Change: 2016-02-24 05:14:37.000000000 File: /dev/ttyS0 Size: 0 Blocks: 0 IO Block: 4096 character special file Device: fd01h/64769d Inode: 943416 Links: 1 Device type: 4,40 Access: (0640/crw-r-----) Uid: ( 0/ UNKNOWN) Gid: ( 0/ UNKNOWN) Access: 2016-02-24 05:14:38.000000000 Modify: 2016-02-24 05:14:38.000000000 Change: 2016-02-24 05:14:38.000000000 Device tty removed from foo stat: can't stat '/dev/ttyS0': No such file or directory stat: can't stat '/dev/ttyS0': No such file or directory stat: can't stat '/dev/ttyS0': No such file or directory Testing passing char device 4 64 Device tty added to foo File: /dev/ttyS0 Size: 0 Blocks: 0 IO Block: 4096 character special file Device: fd01h/64769d Inode: 943427 Links: 1 Device type: 4,40 Access: (0640/crw-r-----) Uid: ( 0/ UNKNOWN) Gid: ( 0/ UNKNOWN) Access: 2016-02-24 05:14:40.000000000 Modify: 2016-02-24 05:14:40.000000000 Change: 2016-02-24 05:14:40.000000000 File: /dev/ttyS0 Size: 0 Blocks: 0 IO Block: 4096 character special file Device: fd01h/64769d Inode: 943427 Links: 1 Device type: 4,40 Access: (0640/crw-r-----) Uid: ( 0/ UNKNOWN) Gid: ( 0/ UNKNOWN) Access: 2016-02-24 05:14:40.000000000 Modify: 2016-02-24 05:14:40.000000000 Change: 2016-02-24 05:14:40.000000000 File: /dev/ttyS0 Size: 0 Blocks: 0 IO Block: 4096 character special file Device: fd01h/64769d Inode: 943427 Links: 1 Device type: 4,40 Access: (0640/crw-r-----) Uid: ( 0/ UNKNOWN) Gid: ( 0/ UNKNOWN) Access: 2016-02-24 05:14:41.000000000 Modify: 2016-02-24 05:14:41.000000000 Change: 2016-02-24 05:14:41.000000000 Device tty removed from foo stat: can't stat '/dev/ttyS0': No such file or directory stat: can't stat '/dev/ttyS0': No such file or directory stat: can't stat '/dev/ttyS0': No such file or directory 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00213342 s, 491 MB/s mke2fs 1.42.13 (17-May-2015) Discarding device blocks: 1024/205824 done Creating filesystem with 205824 1k blocks and 51584 inodes Filesystem UUID: 67d61b44-f587-4d95-b244-d629370df2ab Superblock backups stored on blocks: 8193, 24577, 40961, 57345, 73729, 204801 Allocating group tables: 0/26 done Writing inode tables: 0/26 done Creating journal (4096 blocks): done Writing superblocks and filesystem accounting information: 0/26 done Device mnt added to foo File: /mnt/hello Size: 0 Blocks: 0 IO Block: 1024 regular empty file Device: 700h/1792d Inode: 12 Links: 1 Access: (0644/-rw-r--r--) Uid: (65534/ UNKNOWN) Gid: (65534/ UNKNOWN) Access: 2016-02-24 05:14:43.000000000 Modify: 2016-02-24 05:14:43.000000000 Change: 2016-02-24 05:14:43.000000000 File: /mnt/hello Size: 0 Blocks: 0 IO Block: 1024 regular empty file Device: 700h/1792d Inode: 12 Links: 1 Access: (0644/-rw-r--r--) Uid: (65534/ UNKNOWN) Gid: (65534/ UNKNOWN) Access: 2016-02-24 05:14:43.000000000 Modify: 2016-02-24 05:14:43.000000000 Change: 2016-02-24 05:14:43.000000000 Device mnt removed from foo stat: can't stat '/mnt/hello': No such file or directory stat: can't stat '/mnt/hello': No such file or directory stat: can't stat '/mnt/hello': No such file or directory Creating foo Profile onenic,unconfined applied to foo unconfined eth0 ==> TEST: server config ==> Setting up directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/vFx ==> Spawning lxd in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/vFx ==> Spawned LXD (PID is 11327) ==> Confirming lxd is responsive t=2016-02-24T05:14:48+0000 lvl=warn msg="CGroup memory swap accounting is disabled, swap limits will be ignored." ==> Binding to network ==> Bound to 127.0.0.1:25170 ==> Setting trust password ==> Configuring storage backend ==> Configuring directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/vFx ==> TEST: filemanip Creating filemanip Starting filemanip ==> TEST: devlxd /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test Creating devlxd Starting devlxd bar ==> TEST: uidshift I would shift "/tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/EhF/x1" to 100000 100000 I would shift "/tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/EhF/x1" to -1 -1 I would shift "/tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/EhF/x1" to 0 0 ==> TEST: migration Creating nonlive | nonlive2 | RUNNING | | | PERSISTENT | 1 | 2016/02/24 05:15:13 http: TLS handshake error from 127.0.0.1:49072: EOF 2016/02/24 05:15:13 http: TLS handshake error from 127.0.0.1:49074: EOF 2016/02/24 05:15:14 http: TLS handshake error from 127.0.0.1:34740: EOF | nonlive | RUNNING | | | PERSISTENT | 1 | 2016/02/24 05:15:14 http: TLS handshake error from 127.0.0.1:34736: EOF 2016/02/24 05:15:14 http: TLS handshake error from 127.0.0.1:34738: EOF ==> SKIP: live migration with CRIU (missing binary) ==> TEST: fdleak ==> Setting up directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/RJ0 ==> Spawning lxd in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/RJ0 ==> Spawned LXD (PID is 12634) ==> Confirming lxd is responsive t=2016-02-24T05:15:15+0000 lvl=warn msg="CGroup memory swap accounting is disabled, swap limits will be ignored." ==> Binding to network ==> Bound to 127.0.0.1:10940 ==> Setting trust password ==> Configuring storage backend ==> Configuring directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/RJ0 Image imported as: 05a2043adef30a03d6c45f109aa4924728afe4520c86e56d5dbaaf8bc022f827 Setup alias: testimage Creating leaktest1 Name: leaktest1 Architecture: x86_64 Created: 2016/02/24 05:15 UTC Status: Stopped Type: persistent Profiles: default PID USER COMMAND 1 0 init 25 0 ps -ef Creating leaktest2 Name: leaktest2 Architecture: x86_64 Created: 2016/02/24 05:15 UTC Status: Stopped Type: persistent Profiles: default PID USER COMMAND 1 0 init 25 0 ps -ef Creating leaktest3 Name: leaktest3 Architecture: x86_64 Created: 2016/02/24 05:15 UTC Status: Stopped Type: persistent Profiles: default PID USER COMMAND 1 0 init 25 0 ps -ef Creating leaktest4 Name: leaktest4 Architecture: x86_64 Created: 2016/02/24 05:15 UTC Status: Stopped Type: persistent Profiles: default PID USER COMMAND 1 0 init 25 0 ps -ef Creating leaktest5 Name: leaktest5 Architecture: x86_64 Created: 2016/02/24 05:15 UTC Status: Stopped Type: persistent Profiles: default PID USER COMMAND 1 0 init 25 0 ps -ef ==> Killing LXD at /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/RJ0 ==> Deleting all containers ==> Deleting all images ==> Checking for locked DB tables ==> Checking for leftover files ==> Checking for leftover DB entries ==> Tearing down directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/RJ0 ==> TEST: cpu profiling ==> Setting up directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/cUu ==> Spawning lxd in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/cUu ==> Spawned LXD (PID is 13594) ==> Confirming lxd is responsive t=2016-02-24T05:15:28+0000 lvl=warn msg="CGroup memory swap accounting is disabled, swap limits will be ignored." ==> Binding to network ==> Bound to 127.0.0.1:12467 ==> Setting trust password ==> Configuring storage backend ==> Configuring directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/cUu (pprof) Entering interactive mode (type "help" for commands) 150ms of 160ms total (93.75%) Showing top 5 nodes out of 42 (cum >= 10ms) flat flat% sum% cum cum% 90ms 56.25% 56.25% 90ms 56.25% golang.org/x/crypto/scrypt.salsaXOR 30ms 18.75% 75.00% 30ms 18.75% golang.org/x/crypto/scrypt.blockXOR 10ms 6.25% 81.25% 10ms 6.25% math/big.(*Int).Set 10ms 6.25% 87.50% 10ms 6.25% runtime.heapBitsForObject 10ms 6.25% 93.75% 10ms 6.25% runtime.memmove (pprof) ==> Killing LXD at /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/cUu ==> Checking for leftover files ==> Checking for leftover DB entries ==> Tearing down directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/cUu ==> TEST: memory profiling ==> Setting up directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/jYO ==> Spawning lxd in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/jYO ==> Spawned LXD (PID is 13679) ==> Confirming lxd is responsive t=2016-02-24T05:15:28+0000 lvl=warn msg="CGroup memory swap accounting is disabled, swap limits will be ignored." ==> Binding to network ==> Bound to 127.0.0.1:21925 ==> Setting trust password ==> Configuring storage backend ==> Configuring directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/jYO (pprof) Entering interactive mode (type "help" for commands) 0 of 0 total ( 0%) flat flat% sum% cum cum% 0 0% 0% 0 0% github.com/gorilla/mux.(*Router).ServeHTTP 0 0% 0% 0 0% golang.org/x/crypto/scrypt.Key 0 0% 0% 0 0% main.(*Daemon).PasswordSet 0 0% 0% 0 0% main.(*Daemon).createCmd.func1 0 0% 0% 0 0% main.(*lxdHttpServer).ServeHTTP (pprof) ==> Killing LXD at /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/jYO ==> Deleting all containers ==> Deleting all images ==> Checking for locked DB tables ==> Checking for leftover files ==> Checking for leftover DB entries ==> Tearing down directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/jYO ==> Cleaning up ==> Killing LXD at /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/D1Y ==> Deleting all containers ==> Deleting all images ==> Checking for locked DB tables ==> Checking for leftover files ==> Checking for leftover DB entries ==> Tearing down directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/D1Y ==> Killing LXD at /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/cJ7 ==> Deleting all containers ==> Deleting all images ==> Checking for locked DB tables ==> Checking for leftover files ==> Checking for leftover DB entries ==> Tearing down directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/cJ7 ==> Killing LXD at /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/GhU ==> Deleting all containers ==> Deleting all images ==> Checking for locked DB tables ==> Checking for leftover files ==> Checking for leftover DB entries ==> Tearing down directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/GhU ==> Killing LXD at /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/vFx ==> Deleting all containers ==> Deleting all images ==> Checking for locked DB tables ==> Checking for leftover files ==> Checking for leftover DB entries ==> Tearing down directory backend in /tmp/adt-run.d8343p/build.b1Q/lxd-2.0.0~beta4/test/tmp.hu6/vFx ==> Test result: success adt-run [05:15:31]: test exercise: -----------------------] adt-run [05:15:31]: test exercise: - - - - - - - - - - results - - - - - - - - - - exercise PASS adt-run [05:15:32]: @@@@@@@@@@@@@@@@@@@@ summary exercise PASS Exit request sent.