Bug error: argument of type 'NoneType' is not iterable
lava-dispatcher, installed at version: 2018.11+stretch
start: 0 validate
Start time: 2019-02-20 14:53:07.186365+00:00 (UTC)
validate duration: 0.00
case: validate
case_id: 345621
definition: lava
result: pass
start: 1 scp-overlay (timeout 01:10:00) [common]
start: 1.1 lava-overlay (timeout 01:10:00) [common]
[common] Preparing overlay tarball in /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p
makedir: /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin
makedir: /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/tests
makedir: /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/results
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-add-keys
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-add-sources
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-background-process-start
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-background-process-stop
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-common-functions
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-echo-ipv4
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-install-packages
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-installed-packages
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-os-build
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-probe-channel
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-probe-ip
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-target-ip
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-target-mac
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-target-storage
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-test-case
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-test-event
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-test-feedback
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-test-raise
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-test-reference
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-test-runner
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-test-set
Creating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-test-shell
Updating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-add-keys (debian)
Updating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-add-sources (debian)
Updating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-install-packages (debian)
Updating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-installed-packages (debian)
Updating /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/bin/lava-os-build (debian)
start: 1.1.1 ssh-authorize (timeout 01:10:00) [common]
No authorisation required.
end: 1.1.1 ssh-authorize (duration 00:00:00) [common]
start: 1.1.2 lava-vland-overlay (timeout 01:10:00) [common]
skipped lava-vland-overlay
end: 1.1.2 lava-vland-overlay (duration 00:00:00) [common]
start: 1.1.3 lava-multinode-overlay (timeout 01:10:00) [common]
skipped lava-multinode-overlay
end: 1.1.3 lava-multinode-overlay (duration 00:00:00) [common]
start: 1.1.4 test-definition (timeout 01:10:00) [common]
Loading test definitions
start: 1.1.4.1 git-repo-action (timeout 01:10:00) [common]
Using /lava-22377 at stage 0
Fetching tests from git@172.19.20.15:/home/data/test-definitions.git
Running '/usr/bin/git clone git@172.19.20.15:/home/data/test-definitions.git /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/0/tests/0_golang_debian --depth=1'
Tests stored (tmp) in /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/0/tests/0_golang_debian/auto-test/middleware/language/golang/golang.yaml
uuid=22377_1.1.4.1 testdef={'testdef_pattern': {'fixupdict': None, 'pattern': '^(?!.+ED)(?P<test_case_id>\\w+)\\s+(?P<result>\\w+)\\s+\\d$'}}
end: 1.1.4.1 git-repo-action (duration 00:00:02) [common]
case: git-repo-action
case_id: 345626
definition: lava
duration: 1.96
extra: ...
level: 1.1.4.1
namespace: common
result: pass
start: 1.1.4.2 test-overlay (timeout 01:09:58) [common]
end: 1.1.4.2 test-overlay (duration 00:00:00) [common]
case: test-overlay
case_id: 345627
definition: lava
duration: 0.01
extra: ...
level: 1.1.4.2
namespace: common
result: pass
start: 1.1.4.3 test-install-overlay (timeout 01:09:58) [common]
end: 1.1.4.3 test-install-overlay (duration 00:00:00) [common]
case: test-install-overlay
case_id: 345628
definition: lava
duration: 0.01
extra: ...
level: 1.1.4.3
namespace: common
result: pass
start: 1.1.4.4 test-runscript-overlay (timeout 01:09:58) [common]
runner path: /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/0/tests/0_golang_debian test_uuid 22377_1.1.4.1
end: 1.1.4.4 test-runscript-overlay (duration 00:00:00) [common]
case: test-runscript-overlay
case_id: 345629
definition: lava
duration: 0.01
extra: ...
level: 1.1.4.4
namespace: common
result: pass
Creating lava-test-runner.conf files
Using lava-test-runner path: /var/lib/lava/dispatcher/tmp/22377/lava-overlay-nlb8nx2p/lava-22377/0 for stage 0
- 0_golang_debian
end: 1.1.4 test-definition (duration 00:00:02) [common]
start: 1.1.5 compress-overlay (timeout 01:09:58) [common]
end: 1.1.5 compress-overlay (duration 00:00:09) [common]
start: 1.1.6 persistent-nfs-overlay (timeout 01:09:49) [common]
end: 1.1.6 persistent-nfs-overlay (duration 00:00:00) [common]
end: 1.1 lava-overlay (duration 00:00:11) [common]
start: 1.2 prepare-scp-overlay (timeout 01:09:49) [common]
start: 1.2.1 extract-rootfs (timeout 01:09:49) [common]
end: 1.2.1 extract-rootfs (duration 00:00:00) [common]
start: 1.2.2 extract-modules (timeout 01:09:49) [common]
end: 1.2.2 extract-modules (duration 00:00:00) [common]
Preparing to copy: overlay-1.1.5.tar.gz
end: 1.2 prepare-scp-overlay (duration 00:00:00) [common]
start: 1.3 deploy-device-env (timeout 01:09:49) [common]
end: 1.3 deploy-device-env (duration 00:00:00) [common]
end: 1 scp-overlay (duration 00:00:11) [common]
start: 2 login-ssh (timeout 01:10:00) [common]
start: 2.1 scp-deploy (timeout 01:10:00) [common]
scp-deploy pre Connecting to device using '/usr/local/bin/lava_deploy_v2.sh -n {TREE_NAME} -d d05ssh04 -l 172.19.20.24:8080 -o {DISTRO} -v {DISTRO_VERSION} -t {DEPLOY_TYPE}'
scp-deploy substitute command : '['/usr/local/bin/lava_deploy_v2.sh', '-n', 'open-estuary', '-d', 'd05ssh04', '-l', '172.19.20.24:8080', '-o', 'debian', '-v', '/open-estuary/daily_20190220/estuary', '-t', 'BOOT_ISO']'
nice /usr/local/bin/lava_deploy_v2.sh -n open-estuary -d d05ssh04 -l 172.19.20.24:8080 -o debian -v /open-estuary/daily_20190220/estuary -t BOOT_ISO
output: + main -n open-estuary -d d05ssh04 -l 172.19.20.24:8080 -o debian -v /open-estuary/daily_20190220/estuary -t BOOT_ISO
output: + parse_input -n open-estuary -d d05ssh04 -l 172.19.20.24:8080 -o debian -v /open-estuary/daily_20190220/estuary -t BOOT_ISO
output: + OPTIND=1
output: + properties_file=
output: + getopts 'h?l:n:d:o:v:t:' opt
output: + case "$opt" in
output: + TREE_NAME=open-estuary
output: + TREE_NAME=open-estuary
output: + getopts 'h?l:n:d:o:v:t:' opt
output: + case "$opt" in
output: + TARGET_HOSTNAME=d05ssh04
output: + TARGET_HOSTNAME=d05ssh04
output: + getopts 'h?l:n:d:o:v:t:' opt
output: + case "$opt" in
output: + JENKINS_URL=172.19.20.24:8080
output: + JENKINS_URL=172.19.20.24:8080
output: + getopts 'h?l:n:d:o:v:t:' opt
output: + case "$opt" in
output: + DISTRO=debian
output: + DISTRO=debian
output: + getopts 'h?l:n:d:o:v:t:' opt
output: + case "$opt" in
output: + DISTRO_VERSION=/open-estuary/daily_20190220/estuary
output: + DISTRO_VERSION=/open-estuary/daily_20190220/estuary
output: + getopts 'h?l:n:d:o:v:t:' opt
output: + case "$opt" in
output: + DEPLOY_TYPE=BOOT_ISO
output: + DEPLOY_TYPE=BOOT_ISO
output: + getopts 'h?l:n:d:o:v:t:' opt
output: + shift 12
output: + JENKINS_URL=172.19.20.24:8080
output: + TREE_NAME=open-estuary
output: + TARGET_HOSTNAME=d05ssh04
output: + DISTRO=debian
output: + DISTRO_VERSION=/open-estuary/daily_20190220/estuary
output: + DEPLOY_TYPE=BOOT_ISO
output: + echo d05ssh04
output: d05ssh04
output: + '[' -e jenkins-cli.jar ']'
output: + :
output: ++ python /usr/local/bin/parseryaml.py -f /usr/local/bin/devices_os.yaml -s d05ssh04 -k distro_version
output: + os_version=/open-estuary/daily_20190220/estuary
output: ++ python /usr/local/bin/parseryaml.py -f /usr/local/bin/devices_os.yaml -s d05ssh04 -k os
output: + os_type=debian
output: ++ python /usr/local/bin/parseryaml.py -f /usr/local/bin/devices.yaml -s d05ssh04 -k ip
output: + TARGET_IP=172.19.20.149
output: ++ python /usr/local/bin/parseryaml.py -f /usr/local/bin/devices.yaml -s d05ssh04 -k os_user
output: + os_user=root
output: ++ python /usr/local/bin/parseryaml.py -f /usr/local/bin/devices.yaml -s d05ssh04 -k os_passwd
output: + os_passwd=root
output: ++ python /usr/local/bin/parseryaml.py -f /usr/local/bin/devices_os.yaml -s d05ssh04 -k module
output: + os_module='modulenot exist in /usr/local/bin/devices_os.yaml'
output: ++ python /usr/local/bin/module_deploy.py --DUT d05ssh04
output: + module=estuary
output: + timeout 60 sshpass -p root ssh-copy-id -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@172.19.20.149
output:
output: /usr/bin/ssh-copy-id: ERROR: failed to open ID file '/.pub': No such file
output: + timeout 60 sshpass -p root ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@172.19.20.149 'rm -rf /*.tar.gz;rm -rf /lava-*'
output: Warning: Permanently added '172.19.20.149' (ECDSA) to the list of known hosts.
output: + [[ BOOT_ISO == \N\O\_\D\E\P\L\O\Y ]]
output: + [[ /open-estuary/daily_20190220/estuary == /open-estuary/daily_20190220/estuary ]]
output: + [[ debian == debian ]]
output: + echo 'do not deploy os'
output: do not deploy os
output:
Using device data host_address for primary connection.
scp-deploy Connecting to device 172.19.20.149 using 'ssh -o Compression=yes -o PasswordAuthentication=no -o LogLevel=FATAL -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 22'
scp-deploy: Wait for prompt ['root@ubuntu:/#', 'root@ubuntu:~#', 'root@centos ~', 'root@debian:/#', 'root@debian:~#', 'root@localhost ~'] (timeout 01:09:59)
Linux debian 4.19.0-9-arm64 #1 SMP Debian 4.19.5.estuary.9-1 (2018-12-18) aarch64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Feb 20 22:58:39 2019 from 172.19.20.21
Copying overlay using scp -o Compression=yes -o PasswordAuthentication=no -o LogLevel=FATAL -P 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /var/lib/lava/dispatcher/tmp/22377/compress-overlay-41gwq2u8/overlay-1.1.5.tar.gz to 172.19.20.149
[scp, -o, Compression=yes, -o, PasswordAuthentication=no, -o, LogLevel=FATAL, -P,
'22', -o, UserKnownHostsFile=/dev/null, -o, StrictHostKeyChecking=no, /var/lib/lava/dispatcher/tmp/22377/compress-overlay-41gwq2u8/overlay-1.1.5.tar.gz,
'root@172.19.20.149:/22377-overlay-1.1.5.tar.gz']
nice scp -o Compression=yes -o PasswordAuthentication=no -o LogLevel=FATAL -P 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /var/lib/lava/dispatcher/tmp/22377/compress-overlay-41gwq2u8/overlay-1.1.5.tar.gz root@172.19.20.149:/22377-overlay-1.1.5.tar.gz
output:
Already connected
end: 2.1 scp-deploy (duration 00:00:07) [common]
case: scp-deploy
case_id: 345630
definition: lava
duration: 7.42
extra: ...
level: 2.1
namespace: common
result: pass
start: 2.2 prepare-ssh (timeout 01:09:53) [common]
end: 2.2 prepare-ssh (duration 00:00:00) [common]
start: 2.3 ssh-connection (timeout 01:09:53) [common]
Already connected
end: 2.3 ssh-connection (duration 00:00:00) [common]
start: 2.4 auto-login-action (timeout 00:02:00) [common]
The string 'root@centos ~' does not look like a typical prompt and could match status messages instead. Please check the job log files and use a prompt string which matches the actual prompt string more closely.
The string 'root@localhost ~' does not look like a typical prompt and could match status messages instead. Please check the job log files and use a prompt string which matches the actual prompt string more closely.
Using line separator: #'\n'#
No login prompt set.
Skipping kernel messages
end: 2.4 auto-login-action (duration 00:00:00) [common]
start: 2.5 expect-shell-connection (timeout 01:09:53) [common]
Forcing a shell prompt, looking for ['root@ubuntu:/#', 'root@ubuntu:~#', 'root@centos ~', 'root@debian:/#', 'root@debian:~#', 'root@localhost ~']
root@debian:~#
expect-shell-connection: Wait for prompt ['root@ubuntu:/#', 'root@ubuntu:~#', 'root@centos ~', 'root@debian:/#', 'root@debian:~#', 'root@localhost ~'] (timeout 01:10:00)
end: 2.5 expect-shell-connection (duration 00:00:00) [common]
start: 2.6 export-device-env (timeout 01:09:53) [common]
end: 2.6 export-device-env (duration 00:00:00) [common]
start: 2.7 scp-overlay-unpack (timeout 01:09:53) [common]
tar --warning no-timestamp -C / -xzf /22377-overlay-1.1.5.tar.gz
root@debian:~# tar --warning no-timestamp -C / -xzf /22377-overlay-1.1.5.tar.gz
scp-overlay-unpack: Wait for prompt ['root@ubuntu:/#', 'root@ubuntu:~#', 'root@centos ~', 'root@debian:/#', 'root@debian:~#', 'root@localhost ~'] (timeout 01:10:00)
< no-timestamp -C / -xzf /22377-overlay-1.1.5.tar.gz
end: 2.7 scp-overlay-unpack (duration 00:00:02) [common]
end: 2 login-ssh (duration 00:00:09) [common]
start: 3 lava-test-retry (timeout 02:19:40) [common]
start: 3.1 lava-test-shell (timeout 02:19:40) [common]
Using namespace: common
#
root@debian:~# #
lava-test-shell: Wait for prompt ['root@ubuntu:/#', 'root@ubuntu:~#', 'root@centos ~', 'root@debian:/#', 'root@debian:~#', 'root@localhost ~'] (timeout 02:20:00)
#
Using /lava-22377
export SHELL=/bin/bash
root@debian:~# export SHELL=/bin/bash
/lava-22377/bin/lava-test-runner /lava-22377/0
/lava-22377/bin/lava-test-runner /lava-22377/0
Test shell timeout: 10s (minimum of the action and connection timeout)
export SHELL=/bin/bash
root@debian:~# /lava-22377/bin/lava-test-runner /lava-22377/0
+ export TESTRUN_ID=0_golang_debian
+ TESTRUN_ID=0_golang_debian
+ cd /lava-22377/0/tests/0_golang_debian
++ cat uuid
+ UUID=22377_1.1.4.1
+ set +x
<LAVA_SIGNAL_STARTRUN 0_golang_debian 22377_1.1.4.1>
+ cd auto-test/middleware/language/golang
+ ./golang.sh
Received signal: <STARTRUN> 0_golang_debian 22377_1.1.4.1
Starting test lava.0_golang_debian (22377_1.1.4.1)
Enabling test definition pattern '^(?!.+ED)(?P<test_case_id>\\w+)\\s+(?P<result>\\w+)\\s+\\d$'
Enabling test definition fixup None
+ cd ../../../../utils
+ . ./sys_info.sh
++ USERNAME=testing
++ PASSWD=open1234asd
++ distro=
+++ cat /etc/os-release
+++ grep PRETTY_NAME
++ sys_info='PRETTY_NAME=\"Debian GNU/Linux 9 (stretch)\"'
+++ echo 'PRETTY_NAME=\"Debian' GNU/Linux 9 '(stretch)\"'
+++ grep -E 'UBUNTU|Ubuntu|ubuntu'
++ '[' x '!=' x ']'
+++ echo 'PRETTY_NAME=\"Debian' GNU/Linux 9 '(stretch)\"'
+++ grep -E 'cent|CentOS|centos'
++ '[' x '!=' x ']'
+++ echo 'PRETTY_NAME=\"Debian' GNU/Linux 9 '(stretch)\"'
+++ grep -E 'fed|Fedora|fedora'
++ '[' x '!=' x ']'
+++ echo 'PRETTY_NAME=\"Debian' GNU/Linux 9 '(stretch)\"'
+++ grep -E 'DEB|Deb|deb'
++ '[' 'PRETTY_NAME=\"Debian GNU/Linux 9 (stretch)\"x' '!=' x ']'
++ distro=debian
+++ ip addr
+++ grep -A2 'state UP'
+++ tail -1
+++ awk '{print $2}'
+++ cut -d / -f 1
++ local_ip=fe80::c2a8:3ff:fe7f:1
++ '[' fe80::c2a8:3ff:fe7f:1x = x ']'
++ start_service='systemctl start'
++ stop_service='systemctl stop'
++ reload_service='systemctl reload'
++ restart_service='systemctl restart'
++ enable_service='systemctl enable'
++ disable_service='systemctl disable'
++ status_service='systemctl status'
++ case $distro in
++ update_commands='apt-get update -y'
++ install_commands='apt-get install -y'
++ start_service=
++ reload_service=
++ restart_service=
++ status_service=
++ '[' debian == none ']'
++ case $distro in
++ grep 5.0 /etc/apt/sources.list.d/estuary.list
deb http://172.19.20.112/estuary-releases/5.0/debian/ estuary-5.0 main
deb-src http://172.19.20.112/estuary-releases/5.0/debian/ estuary-5.0 main
++ '[' 0 -ne 0 ']'
++ red='\e[0;41m'
++ RED='\e[1;31m'
++ green='\e[0;32m'
++ GREEN='\e[1;32m'
++ yellow='\e[5;43m'
++ YELLOW='\e[1;33m'
++ blue='\e[0;34m'
++ BLUE='\e[1;34m'
++ purple='\e[0;35m'
++ PURPLE='\e[1;35m'
++ cyan='\e[4;36m'
++ CYAN='\e[1;36m'
++ WHITE='\e[1;37m'
++ NC='\e[0m'
+ . ./sh-test-lib
++ LANG=C
++ ci_http_addr=http://192.168.50.122:8083
+++ ip route show
+++ grep default
+++ tail -1
+++ awk '{print $3}'
++ defult_route=172.19.20.1
++ [[ 172.19.20.1 =~ 172\.19\.20\. ]]
++ ci_http_addr=http://172.19.20.15:8083
++ echo http://172.19.20.15:8083
http://172.19.20.15:8083
++ export LANG ci_http_addr
+ cd -
/lava-22377/0/tests/0_golang_debian/auto-test/middleware/language/golang
+ case \"${distro}\" in
+ pkgs='golang net-tools gcc'
+ install_deps 'golang net-tools gcc'
+ pkgs='golang net-tools gcc'
+ '[' -z 'golang net-tools gcc' ']'
+ skip_install=
+ let i=0
+ '[' '' = True ']'
+ '[' '' = true ']'
+ check_root
++ id -ru
+ '[' 0 -eq 0 ']'
+ return 0
+ info_msg 'Installing golang net-tools gcc'
+ msg='Installing golang net-tools gcc'
+ '[' -z 'Installing golang net-tools gcc' ']'
+ printf 'INFO: %s\n' 'Installing golang net-tools gcc'
INFO: Installing golang net-tools gcc
+ dist_name
+ '[' -f /etc/os-release ']'
++ . /etc/os-release
+++ PRETTY_NAME='Debian GNU/Linux 9 (stretch)'
+++ NAME='Debian GNU/Linux'
+++ VERSION_ID=9
+++ VERSION='9 (stretch)'
+++ ID=debian
+++ HOME_URL=https://www.debian.org/
+++ SUPPORT_URL=https://www.debian.org/support
+++ BUG_REPORT_URL=https://bugs.debian.org/
++ echo debian
+ dist=debian
+ '[' debian == opensuse-leap ']'
++ echo debian
++ tr '[:upper:]' '[:lower:]'
+ dist=debian
+ case \"${dist}\" in
+ case \"${dist}\" in
+ DEBIAN_FRONTEND=noninteractive
+ apt-get update -q -y
Ign:1 http://172.19.20.112/debian stretch InRelease
Ign:2 http://172.19.20.112/debian-security stretch/updates InRelease
Ign:3 http://172.19.20.112/estuary-releases/5.0/debian estuary-5.0 InRelease
Ign:4 http://172.19.20.112/estuary-releases/5.2/debian estuary-5.2 InRelease
Hit:5 http://172.19.20.112/debian stretch Release
Hit:6 http://172.19.20.112/debian-security stretch/updates Release
Hit:7 http://172.19.20.112/estuary-releases/5.0/debian estuary-5.0 Release
Hit:8 http://172.19.20.112/estuary-releases/5.2/debian estuary-5.2 Release
Reading package lists...
W: Conflicting distribution: http://172.19.20.112/estuary-releases/5.0/debian estuary-5.0 Release (expected estuary-5.0 but got )
W: Conflicting distribution: http://172.19.20.112/estuary-releases/5.2/debian estuary-5.2 Release (expected estuary-5.2 but got )
+ (( 0 < 5 ))
+ DEBIAN_FRONTEND=noninteractive
+ apt-get install -q -y golang net-tools gcc
Reading package lists...
Building dependency tree...
Reading state information...
gcc is already the newest version (4:6.3.0-4).
The following additional packages will be installed:
golang-1.7 golang-1.7-doc golang-1.7-go golang-1.7-src golang-doc golang-go
golang-src libglib2.0-0 libglib2.0-data pkg-config shared-mime-info
xdg-user-dirs
Suggested packages:
bzr git mercurial subversion
The following NEW packages will be installed:
golang golang-1.7 golang-1.7-doc golang-1.7-go golang-1.7-src golang-doc
golang-go golang-src libglib2.0-0 libglib2.0-data net-tools pkg-config
shared-mime-info xdg-user-dirs
0 upgraded, 14 newly installed, 0 to remove and 26 not upgraded.
Need to get 35.3 MB of archives.
After this operation, 180 MB of additional disk space will be used.
Get:1 http://172.19.20.112/debian-security stretch/updates/main arm64 golang-1.7-src arm64 1.7.4-2+deb9u1 [7677 kB]
Get:2 http://172.19.20.112/debian-security stretch/updates/main arm64 golang-1.7-go arm64 1.7.4-2+deb9u1 [19.1 MB]
Get:3 http://172.19.20.112/debian-security stretch/updates/main arm64 golang-1.7-doc all 1.7.4-2+deb9u1 [2391 kB]
Get:4 http://172.19.20.112/debian-security stretch/updates/main arm64 golang-1.7 all 1.7.4-2+deb9u1 [26.9 kB]
Get:5 http://172.19.20.112/debian stretch/main arm64 golang-src arm64 2:1.7~5 [3560 B]
Get:6 http://172.19.20.112/debian stretch/main arm64 golang-go arm64 2:1.7~5 [22.7 kB]
Get:7 http://172.19.20.112/debian stretch/main arm64 golang-doc all 2:1.7~5 [3600 B]
Get:8 http://172.19.20.112/debian stretch/main arm64 golang arm64 2:1.7~5 [3538 B]
Get:9 http://172.19.20.112/debian stretch/main arm64 libglib2.0-0 arm64 2.50.3-2 [2494 kB]
Get:10 http://172.19.20.112/debian stretch/main arm64 libglib2.0-data all 2.50.3-2 [2517 kB]
Get:11 http://172.19.20.112/debian stretch/main arm64 net-tools arm64 1.60+git20161116.90da8a0-1 [236 kB]
Get:12 http://172.19.20.112/debian stretch/main arm64 pkg-config arm64 0.29-4+b1 [60.6 kB]
Get:13 http://172.19.20.112/debian stretch/main arm64 shared-mime-info arm64 1.8-1+deb9u1 [728 kB]
Get:14 http://172.19.20.112/debian stretch/main arm64 xdg-user-dirs arm64 0.15-2+b1 [51.2 kB]
Fetched 35.3 MB in 20s (1715 kB/s)
Selecting previously unselected package golang-1.7-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 ... 33047 files and directories currently installed.)
Preparing to unpack .../00-golang-1.7-src_1.7.4-2+deb9u1_arm64.deb ...
Unpacking golang-1.7-src (1.7.4-2+deb9u1) ...
Selecting previously unselected package golang-1.7-go.
Preparing to unpack .../01-golang-1.7-go_1.7.4-2+deb9u1_arm64.deb ...
Unpacking golang-1.7-go (1.7.4-2+deb9u1) ...
Selecting previously unselected package golang-1.7-doc.
Preparing to unpack .../02-golang-1.7-doc_1.7.4-2+deb9u1_all.deb ...
Unpacking golang-1.7-doc (1.7.4-2+deb9u1) ...
Selecting previously unselected package golang-1.7.
Preparing to unpack .../03-golang-1.7_1.7.4-2+deb9u1_all.deb ...
Unpacking golang-1.7 (1.7.4-2+deb9u1) ...
Selecting previously unselected package golang-src.
Preparing to unpack .../04-golang-src_2%3a1.7~5_arm64.deb ...
Unpacking golang-src (2:1.7~5) ...
Selecting previously unselected package golang-go.
Preparing to unpack .../05-golang-go_2%3a1.7~5_arm64.deb ...
Unpacking golang-go (2:1.7~5) ...
Selecting previously unselected package golang-doc.
Preparing to unpack .../06-golang-doc_2%3a1.7~5_all.deb ...
Unpacking golang-doc (2:1.7~5) ...
Selecting previously unselected package golang.
Preparing to unpack .../07-golang_2%3a1.7~5_arm64.deb ...
Unpacking golang (2:1.7~5) ...
Selecting previously unselected package libglib2.0-0:arm64.
Preparing to unpack .../08-libglib2.0-0_2.50.3-2_arm64.deb ...
Unpacking libglib2.0-0:arm64 (2.50.3-2) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../09-libglib2.0-data_2.50.3-2_all.deb ...
Unpacking libglib2.0-data (2.50.3-2) ...
Selecting previously unselected package net-tools.
Preparing to unpack .../10-net-tools_1.60+git20161116.90da8a0-1_arm64.deb ...
Unpacking net-tools (1.60+git20161116.90da8a0-1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../11-pkg-config_0.29-4+b1_arm64.deb ...
Unpacking pkg-config (0.29-4+b1) ...
Selecting previously unselected package shared-mime-info.
Preparing to unpack .../12-shared-mime-info_1.8-1+deb9u1_arm64.deb ...
Unpacking shared-mime-info (1.8-1+deb9u1) ...
Selecting previously unselected package xdg-user-dirs.
Preparing to unpack .../13-xdg-user-dirs_0.15-2+b1_arm64.deb ...
Unpacking xdg-user-dirs (0.15-2+b1) ...
Setting up libglib2.0-0:arm64 (2.50.3-2) ...
No schema files found: doing nothing.
Setting up pkg-config (0.29-4+b1) ...
Setting up libglib2.0-data (2.50.3-2) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up shared-mime-info (1.8-1+deb9u1) ...
Setting up golang-1.7-src (1.7.4-2+deb9u1) ...
Setting up net-tools (1.60+git20161116.90da8a0-1) ...
Setting up xdg-user-dirs (0.15-2+b1) ...
Setting up golang-src (2:1.7~5) ...
Setting up golang-1.7-go (1.7.4-2+deb9u1) ...
Setting up golang-1.7-doc (1.7.4-2+deb9u1) ...
Setting up golang-go (2:1.7~5) ...
Setting up golang-1.7 (1.7.4-2+deb9u1) ...
Setting up golang-doc (2:1.7~5) ...
Setting up golang (2:1.7~5) ...
+ '[' 0 -eq 0 ']'
+ break
+ '[' 0 -ne 0 ']'
+ '[' 0 -ge 5 ']'
+ print_info 0 install-golang
+ '[' 0 -ne 0 ']'
+ result=pass
+ cor='\e[1;32m'
+ test_name=install-golang
+ echo -e '\e[1;32mthe result of install-golang is pass\e[0m'
[1;32mthe result of install-golang is pass[0m
+ lava-test-case install-golang --result pass
<LAVA_SIGNAL_TESTCASE TEST_CASE_ID=install-golang RESULT=pass>
Received signal: <TESTCASE> TEST_CASE_ID=install-golang RESULT=pass
case: install-golang
case_id: 345668
definition: 0_golang_debian
result: pass
+ go version
go version go1.7.4 linux/arm64
+ print_info 0 golang-version
+ '[' 0 -ne 0 ']'
+ result=pass
+ cor='\e[1;32m'
+ test_name=golang-version
+ echo -e '\e[1;32mthe result of golang-version is pass\e[0m'
[1;32mthe result of golang-version is pass[0m
+ lava-test-case golang-version --result pass
<LAVA_SIGNAL_TESTCASE TEST_CASE_ID=golang-version RESULT=pass>
Received signal: <TESTCASE> TEST_CASE_ID=golang-version RESULT=pass
case: golang-version
case_id: 345669
definition: 0_golang_debian
result: pass
+ cat
+ go run hello.go
+ grep Hello
Hello, World!
+ print_info 0 run-simple-go
+ '[' 0 -ne 0 ']'
+ result=pass
+ cor='\e[1;32m'
+ test_name=run-simple-go
+ echo -e '\e[1;32mthe result of run-simple-go is pass\e[0m'
[1;32mthe result of run-simple-go is pass[0m
+ lava-test-case run-simple-go --result pass
<LAVA_SIGNAL_TESTCASE TEST_CASE_ID=run-simple-go RESULT=pass>
Received signal: <TESTCASE> TEST_CASE_ID=run-simple-go RESULT=pass
case: run-simple-go
case_id: 345670
definition: 0_golang_debian
result: pass
+ cat
+ go run maximum.go
+ grep maximum
the maximum value : 200
+ print_info 0 run-maximum-go
+ '[' 0 -ne 0 ']'
+ result=pass
+ cor='\e[1;32m'
+ test_name=run-maximum-go
+ echo -e '\e[1;32mthe result of run-maximum-go is pass\e[0m'
[1;32mthe result of run-maximum-go is pass[0m
+ lava-test-case run-maximum-go --result pass
<LAVA_SIGNAL_TESTCASE TEST_CASE_ID=run-maximum-go RESULT=pass>
Received signal: <TESTCASE> TEST_CASE_ID=run-maximum-go RESULT=pass
case: run-maximum-go
case_id: 345671
definition: 0_golang_debian
result: pass
+ cat
+ go run concurrent.go
5
8
Marking unfinished test run as failed
case: 0_golang_debian
case_id: 345672
commit_id: 8548a94a580134cd1012f19292f20c433241aff1
definition: lava
duration: 82.87
result: fail
uuid: 22377_1.1.4.1
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/lava_dispatcher/action.py", line 225, in run_actions
new_connection = action.run(connection, action_max_end_time)
File "/usr/lib/python3/dist-packages/lava_dispatcher/actions/test/shell.py", line 297, in run
while self._keep_running(test_connection, test_connection.timeout, connection.check_char):
File "/usr/lib/python3/dist-packages/lava_dispatcher/actions/test/shell.py", line 616, in _keep_running
return self.check_patterns(list(self.patterns.keys())[retval], test_connection, check_char)
File "/usr/lib/python3/dist-packages/lava_dispatcher/actions/test/shell.py", line 609, in check_patterns
ret_val = self.pattern_test_case_result(test_connection)
File "/usr/lib/python3/dist-packages/lava_dispatcher/actions/test/shell.py", line 518, in pattern_test_case_result
if res['result'] in fixupdict:
TypeError: argument of type 'NoneType' is not iterable
end: 3.1 lava-test-shell (duration 00:01:23) [common]
case: lava-test-shell
case_id: 345673
definition: lava
duration: 83.19
extra: ...
level: 3.1
namespace: common
result: fail
argument of type 'NoneType' is not iterable
end: 3 lava-test-retry (duration 00:01:23) [common]
case: lava-test-retry
case_id: 345674
definition: lava
duration: 83.19
extra: ...
level: 3
namespace: common
result: fail
Cleaning after the job
start: 4.1 power-off (timeout 00:00:10) [common]
end: 4.1 power-off (duration 00:00:00) [common]
case: power-off
case_id: 345675
definition: lava
duration: 0.00
extra: ...
level: 4.1
namespace: common
result: pass
start: 4.2 read-feedback (timeout 01:10:00) [common]
0
6
7
4
26
17
3
18
47
9
53
19
2
36
10
48
37
20
1
11
49
38
21
12
14
50
39
15
35
22
13
51
40
16
27
23
78
52
41
28
44
66
24
45
46
29
43
67
65
25
32
72
33
69
73
54
89
30
70
34
68
74
55
79
31
71
57
56
75
61
90
76
42
80
95
84
77
97
62
86
98
87
93
83
88
96
63
85
92
99
94
60
81
82
91
64
59
58
+ print_info 0 run-concurrent-go
+ '[' 0 -ne 0 ']'
+ result=pass
+ cor='\e[1;32m'
+ test_name=run-concurrent-go
+ echo -e '\e[1;32mthe result of run-concurrent-go is pass\e[0m'
[1;32mthe result of run-concurrent-go is pass[0m
+ lava-test-case run-concurrent-go --result pass
Listened to connection for namespace 'common' for 1s
Finalising connection for namespace 'common'
logout
logout
end: 4.2 read-feedback (duration 00:00:01) [common]
Root tmp directory removed at /var/lib/lava/dispatcher/tmp/22377
LAVABug: This is probably a bug in LAVA, please report it.
case: job
case_id: 345680
definition: lava
error_msg: argument of type 'NoneType' is not iterable
error_type: Bug
result: fail
Please read the triage guidelines for help on debugging failures in the test job, test definitions or in individual test cases.
Pipeline jobs use the job definition to generate a descriptive YAML file when the pipeline is validated. The file represents the data sent to the dispatcher at the start of the job, including details of the device as well as the job parameters and the details of the parameters sent to each of the deploy, boot and test actions in the job pipeline.
Click on the Device or Job Actions headings below to see some of the information from the description file for this job or download the complete file as YAML using the link above.
This section helps test writers to check for actions with a duration which is much shorter than the requested timeout. Reducing these timeouts will allow failures to be identified more quickly.
The graph only shows actions that are longer than 1 second. The full list is anyway available in the table.