adt-run: DBG: testbed init adt-run [18:37:58]: version 3.14.2-0~1148~ubuntu14.04.1 adt-run [18:37:58]: command line: /usr/bin/adt-run --debug --no-built-binaries --unbuilt-tree /var/lib/jenkins/slaves/krillin-08/workspace/wily-boottest-apparmor/test-runner/tests/boottest -o results --apt-pocket=proposed --setup-commands=adt-commands --- adt-virt-ssh -s /usr/share/autopkgtest/ssh-setup/adb -- -s JW013513 adt-run: DBG: $ vserver: adt-virt-ssh -s /usr/share/autopkgtest/ssh-setup/adb -- -s JW013513 adt-run: DBG: got reply from testbed: ok adt-run: DBG: testbed open, scratch=None adt-run: DBG: sending command to testbed: open Waiting for device ADB to appear... Configuring Ubuntu phone for testing... Preparing Ubuntu phone for running tests... Waiting for desktop to boot 9 KB/s (397 bytes in 0.040s) 3 KB/s (143 bytes in 0.040s) Warning: Permanently added '[localhost]:2222' (RSA) to the list of known hosts. Warning: Permanently added '[localhost]:2222' (RSA) to the list of known hosts. adt-run: DBG: got reply from testbed: ok /tmp/adt-run.0j5sF6 adt-run: DBG: sending command to testbed: print-execute-command adt-run: DBG: got reply from testbed: ok /tmp/adt-virt-ssh.m690jgi_/runcmd adt-run: DBG: sending command to testbed: capabilities adt-run: DBG: got reply from testbed: ok reboot suggested-normal-user=phablet isolation-machine root-on-testbed adt-run: DBG: testbed capabilities: ['reboot', 'suggested-normal-user=phablet', 'isolation-machine', 'root-on-testbed'] adt-run [18:38:04]: @@@@@@@@@@@@@@@@@@@@ test bed setup adt-run: DBG: testbed command ['sh', '-ec', 'awk \'/^deb(-src)? .*(ubuntu.com|debian.org|ftpmaster)/ { if ($3 !~ /-/) { $3 = $3"-proposed"; print }}\' /etc/apt/sources.list `ls /etc/apt/sources.list.d/*.list 2>/dev/null|| true` > /etc/apt/sources.list.d/proposed.list'], kind short, sout raw, serr pipe, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run: DBG: testbed command ['bash', '-ec', 'for d in /boot /etc/init /etc/init.d /etc/systemd/system /lib/systemd/system; do [ ! -d $d ] || touch -r $d /tmp/adt-run.0j5sF6/${d//\\//_}.stamp; done'], kind short, sout raw, serr pipe, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run: DBG: testbed command ['sh', '-ec', '(apt-get update || (sleep 15; apt-get update))\napt-get install -f dctrl-tools\ndpkg-query -f "\\${binary:Package}\\n" -W | sed -e "s/:.*$//" > installed.packages\ngrep-aptavail -e -n -S -sPackage "^apparmor( \\(.*\\))?$"| sort | uniq > binary.packages\ncomm -1 -2 binary.packages installed.packages > needs_install.packages\n[ $(wc -l needs_install.packages | cut -f 1 -d " ") -eq "0" ] && (echo "ERROR: No packages to install!" > /home/phablet/sourcepkg-version && exit 1)\nrelease=$(lsb_release -s -c)\ncat needs_install.packages | xargs apt-get install -f -y -t ${release}-proposed 2> apt-get-install.stderr\nhead -n 1 needs_install.packages | xargs dpkg-query --show --showformat=\\${Version} > /home/phablet/sourcepkg-version'], kind install, sout raw, serr raw, env ['ADT_NORMAL_USER=phablet', 'DEBIAN_FRONTEND=noninteractive', 'APT_LISTBUGS_FRONTEND=none', 'LANG=C.UTF-8'] Ign http://ports.ubuntu.com wily InRelease Ign http://ports.ubuntu.com wily-updates InRelease Ign http://ports.ubuntu.com wily-security InRelease Ign http://ports.ubuntu.com wily-proposed InRelease Get:1 http://ports.ubuntu.com wily Release.gpg [933 B] Get:2 http://ports.ubuntu.com wily-updates Release.gpg [933 B] Get:3 http://ports.ubuntu.com wily-security Release.gpg [933 B] Get:4 http://ports.ubuntu.com wily-proposed Release.gpg [933 B] Get:5 http://ports.ubuntu.com wily Release [217 kB] Get:6 http://ports.ubuntu.com wily-updates Release [63.5 kB] Get:7 http://ports.ubuntu.com wily-security Release [63.5 kB] Get:8 http://ports.ubuntu.com wily-proposed Release [217 kB] Get:9 http://ports.ubuntu.com wily/main Sources [1105 kB] Get:10 http://ports.ubuntu.com wily/restricted Sources [7767 B] Get:11 http://ports.ubuntu.com wily/universe Sources [7261 kB] Get:12 http://ports.ubuntu.com wily/main armhf Packages [1413 kB] Get:13 http://ports.ubuntu.com wily/restricted armhf Packages [7981 B] Get:14 http://ports.ubuntu.com wily/universe armhf Packages [6544 kB] Get:15 http://ports.ubuntu.com wily/main Translation-en [845 kB] Hit http://ports.ubuntu.com wily/restricted Translation-en Get:16 http://ports.ubuntu.com wily/universe Translation-en [4559 kB] Get:17 http://ports.ubuntu.com wily-updates/main Sources [28 B] Get:18 http://ports.ubuntu.com wily-updates/restricted Sources [28 B] Get:19 http://ports.ubuntu.com wily-updates/universe Sources [28 B] Get:20 http://ports.ubuntu.com wily-updates/main armhf Packages [28 B] Get:21 http://ports.ubuntu.com wily-updates/restricted armhf Packages [28 B] Get:22 http://ports.ubuntu.com wily-updates/universe armhf Packages [28 B] Get:23 http://ports.ubuntu.com wily-updates/main Translation-en [28 B] Get:24 http://ports.ubuntu.com wily-updates/restricted Translation-en [28 B] Get:25 http://ports.ubuntu.com wily-updates/universe Translation-en [28 B] Get:26 http://ports.ubuntu.com wily-security/main Sources [28 B] Get:27 http://ports.ubuntu.com wily-security/restricted Sources [28 B] Get:28 http://ports.ubuntu.com wily-security/universe Sources [28 B] Get:29 http://ports.ubuntu.com wily-security/main armhf Packages [28 B] Get:30 http://ports.ubuntu.com wily-security/restricted armhf Packages [28 B] Get:31 http://ports.ubuntu.com wily-security/universe armhf Packages [28 B] Get:32 http://ports.ubuntu.com wily-security/main Translation-en [28 B] Get:33 http://ports.ubuntu.com wily-security/restricted Translation-en [28 B] Get:34 http://ports.ubuntu.com wily-security/universe Translation-en [28 B] Get:35 http://ports.ubuntu.com wily-proposed/main Sources [30.1 kB] Get:36 http://ports.ubuntu.com wily-proposed/restricted Sources [28 B] Get:37 http://ports.ubuntu.com wily-proposed/universe Sources [149 kB] Get:38 http://ports.ubuntu.com wily-proposed/main armhf Packages [43.5 kB] Get:39 http://ports.ubuntu.com wily-proposed/restricted armhf Packages [28 B] Get:40 http://ports.ubuntu.com wily-proposed/universe armhf Packages [66.5 kB] Get:41 http://ports.ubuntu.com wily-proposed/main Translation-en [29.2 kB] Get:42 http://ports.ubuntu.com wily-proposed/restricted Translation-en [28 B] Get:43 http://ports.ubuntu.com wily-proposed/universe Translation-en [57.9 kB] Fetched 22.7 MB in 46s (484 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Suggested packages: debtags The following NEW packages will be installed: dctrl-tools 0 upgraded, 1 newly installed, 0 to remove and 73 not upgraded. Need to get 95.2 kB of archives. After this operation, 311 kB of additional disk space will be used. Get:1 http://ports.ubuntu.com/ubuntu-ports/ wily/main dctrl-tools armhf 2.24-1 [95.2 kB] Fetched 95.2 kB in 0s (208 kB/s) Selecting previously unselected package dctrl-tools. (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 ... 43966 files and directories currently installed.) Preparing to unpack .../dctrl-tools_2.24-1_armhf.deb ... Unpacking dctrl-tools (2.24-1) ... Setting up dctrl-tools (2.24-1) ... Reading package lists... Building dependency tree... Reading state information... Suggested packages: apparmor-profiles apparmor-profiles-extra apparmor-docs apparmor-utils The following packages will be upgraded: apparmor apparmor-easyprof libapparmor-perl libapparmor1 python3-apparmor python3-libapparmor 6 upgraded, 0 newly installed, 0 to remove and 67 not upgraded. Need to get 549 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://ports.ubuntu.com/ubuntu-ports/ wily-proposed/main libapparmor1 armhf 2.10-0ubuntu6 [26.1 kB] Get:2 http://ports.ubuntu.com/ubuntu-ports/ wily-proposed/main libapparmor-perl armhf 2.10-0ubuntu6 [28.9 kB] Get:3 http://ports.ubuntu.com/ubuntu-ports/ wily-proposed/main apparmor armhf 2.10-0ubuntu6 [388 kB] Get:4 http://ports.ubuntu.com/ubuntu-ports/ wily-proposed/main python3-libapparmor armhf 2.10-0ubuntu6 [25.2 kB] Get:5 http://ports.ubuntu.com/ubuntu-ports/ wily-proposed/main python3-apparmor armhf 2.10-0ubuntu6 [70.7 kB] Get:6 http://ports.ubuntu.com/ubuntu-ports/ wily-proposed/main apparmor-easyprof all 2.10-0ubuntu6 [10.1 kB] Preconfiguring packages ... Fetched 549 kB in 1s (422 kB/s) (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 ... 44008 files and directories currently installed.) Preparing to unpack .../libapparmor1_2.10-0ubuntu6_armhf.deb ... Unpacking libapparmor1:armhf (2.10-0ubuntu6) over (2.10-0ubuntu4) ... Preparing to unpack .../libapparmor-perl_2.10-0ubuntu6_armhf.deb ... Unpacking libapparmor-perl (2.10-0ubuntu6) over (2.10-0ubuntu4) ... Preparing to unpack .../apparmor_2.10-0ubuntu6_armhf.deb ... Unpacking apparmor (2.10-0ubuntu6) over (2.10-0ubuntu4) ... Preparing to unpack .../python3-libapparmor_2.10-0ubuntu6_armhf.deb ... Unpacking python3-libapparmor (2.10-0ubuntu6) over (2.10-0ubuntu4) ... Preparing to unpack .../python3-apparmor_2.10-0ubuntu6_armhf.deb ... Unpacking python3-apparmor (2.10-0ubuntu6) over (2.10-0ubuntu4) ... Preparing to unpack .../apparmor-easyprof_2.10-0ubuntu6_all.deb ... Unpacking apparmor-easyprof (2.10-0ubuntu6) over (2.10-0ubuntu4) ... Processing triggers for ureadahead (0.100.0-19) ... ureadahead will be reprofiled on next reboot Setting up libapparmor1:armhf (2.10-0ubuntu6) ... Setting up libapparmor-perl (2.10-0ubuntu6) ... Setting up apparmor (2.10-0ubuntu6) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd Files /var/lib/dpkg/info/apparmor.md5sums and /var/lib/apparmor/profiles/.apparmor.md5sums differ Setting up python3-libapparmor (2.10-0ubuntu6) ... Setting up python3-apparmor (2.10-0ubuntu6) ... Setting up apparmor-easyprof (2.10-0ubuntu6) ... Processing triggers for systemd (224-2ubuntu2) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... adt-run: DBG: testbed command exited with code 0 adt-run: DBG: testbed command ['bash', '-ec', '[ ! -e /run/autopkgtest_no_reboot.stamp ] || exit 0;for d in /boot /etc/init /etc/init.d /etc/systemd/system /lib/systemd/system; do s=/tmp/adt-run.0j5sF6/${d//\\//_}.stamp; [ ! -d $d ] || [ `stat -c %Y $d` = `stat -c %Y $s` ]; done'], kind short, sout raw, serr raw, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 1 adt-run [18:40:20]: rebooting testbed after setup commands that affected boot adt-run: DBG: sending command to testbed: reboot Connection to localhost closed by remote host. Waiting for device ADB to appear... Preparing Ubuntu phone for running tests... Waiting for desktop to boot adt-run: DBG: got reply from testbed: ok adt-run: DBG: testbed supports reboot, creating /tmp/autopkgtest-reboot adt-run: DBG: testbed command ['sh', '-ecC', '[ ! -e /tmp/autopkgtest-reboot ] || exit 0; /bin/echo -e \'#!/bin/sh -e\\n[ -n "$1" ] || { echo "Usage: $0 " >&2; exit 1; }\\necho "$1" > /run/autopkgtest-reboot-mark\\ntest_script_pid=$(cat /tmp/adt_test_script_pid)\\np=$PPID; while true; do read _ c _ pp _ < /proc/$p/stat; [ $pp -ne $test_script_pid ] || break; p=$pp; done\\nkill -KILL $p\\n\' > /tmp/autopkgtest-reboot;chmod 755 /tmp/autopkgtest-reboot;[ -L /sbin/autopkgtest-reboot ] || ln -s /tmp/autopkgtest-reboot /sbin/autopkgtest-reboot 2>/dev/null || true'], kind short, sout raw, serr raw, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run: DBG: testbed command ['sh', '-ecC', '[ ! -e /tmp/autopkgtest-reboot-prepare ] || exit 0; /bin/echo -e \'#!/bin/sh -e\\n[ -n "$1" ] || { echo "Usage: $0 " >&2; exit 1; }\\necho "$1" > /run/autopkgtest-reboot-prepare-mark\\ntest_script_pid=$(cat /tmp/adt_test_script_pid)\\nkill -KILL $test_script_pid\\nwhile [ -e /run/autopkgtest-reboot-prepare-mark ]; do sleep 0.5; done\\n \'> /tmp/autopkgtest-reboot-prepare;chmod 755 /tmp/autopkgtest-reboot-prepare;'], kind short, sout raw, serr raw, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run: DBG: testbed command ['dpkg', '--print-architecture'], kind short, sout pipe, serr pipe, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run [18:41:22]: testbed dpkg architecture: armhf adt-run: DBG: testbed command ['sh', '-ec', "dpkg-query --show -f '${Package}\\t${Version}\\n' > /tmp/adt-run.0j5sF6/testbed-packages"], kind short, sout raw, serr pipe, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run: DBG: sending command to testbed: copyup /tmp/adt-run.0j5sF6/testbed-packages results/testbed-packages adt-run: DBG: got reply from testbed: ok adt-run: DBG: testbed supports reboot, creating /tmp/autopkgtest-reboot adt-run: DBG: testbed command ['sh', '-ecC', '[ ! -e /tmp/autopkgtest-reboot ] || exit 0; /bin/echo -e \'#!/bin/sh -e\\n[ -n "$1" ] || { echo "Usage: $0 " >&2; exit 1; }\\necho "$1" > /run/autopkgtest-reboot-mark\\ntest_script_pid=$(cat /tmp/adt_test_script_pid)\\np=$PPID; while true; do read _ c _ pp _ < /proc/$p/stat; [ $pp -ne $test_script_pid ] || break; p=$pp; done\\nkill -KILL $p\\n\' > /tmp/autopkgtest-reboot;chmod 755 /tmp/autopkgtest-reboot;[ -L /sbin/autopkgtest-reboot ] || ln -s /tmp/autopkgtest-reboot /sbin/autopkgtest-reboot 2>/dev/null || true'], kind short, sout raw, serr raw, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run: DBG: testbed command ['sh', '-ecC', '[ ! -e /tmp/autopkgtest-reboot-prepare ] || exit 0; /bin/echo -e \'#!/bin/sh -e\\n[ -n "$1" ] || { echo "Usage: $0 " >&2; exit 1; }\\necho "$1" > /run/autopkgtest-reboot-prepare-mark\\ntest_script_pid=$(cat /tmp/adt_test_script_pid)\\nkill -KILL $test_script_pid\\nwhile [ -e /run/autopkgtest-reboot-prepare-mark ]; do sleep 0.5; done\\n \'> /tmp/autopkgtest-reboot-prepare;chmod 755 /tmp/autopkgtest-reboot-prepare;'], kind short, sout raw, serr raw, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run: DBG: Binaries: initialising adt-run: DBG: Binaries: reset adt-run: DBG: / binaries rmtree results/binaries adt-run [18:41:23]: @@@@@@@@@@@@@@@@@@@@ unbuilt-tree /var/lib/jenkins/slaves/krillin-08/workspace/wily-boottest-apparmor/test-runner/tests/boottest adt-run: DBG: blame += /var/lib/jenkins/slaves/krillin-08/workspace/wily-boottest-apparmor/test-runner/tests/boottest adt-run: DBG: testbed reset: modified=False, deps_installed=[](r: False), deps_new=[](r: False) adt-run: DBG: testbed command ['mkdir', '-p', '/tmp/adt-run.0j5sF6'], kind short, sout raw, serr pipe, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run: DBG: sending command to testbed: copydown /var/lib/jenkins/slaves/krillin-08/workspace/wily-boottest-apparmor/test-runner/tests/boottest/ /tmp/adt-run.0j5sF6/ubtree-boottest/ adt-run: DBG: got reply from testbed: ok adt-run: DBG: testbed command ['chown', '-R', 'phablet', '--', '/tmp/adt-run.0j5sF6/ubtree-boottest'], kind short, sout raw, serr pipe, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run: DBG: testbed command ['sh', '-ec', 'su --shell=/bin/sh phablet -c \'set -e; exec 3>&1 >&2; set -x; cd .; builddir=$(mktemp -d /tmp/adt-run.0j5sF6/build.XXX); cd $builddir; cp -rd --preserve=timestamps -- "/tmp/adt-run.0j5sF6/ubtree-boottest" real-tree; chmod -R a+rX .; cd [a-z0-9]*/.; pwd >&3; sed -n "1 {s/).*//; s/ (/\\n/; p}" debian/changelog >&3; set +e; grep -q "^Restrictions:.*\\bbuild-needed\\b" debian/tests/control 2>/dev/null; echo $? >&3\''], kind build, sout pipe, serr raw, env ['LANG=C.UTF-8'] + cd . + mktemp -d /tmp/adt-run.0j5sF6/build.XXX + builddir=/tmp/adt-run.0j5sF6/build.dY3 + cd /tmp/adt-run.0j5sF6/build.dY3 + cp -rd --preserve=timestamps -- /tmp/adt-run.0j5sF6/ubtree-boottest real-tree + chmod -R a+rX . + cd real-tree/. + pwd + sed -n 1 {s/).*//; s/ (/\n/; p} debian/changelog + set +e + grep -q ^Restrictions:.*\bbuild-needed\b debian/tests/control + echo 1 adt-run: DBG: testbed command exited with code 0 adt-run [18:41:25]: testing package boottest version 0.1 adt-run [18:41:25]: build not needed adt-run: DBG: sending command to testbed: copyup /tmp/adt-run.0j5sF6/build.dY3/real-tree/ results/tests-tree/ adt-run: DBG: got reply from testbed: ok adt-run: DBG: processing dependency coreutils adt-run: DBG: Test defined: name boottest path debian/tests/boottest command "None" restrictions ['needs-root'] features [] depends ['coreutils'] clicks [] installed clicks [] adt-run [18:41:25]: test boottest: preparing adt-run: DBG: testbed reset: modified=False, deps_installed=[](r: False), deps_new=['coreutils'](r: False) adt-run: DBG: install_deps: deps_new=['coreutils'], recommends=False adt-run: DBG: Binaries: publish adt-run: DBG: Binaries: no registered binaries, not publishing anything adt-run: DBG: install-deps: satisfying coreutils adt-run: DBG: install-deps: architecture resolved: coreutils adt-run: DBG: testbed command ['test', '-w', '/var/lib/dpkg/status'], kind short, sout raw, serr raw, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run: DBG: can use apt-get on testbed: True adt-run: DBG: testbed command ['mkdir', '-p', '/tmp/adt-run.0j5sF6'], kind short, sout raw, serr pipe, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run: DBG: sending command to testbed: copydown results/adt-satdep.deb /tmp/adt-run.0j5sF6/adt-satdep.deb adt-run: DBG: got reply from testbed: ok adt-run: DBG: testbed command ['chown', '-R', 'phablet', '--', '/tmp/adt-run.0j5sF6/adt-satdep.deb'], kind short, sout raw, serr pipe, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run: DBG: testbed command ['dpkg', '--unpack', '/tmp/adt-run.0j5sF6/adt-satdep.deb'], kind short, sout pipe, serr pipe, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run: DBG: testbed command ['apt-get', 'install', '--quiet', '--quiet', '--assume-yes', '--fix-broken', '-o', 'APT::Install-Recommends=False', '-o', 'Debug::pkgProblemResolver=true'], kind install, sout raw, serr raw, env ['DEBIAN_FRONTEND=noninteractive', 'APT_LISTBUGS_FRONTEND=none', 'LANG=C.UTF-8'] Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done Setting up adt-satdep (0) ... adt-run: DBG: testbed command exited with code 0 adt-run: DBG: testbed command ['dpkg', '--status', 'adt-satdep'], kind short, sout pipe, serr pipe, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run: DBG: testbed command ['apt-get', '--simulate', '--quiet', '-o', 'APT::Get::Show-User-Simulation-Note=False', '--auto-remove', 'purge', 'adt-satdep'], kind short, sout pipe, serr pipe, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run: DBG: testbed command ['dpkg', '--purge', 'adt-satdep'], kind short, sout raw, serr raw, env ['LANG=C.UTF-8'] (Reading database ... 44008 files and directories currently installed.) Removing adt-satdep (0) ... adt-run: DBG: testbed command exited with code 0 adt-run: DBG: testbed command ['sh', '-ec', '[ -d /var/cache/apparmor -a -d /var/lib/apparmor/clicks ] && type aa-clickhook >/dev/null 2>&1'], kind short, sout raw, serr raw, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run: DBG: testbed has AppArmor/click adt-run [18:42:03]: Updating AppArmor rules to allow autopilot introspection for all clicks (will take a minute)... adt-run: DBG: testbed command ['sh', '-exc', "echo 'dbus (receive, send) bus=session path=/com/canonical/Autopilot/**,' > /var/cache/apparmor/click-ap.rules; aa-clickhook --force --include=/var/cache/apparmor/click-ap.rules"], kind install, sout raw, serr raw, env ['DEBIAN_FRONTEND=noninteractive', 'APT_LISTBUGS_FRONTEND=none', 'LANG=C.UTF-8'] + echo dbus (receive, send) bus=session path=/com/canonical/Autopilot/**, + aa-clickhook --force --include=/var/cache/apparmor/click-ap.rules WARN: --include specified, including '/var/cache/apparmor/click-ap.rules' in all profiles adt-run: DBG: testbed command exited with code 0 adt-run: DBG: testbed command ['sh', '-ec', "dpkg-query --show -f '${Package}\\t${Version}\\n' > /tmp/adt-run.0j5sF6/boottest-packages.all"], kind short, sout raw, serr pipe, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run: DBG: sending command to testbed: copyup /tmp/adt-run.0j5sF6/boottest-packages.all results/boottest-packages.all adt-run: DBG: got reply from testbed: ok adt-run: DBG: testbed command ['test', '-e', '/tmp/adt-run.0j5sF6/build.dY3/real-tree'], kind short, sout raw, serr raw, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run: DBG: copydown: tb path /tmp/adt-run.0j5sF6/build.dY3/real-tree already exists adt-run [18:43:11]: test boottest: [----------------------- adt-run: DBG: testbed command ['su', '-s', '/bin/bash', 'root', '-c', 'set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/adt-run.0j5sF6/build.dY3/real-tree"; mkdir -p -m 1777 -- "/tmp/adt-run.0j5sF6/boottest-artifacts"; export ADT_ARTIFACTS="/tmp/adt-run.0j5sF6/boottest-artifacts"; export ADTTMP=$(mktemp -d --tmpdir adttmp.XXXXXX); export DEBIAN_FRONTEND=noninteractive; rm -f /tmp/adt_test_script_pid; set -C; echo $$ > /tmp/adt_test_script_pid; set +C; trap "rm -rf $ADTTMP /tmp/adt_test_script_pid" EXIT INT QUIT PIPE; chmod 755 $ADTTMP; cd "$buildtree"; export LANG=C.UTF-8; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;chmod +x /tmp/adt-run.0j5sF6/build.dY3/real-tree/debian/tests/boottest; touch /tmp/adt-run.0j5sF6/boottest-stdout /tmp/adt-run.0j5sF6/boottest-stderr; /tmp/adt-run.0j5sF6/build.dY3/real-tree/debian/tests/boottest 2> >(tee -a /tmp/adt-run.0j5sF6/boottest-stderr >&2) > >(tee -a /tmp/adt-run.0j5sF6/boottest-stdout); '], kind test, sout raw, serr raw, env ['LANG=C.UTF-8'] bash: line 1: 4644 Killed /tmp/adt-run.0j5sF6/build.dY3/real-tree/debian/tests/boottest 2> >(tee -a /tmp/adt-run.0j5sF6/boottest-stderr >&2) > >(tee -a /tmp/adt-run.0j5sF6/boottest-stdout) adt-run: DBG: testbed command exited with code 137 adt-run: DBG: test process SIGKILLed, checking for reboot marker adt-run: DBG: testbed command ['cat', '/run/autopkgtest-reboot-mark'], kind short, sout pipe, serr pipe, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run [18:43:12]: test process requested reboot with marker reboot_mark adt-run: DBG: sending command to testbed: reboot Connection to localhost closed by remote host. Waiting for device ADB to appear... Preparing Ubuntu phone for running tests... Waiting for desktop to boot adt-run: DBG: got reply from testbed: ok adt-run: DBG: testbed supports reboot, creating /tmp/autopkgtest-reboot adt-run: DBG: testbed command ['sh', '-ecC', '[ ! -e /tmp/autopkgtest-reboot ] || exit 0; /bin/echo -e \'#!/bin/sh -e\\n[ -n "$1" ] || { echo "Usage: $0 " >&2; exit 1; }\\necho "$1" > /run/autopkgtest-reboot-mark\\ntest_script_pid=$(cat /tmp/adt_test_script_pid)\\np=$PPID; while true; do read _ c _ pp _ < /proc/$p/stat; [ $pp -ne $test_script_pid ] || break; p=$pp; done\\nkill -KILL $p\\n\' > /tmp/autopkgtest-reboot;chmod 755 /tmp/autopkgtest-reboot;[ -L /sbin/autopkgtest-reboot ] || ln -s /tmp/autopkgtest-reboot /sbin/autopkgtest-reboot 2>/dev/null || true'], kind short, sout raw, serr raw, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run: DBG: testbed command ['sh', '-ecC', '[ ! -e /tmp/autopkgtest-reboot-prepare ] || exit 0; /bin/echo -e \'#!/bin/sh -e\\n[ -n "$1" ] || { echo "Usage: $0 " >&2; exit 1; }\\necho "$1" > /run/autopkgtest-reboot-prepare-mark\\ntest_script_pid=$(cat /tmp/adt_test_script_pid)\\nkill -KILL $test_script_pid\\nwhile [ -e /run/autopkgtest-reboot-prepare-mark ]; do sleep 0.5; done\\n \'> /tmp/autopkgtest-reboot-prepare;chmod 755 /tmp/autopkgtest-reboot-prepare;'], kind short, sout raw, serr raw, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run: DBG: testbed command ['su', '-s', '/bin/bash', 'root', '-c', 'export ADT_REBOOT_MARK="reboot_mark"; set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/adt-run.0j5sF6/build.dY3/real-tree"; mkdir -p -m 1777 -- "/tmp/adt-run.0j5sF6/boottest-artifacts"; export ADT_ARTIFACTS="/tmp/adt-run.0j5sF6/boottest-artifacts"; export ADTTMP=$(mktemp -d --tmpdir adttmp.XXXXXX); export DEBIAN_FRONTEND=noninteractive; rm -f /tmp/adt_test_script_pid; set -C; echo $$ > /tmp/adt_test_script_pid; set +C; trap "rm -rf $ADTTMP /tmp/adt_test_script_pid" EXIT INT QUIT PIPE; chmod 755 $ADTTMP; cd "$buildtree"; export LANG=C.UTF-8; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;chmod +x /tmp/adt-run.0j5sF6/build.dY3/real-tree/debian/tests/boottest; touch /tmp/adt-run.0j5sF6/boottest-stdout /tmp/adt-run.0j5sF6/boottest-stderr; /tmp/adt-run.0j5sF6/build.dY3/real-tree/debian/tests/boottest 2> >(tee -a /tmp/adt-run.0j5sF6/boottest-stderr >&2) > >(tee -a /tmp/adt-run.0j5sF6/boottest-stdout); '], kind test, sout raw, serr raw, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run [18:44:15]: test boottest: -----------------------] adt-run: DBG: testbed executing test finished with exit status 0 adt-run: DBG: sending command to testbed: copyup /tmp/adt-run.0j5sF6/boottest-stdout results/boottest-stdout adt-run: DBG: got reply from testbed: ok adt-run: DBG: sending command to testbed: copyup /tmp/adt-run.0j5sF6/boottest-stderr results/boottest-stderr adt-run: DBG: got reply from testbed: ok adt-run [18:44:16]: test boottest: - - - - - - - - - - results - - - - - - - - - - boottest PASS adt-run: DBG: sending command to testbed: copyup /tmp/adt-run.0j5sF6/boottest-artifacts/ results/artifacts/ adt-run: DBG: got reply from testbed: ok adt-run: DBG: testbed command ['rm', '-rf', '/tmp/adt-run.0j5sF6/boottest-artifacts'], kind short, sout raw, serr pipe, env ['LANG=C.UTF-8'] adt-run: DBG: testbed command exited with code 0 adt-run [18:44:17]: Restoring click package AppArmor rules adt-run: DBG: testbed command ['sh', '-exc', 'rm -f /var/cache/apparmor/click-ap.rules; aa-clickhook --force'], kind install, sout raw, serr raw, env ['DEBIAN_FRONTEND=noninteractive', 'APT_LISTBUGS_FRONTEND=none', 'LANG=C.UTF-8'] + rm -f /var/cache/apparmor/click-ap.rules + aa-clickhook --force adt-run: DBG: testbed command exited with code 0 adt-run: DBG: needs_reset, previously=False, requested by run_tests() line 1339 adt-run: DBG: testbed stop adt-run: DBG: testbed close, scratch=/tmp/adt-run.0j5sF6 adt-run: DBG: sending command to testbed: close Exit request sent. adt-run: DBG: got reply from testbed: ok adt-run: DBG: sending command to testbed: quit adt-run: DBG: / tests-tree rmtree results/tests-tree