adt-run: DBG: testbed init adt-run [23:36:20]: version 3.14.2-0~1148~ubuntu14.04.1 adt-run [23:36:20]: command line: /usr/bin/adt-run --debug --no-built-binaries --unbuilt-tree /var/lib/jenkins/slaves/krillin-10/workspace/wily-boottest-qtmir/test-runner/tests/boottest -o results --apt-pocket=proposed --setup-commands=adt-commands --- adt-virt-ssh -s /usr/share/autopkgtest/ssh-setup/adb -- -s JB012976 adt-run: DBG: $ vserver: adt-virt-ssh -s /usr/share/autopkgtest/ssh-setup/adb -- -s JB012976 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.041s) 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.rhLVcN adt-run: DBG: sending command to testbed: print-execute-command adt-run: DBG: got reply from testbed: ok /tmp/adt-virt-ssh.r3xy4cxp/runcmd adt-run: DBG: sending command to testbed: capabilities adt-run: DBG: got reply from testbed: ok isolation-machine suggested-normal-user=phablet reboot root-on-testbed adt-run: DBG: testbed capabilities: ['isolation-machine', 'suggested-normal-user=phablet', 'reboot', 'root-on-testbed'] adt-run [23:36:25]: @@@@@@@@@@@@@@@@@@@@ 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.rhLVcN/${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 "^qtmir( \\(.*\\))?$"| 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 Hit http://ports.ubuntu.com wily Release.gpg Hit http://ports.ubuntu.com wily-updates Release.gpg Hit http://ports.ubuntu.com wily-security Release.gpg Hit http://ports.ubuntu.com wily-proposed Release.gpg Hit http://ports.ubuntu.com wily Release Hit http://ports.ubuntu.com wily-updates Release Hit http://ports.ubuntu.com wily-security Release Hit http://ports.ubuntu.com wily-proposed Release Hit http://ports.ubuntu.com wily/main Sources Hit http://ports.ubuntu.com wily/restricted Sources Hit http://ports.ubuntu.com wily/universe Sources Hit http://ports.ubuntu.com wily/main armhf Packages Hit http://ports.ubuntu.com wily/restricted armhf Packages Hit http://ports.ubuntu.com wily/universe armhf Packages Hit http://ports.ubuntu.com wily/main Translation-en Hit http://ports.ubuntu.com wily/restricted Translation-en Hit http://ports.ubuntu.com wily/universe Translation-en Hit http://ports.ubuntu.com wily-updates/main Sources Hit http://ports.ubuntu.com wily-updates/restricted Sources Hit http://ports.ubuntu.com wily-updates/universe Sources Hit http://ports.ubuntu.com wily-updates/main armhf Packages Hit http://ports.ubuntu.com wily-updates/restricted armhf Packages Hit http://ports.ubuntu.com wily-updates/universe armhf Packages Hit http://ports.ubuntu.com wily-updates/main Translation-en Hit http://ports.ubuntu.com wily-updates/restricted Translation-en Hit http://ports.ubuntu.com wily-updates/universe Translation-en Hit http://ports.ubuntu.com wily-security/main Sources Hit http://ports.ubuntu.com wily-security/restricted Sources Hit http://ports.ubuntu.com wily-security/universe Sources Hit http://ports.ubuntu.com wily-security/main armhf Packages Hit http://ports.ubuntu.com wily-security/restricted armhf Packages Hit http://ports.ubuntu.com wily-security/universe armhf Packages Hit http://ports.ubuntu.com wily-security/main Translation-en Hit http://ports.ubuntu.com wily-security/restricted Translation-en Hit http://ports.ubuntu.com wily-security/universe Translation-en Hit http://ports.ubuntu.com wily-proposed/main Sources Hit http://ports.ubuntu.com wily-proposed/restricted Sources Hit http://ports.ubuntu.com wily-proposed/universe Sources Hit http://ports.ubuntu.com wily-proposed/main armhf Packages Hit http://ports.ubuntu.com wily-proposed/restricted armhf Packages Hit http://ports.ubuntu.com wily-proposed/universe armhf Packages Hit http://ports.ubuntu.com wily-proposed/main Translation-en Hit http://ports.ubuntu.com wily-proposed/restricted Translation-en Hit http://ports.ubuntu.com wily-proposed/universe Translation-en Reading package lists... Reading package lists... Building dependency tree... Reading state information... dctrl-tools is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 111 not upgraded. Reading package lists... Building dependency tree... Reading state information... qtdeclarative5-qtmir-plugin is already the newest version. qtmir-android is already the newest version. qtmir-android set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 111 not upgraded. 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.rhLVcN/${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 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 [23:37:11]: testbed dpkg architecture: armhf adt-run: DBG: testbed command ['sh', '-ec', "dpkg-query --show -f '${Package}\\t${Version}\\n' > /tmp/adt-run.rhLVcN/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.rhLVcN/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 [23:37:13]: @@@@@@@@@@@@@@@@@@@@ unbuilt-tree /var/lib/jenkins/slaves/krillin-10/workspace/wily-boottest-qtmir/test-runner/tests/boottest adt-run: DBG: blame += /var/lib/jenkins/slaves/krillin-10/workspace/wily-boottest-qtmir/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.rhLVcN'], 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-10/workspace/wily-boottest-qtmir/test-runner/tests/boottest/ /tmp/adt-run.rhLVcN/ubtree-boottest/ adt-run: DBG: got reply from testbed: ok adt-run: DBG: testbed command ['chown', '-R', 'phablet', '--', '/tmp/adt-run.rhLVcN/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.rhLVcN/build.XXX); cd $builddir; cp -rd --preserve=timestamps -- "/tmp/adt-run.rhLVcN/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.rhLVcN/build.XXX + builddir=/tmp/adt-run.rhLVcN/build.PK5 + cd /tmp/adt-run.rhLVcN/build.PK5 + cp -rd --preserve=timestamps -- /tmp/adt-run.rhLVcN/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 [23:37:14]: testing package boottest version 0.1 adt-run [23:37:14]: build not needed adt-run: DBG: sending command to testbed: copyup /tmp/adt-run.rhLVcN/build.PK5/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 [23:37:14]: 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.rhLVcN'], 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.rhLVcN/adt-satdep.deb adt-run: DBG: got reply from testbed: ok adt-run: DBG: testbed command ['chown', '-R', 'phablet', '--', '/tmp/adt-run.rhLVcN/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.rhLVcN/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 ... 41535 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 [23:37:28]: 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.rhLVcN/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.rhLVcN/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.rhLVcN/build.PK5/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.rhLVcN/build.PK5/real-tree already exists adt-run [23:38:36]: 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.rhLVcN/build.PK5/real-tree"; mkdir -p -m 1777 -- "/tmp/adt-run.rhLVcN/boottest-artifacts"; export ADT_ARTIFACTS="/tmp/adt-run.rhLVcN/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.rhLVcN/build.PK5/real-tree/debian/tests/boottest; touch /tmp/adt-run.rhLVcN/boottest-stdout /tmp/adt-run.rhLVcN/boottest-stderr; /tmp/adt-run.rhLVcN/build.PK5/real-tree/debian/tests/boottest 2> >(tee -a /tmp/adt-run.rhLVcN/boottest-stderr >&2) > >(tee -a /tmp/adt-run.rhLVcN/boottest-stdout); '], kind test, sout raw, serr raw, env ['LANG=C.UTF-8'] bash: line 1: 7275 Killed /tmp/adt-run.rhLVcN/build.PK5/real-tree/debian/tests/boottest 2> >(tee -a /tmp/adt-run.rhLVcN/boottest-stderr >&2) > >(tee -a /tmp/adt-run.rhLVcN/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 [23:38:36]: 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 ERROR: timed out waiting for Unity greeter