I: pbuilder: network access will be disabled during build I: Current time: Mon Aug 3 04:43:32 +14 2020 I: pbuilder-time-stamp: 1596379412 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [mender-client_1.7.0-4.dsc] I: copying [./mender-client_1.7.0.orig.tar.xz] I: copying [./mender-client_1.7.0-4.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/var/lib/jenkins/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Mon Feb 4 10:48:07 2019 +14 gpgv: using RSA key FAE1E5B64652BE798E278CC20BC47DC64D135306 gpgv: issuer "andreas@fatal.se" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./mender-client_1.7.0-4.dsc dpkg-source: info: extracting mender-client in mender-client-1.7.0 dpkg-source: info: unpacking mender-client_1.7.0.orig.tar.xz dpkg-source: info: unpacking mender-client_1.7.0-4.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying lowercase-sirupsen.patch dpkg-source: info: applying time-rfc3339.patch I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/9874/tmp/hooks/D01_modify_environment starting debug: Running on codethink-sled16-arm64. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/9874/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/9874/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") BASH_VERSION='5.0.3(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=arm64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' DIRSTACK=() DISTRIBUTION= EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/var/lib/jenkins HOSTNAME=i-capture-the-hostname HOSTTYPE=aarch64 HOST_ARCH=arm64 IFS=' ' LANG=C LANGUAGE=nl_BE:nl LC_ALL=C MACHTYPE=aarch64-unknown-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=9874 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.iXG0wqpHYd/pbuilderrc_zzTJ --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.iXG0wqpHYd/b2 --logfile b2/build.log mender-client_1.7.0-4.dsc' SUDO_GID=117 SUDO_UID=110 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root USERNAME=root _='I: set' http_proxy=http://192.168.101.16:3128 I: uname -a Linux i-capture-the-hostname 4.4.0-186-generic #216-Ubuntu SMP Wed Jul 1 05:35:21 UTC 2020 aarch64 GNU/Linux I: ls -l /bin total 4928 -rwxr-xr-x 1 root root 1216928 Apr 18 2019 bash -rwxr-xr-x 3 root root 34808 Jul 11 2019 bunzip2 -rwxr-xr-x 3 root root 34808 Jul 11 2019 bzcat lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep -rwxr-xr-x 3 root root 34808 Jul 11 2019 bzip2 -rwxr-xr-x 1 root root 14264 Jul 11 2019 bzip2recover lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore -rwxr-xr-x 1 root root 35576 Mar 1 2019 cat -rwxr-xr-x 1 root root 60256 Mar 1 2019 chgrp -rwxr-xr-x 1 root root 56096 Mar 1 2019 chmod -rwxr-xr-x 1 root root 64368 Mar 1 2019 chown -rwxr-xr-x 1 root root 134632 Mar 1 2019 cp -rwxr-xr-x 1 root root 129536 Jan 18 2019 dash -rwxr-xr-x 1 root root 97136 Mar 1 2019 date -rwxr-xr-x 1 root root 76736 Mar 1 2019 dd -rwxr-xr-x 1 root root 93752 Mar 1 2019 df -rwxr-xr-x 1 root root 138848 Mar 1 2019 dir -rwxr-xr-x 1 root root 75984 Jan 10 2019 dmesg lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname -rwxr-xr-x 1 root root 31368 Mar 1 2019 echo -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep -rwxr-xr-x 1 root root 27256 Mar 1 2019 false -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep -rwxr-xr-x 1 root root 68792 Jan 10 2019 findmnt -rwsr-xr-x 1 root root 34824 Apr 23 09:38 fusermount -rwxr-xr-x 1 root root 174304 Jan 8 2019 grep -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe -rwxr-xr-x 1 root root 89656 Jan 6 2019 gzip -rwxr-xr-x 1 root root 18440 Sep 27 2018 hostname -rwxr-xr-x 1 root root 64472 Mar 1 2019 ln -rwxr-xr-x 1 root root 52544 Jul 27 2018 login -rwxr-xr-x 1 root root 138848 Mar 1 2019 ls -rwxr-xr-x 1 root root 108552 Jan 10 2019 lsblk -rwxr-xr-x 1 root root 76840 Mar 1 2019 mkdir -rwxr-xr-x 1 root root 64480 Mar 1 2019 mknod -rwxr-xr-x 1 root root 39736 Mar 1 2019 mktemp -rwxr-xr-x 1 root root 38840 Jan 10 2019 more -rwsr-xr-x 1 root root 47112 Jan 10 2019 mount -rwxr-xr-x 1 root root 14344 Jan 10 2019 mountpoint -rwxr-xr-x 1 root root 138736 Mar 1 2019 mv lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 35560 Mar 1 2019 pwd lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash -rwxr-xr-x 1 root root 43712 Mar 1 2019 readlink -rwxr-xr-x 1 root root 68440 Mar 1 2019 rm -rwxr-xr-x 1 root root 39624 Mar 1 2019 rmdir -rwxr-xr-x 1 root root 19144 Jan 22 2019 run-parts -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed lrwxrwxrwx 1 root root 4 Aug 3 04:43 sh -> bash lrwxrwxrwx 1 root root 4 Aug 1 22:26 sh.distrib -> dash -rwxr-xr-x 1 root root 31384 Mar 1 2019 sleep -rwxr-xr-x 1 root root 72480 Mar 1 2019 stty -rwsr-xr-x 1 root root 59424 Jan 10 2019 su -rwxr-xr-x 1 root root 31416 Mar 1 2019 sync -rwxr-xr-x 1 root root 449416 Apr 24 2019 tar -rwxr-xr-x 1 root root 10560 Jan 22 2019 tempfile -rwxr-xr-x 1 root root 88968 Mar 1 2019 touch -rwxr-xr-x 1 root root 27256 Mar 1 2019 true -rwxr-xr-x 1 root root 14264 Apr 23 09:38 ulockmgr_server -rwsr-xr-x 1 root root 30728 Jan 10 2019 umount -rwxr-xr-x 1 root root 31384 Mar 1 2019 uname -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress -rwxr-xr-x 1 root root 138848 Mar 1 2019 vdir -rwxr-xr-x 1 root root 34824 Jan 10 2019 wdctl -rwxr-xr-x 1 root root 946 Jan 22 2019 which lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew I: user script /srv/workspace/pbuilder/9874/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 11), dh-golang, golang-any, golang-github-pkg-errors-dev, golang-github-stretchr-testify-dev, golang-golang-x-net-dev, golang-golang-x-sys-dev, golang-logrus-dev, golang-github-bmatsuo-lmdb-go-dev, golang-github-ungerik-go-sysfs-dev, golang-github-mendersoftware-mender-artifact-dev, golang-github-mendersoftware-log-dev, golang-github-mendersoftware-mendertesting-dev, ca-certificates dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19168 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper (>= 11); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on dh-golang; however: Package dh-golang is not installed. pbuilder-satisfydepends-dummy depends on golang-any; however: Package golang-any is not installed. pbuilder-satisfydepends-dummy depends on golang-github-pkg-errors-dev; however: Package golang-github-pkg-errors-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-stretchr-testify-dev; however: Package golang-github-stretchr-testify-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-golang-x-net-dev; however: Package golang-golang-x-net-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-golang-x-sys-dev; however: Package golang-golang-x-sys-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-logrus-dev; however: Package golang-logrus-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-bmatsuo-lmdb-go-dev; however: Package golang-github-bmatsuo-lmdb-go-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-ungerik-go-sysfs-dev; however: Package golang-github-ungerik-go-sysfs-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-mendersoftware-mender-artifact-dev; however: Package golang-github-mendersoftware-mender-artifact-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-mendersoftware-log-dev; however: Package golang-github-mendersoftware-log-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-mendersoftware-mendertesting-dev; however: Package golang-github-mendersoftware-mendertesting-dev is not installed. pbuilder-satisfydepends-dummy depends on ca-certificates; however: Package ca-certificates is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} ca-certificates{a} debhelper{a} dh-autoreconf{a} dh-golang{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} golang-1.11-go{a} golang-1.11-src{a} golang-any{a} golang-github-bmatsuo-lmdb-go-dev{a} golang-github-davecgh-go-spew-dev{a} golang-github-kr-pretty-dev{a} golang-github-kr-pty-dev{a} golang-github-kr-text-dev{a} golang-github-mendersoftware-log-dev{a} golang-github-mendersoftware-mender-artifact-dev{a} golang-github-mendersoftware-mendertesting-dev{a} golang-github-mendersoftware-scopestack-dev{a} golang-github-pkg-errors-dev{a} golang-github-pmezard-go-difflib-dev{a} golang-github-sirupsen-logrus-dev{a} golang-github-stretchr-objx-dev{a} golang-github-stretchr-testify-dev{a} golang-github-ungerik-go-sysfs-dev{a} golang-github-urfave-cli-dev{a} golang-go{a} golang-golang-x-crypto-dev{a} golang-golang-x-net-dev{a} golang-golang-x-sys-dev{a} golang-golang-x-text-dev{a} golang-golang-x-tools-dev{a} golang-gopkg-check.v1-dev{a} golang-gopkg-yaml.v2-dev{a} golang-logrus-dev{a} golang-src{a} golang-x-text-dev{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libelf1{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu63{a} libmagic-mgc{a} libmagic1{a} libncurses6{a} libpipeline1{a} libsigsegv2{a} libssl1.1{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} openssl{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl lynx pkg-config pkgconf shared-mime-info wget xdg-user-dirs 0 packages upgraded, 67 newly installed, 0 to remove and 0 not upgraded. Need to get 78.2 MB of archives. After unpacking 399 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main arm64 libbsd0 arm64 0.9.1-2 [97.4 kB] Get: 2 http://deb.debian.org/debian buster/main arm64 bsdmainutils arm64 11.1.2+b1 [185 kB] Get: 3 http://deb.debian.org/debian buster/main arm64 libuchardet0 arm64 0.0.6-3 [65.0 kB] Get: 4 http://deb.debian.org/debian buster/main arm64 groff-base arm64 1.22.4-3 [869 kB] Get: 5 http://deb.debian.org/debian buster/main arm64 libpipeline1 arm64 1.5.1-2 [29.8 kB] Get: 6 http://deb.debian.org/debian buster/main arm64 man-db arm64 2.8.5-2 [1258 kB] Get: 7 http://deb.debian.org/debian buster/main arm64 golang-github-davecgh-go-spew-dev all 1.1.1-1 [29.5 kB] Get: 8 http://deb.debian.org/debian buster/main arm64 golang-github-pmezard-go-difflib-dev all 1.0.0-2 [12.0 kB] Get: 9 http://deb.debian.org/debian buster/main arm64 golang-github-stretchr-objx-dev all 0.1.1+git20180825.ef50b0d-1 [23.4 kB] Get: 10 http://deb.debian.org/debian buster/main arm64 golang-github-stretchr-testify-dev all 1.3.0+ds-1 [49.8 kB] Get: 11 http://deb.debian.org/debian buster/main arm64 golang-golang-x-tools-dev all 1:0.0~git20190125.d66bd3c+ds-4 [1230 kB] Get: 12 http://deb.debian.org/debian buster/main arm64 golang-golang-x-text-dev all 0.3.0-2 [3393 kB] Get: 13 http://deb.debian.org/debian buster/main arm64 golang-x-text-dev all 0.3.0-2 [3592 B] Get: 14 http://deb.debian.org/debian buster/main arm64 golang-golang-x-net-dev all 1:0.0+git20181201.351d144+dfsg-3 [637 kB] Get: 15 http://deb.debian.org/debian buster/main arm64 golang-golang-x-sys-dev all 0.0~git20190412.9773273+really0.0~git20181228.9a3f9b0-1 [291 kB] Get: 16 http://deb.debian.org/debian buster/main arm64 golang-golang-x-crypto-dev all 1:0.0~git20181203.505ab14-1 [1445 kB] Get: 17 http://deb.debian.org/debian buster/main arm64 golang-github-sirupsen-logrus-dev all 1.3.0-1 [38.9 kB] Get: 18 http://deb.debian.org/debian buster/main arm64 sensible-utils all 0.0.12 [15.8 kB] Get: 19 http://deb.debian.org/debian buster/main arm64 libmagic-mgc arm64 1:5.35-4+deb10u1 [242 kB] Get: 20 http://deb.debian.org/debian buster/main arm64 libmagic1 arm64 1:5.35-4+deb10u1 [115 kB] Get: 21 http://deb.debian.org/debian buster/main arm64 file arm64 1:5.35-4+deb10u1 [66.4 kB] Get: 22 http://deb.debian.org/debian buster/main arm64 gettext-base arm64 0.19.8.1-9 [120 kB] Get: 23 http://deb.debian.org/debian buster/main arm64 libsigsegv2 arm64 2.12-2 [32.3 kB] Get: 24 http://deb.debian.org/debian buster/main arm64 m4 arm64 1.4.18-2 [198 kB] Get: 25 http://deb.debian.org/debian buster/main arm64 autoconf all 2.69-11 [341 kB] Get: 26 http://deb.debian.org/debian buster/main arm64 autotools-dev all 20180224.1 [77.0 kB] Get: 27 http://deb.debian.org/debian buster/main arm64 automake all 1:1.16.1-4 [771 kB] Get: 28 http://deb.debian.org/debian buster/main arm64 autopoint all 0.19.8.1-9 [434 kB] Get: 29 http://deb.debian.org/debian buster/main arm64 libssl1.1 arm64 1.1.1d-0+deb10u3 [1382 kB] Get: 30 http://deb.debian.org/debian buster/main arm64 openssl arm64 1.1.1d-0+deb10u3 [823 kB] Get: 31 http://deb.debian.org/debian buster/main arm64 ca-certificates all 20190110 [157 kB] Get: 32 http://deb.debian.org/debian buster/main arm64 libtool all 2.4.6-9 [547 kB] Get: 33 http://deb.debian.org/debian buster/main arm64 dh-autoreconf all 19 [16.9 kB] Get: 34 http://deb.debian.org/debian buster/main arm64 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 35 http://deb.debian.org/debian buster/main arm64 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 36 http://deb.debian.org/debian buster/main arm64 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 37 http://deb.debian.org/debian buster/main arm64 libelf1 arm64 0.176-1.1 [160 kB] Get: 38 http://deb.debian.org/debian buster/main arm64 dwz arm64 0.12-3 [71.7 kB] Get: 39 http://deb.debian.org/debian buster/main arm64 libglib2.0-0 arm64 2.58.3-2+deb10u2 [1185 kB] Get: 40 http://deb.debian.org/debian buster/main arm64 libicu63 arm64 63.1-6+deb10u1 [8151 kB] Get: 41 http://deb.debian.org/debian buster/main arm64 libxml2 arm64 2.9.4+dfsg1-7+b3 [623 kB] Get: 42 http://deb.debian.org/debian buster/main arm64 libcroco3 arm64 0.6.12-3 [140 kB] Get: 43 http://deb.debian.org/debian buster/main arm64 libncurses6 arm64 6.1+20181013-2+deb10u2 [92.6 kB] Get: 44 http://deb.debian.org/debian buster/main arm64 gettext arm64 0.19.8.1-9 [1261 kB] Get: 45 http://deb.debian.org/debian buster/main arm64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 46 http://deb.debian.org/debian buster/main arm64 po-debconf all 1.0.21 [248 kB] Get: 47 http://deb.debian.org/debian buster/main arm64 debhelper all 12.1.1 [1016 kB] Get: 48 http://deb.debian.org/debian buster/main arm64 dh-golang all 1.39 [20.8 kB] Get: 49 http://deb.debian.org/debian buster/main arm64 golang-1.11-src arm64 1.11.6-1+deb10u3 [13.0 MB] Get: 50 http://deb.debian.org/debian buster/main arm64 golang-1.11-go arm64 1.11.6-1+deb10u3 [36.7 MB] Get: 51 http://deb.debian.org/debian buster/main arm64 golang-src arm64 2:1.11~1 [4348 B] Get: 52 http://deb.debian.org/debian buster/main arm64 golang-go arm64 2:1.11~1 [23.4 kB] Get: 53 http://deb.debian.org/debian buster/main arm64 golang-any arm64 2:1.11~1 [4472 B] Get: 54 http://deb.debian.org/debian buster/main arm64 golang-github-bmatsuo-lmdb-go-dev all 1.8.0+git20170215.a14b5a3-2 [145 kB] Get: 55 http://deb.debian.org/debian buster/main arm64 golang-github-kr-pty-dev all 1.1.3-1 [8968 B] Get: 56 http://deb.debian.org/debian buster/main arm64 golang-github-kr-text-dev all 0.1.0-1 [10.8 kB] Get: 57 http://deb.debian.org/debian buster/main arm64 golang-github-kr-pretty-dev all 0.1.0-1 [10.2 kB] Get: 58 http://deb.debian.org/debian buster/main arm64 golang-logrus-dev all 1.3.0-1 [5620 B] Get: 59 http://deb.debian.org/debian buster/main arm64 golang-github-mendersoftware-mendertesting-dev all 0.0~git20180410.9e728b5-2 [6700 B] Get: 60 http://deb.debian.org/debian buster/main arm64 golang-github-mendersoftware-scopestack-dev all 0.0~git20180403.c2f5599-2 [3652 B] Get: 61 http://deb.debian.org/debian buster/main arm64 golang-github-mendersoftware-log-dev all 0.0~git20180403.f608c95-2 [7084 B] Get: 62 http://deb.debian.org/debian buster/main arm64 golang-github-pkg-errors-dev all 0.8.1-1 [11.2 kB] Get: 63 http://deb.debian.org/debian buster/main arm64 golang-gopkg-check.v1-dev all 0.0+git20180628.788fd78-1 [31.6 kB] Get: 64 http://deb.debian.org/debian buster/main arm64 golang-gopkg-yaml.v2-dev all 2.2.2-1 [58.9 kB] Get: 65 http://deb.debian.org/debian buster/main arm64 golang-github-urfave-cli-dev all 1.20.0-1 [51.0 kB] Get: 66 http://deb.debian.org/debian buster/main arm64 golang-github-mendersoftware-mender-artifact-dev all 3.0.0+really2.4.0-1 [42.3 kB] Get: 67 http://deb.debian.org/debian buster/main arm64 golang-github-ungerik-go-sysfs-dev all 0.0~git20170424.9c991ee-2 [4048 B] Fetched 78.2 MB in 2s (34.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:arm64. (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 ... 19168 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_arm64.deb ... Unpacking libbsd0:arm64 (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_arm64.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../02-libuchardet0_0.0.6-3_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_arm64.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../04-libpipeline1_1.5.1-2_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_arm64.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package golang-github-davecgh-go-spew-dev. Preparing to unpack .../06-golang-github-davecgh-go-spew-dev_1.1.1-1_all.deb ... Unpacking golang-github-davecgh-go-spew-dev (1.1.1-1) ... Selecting previously unselected package golang-github-pmezard-go-difflib-dev. Preparing to unpack .../07-golang-github-pmezard-go-difflib-dev_1.0.0-2_all.deb ... Unpacking golang-github-pmezard-go-difflib-dev (1.0.0-2) ... Selecting previously unselected package golang-github-stretchr-objx-dev. Preparing to unpack .../08-golang-github-stretchr-objx-dev_0.1.1+git20180825.ef50b0d-1_all.deb ... Unpacking golang-github-stretchr-objx-dev (0.1.1+git20180825.ef50b0d-1) ... Selecting previously unselected package golang-github-stretchr-testify-dev. Preparing to unpack .../09-golang-github-stretchr-testify-dev_1.3.0+ds-1_all.deb ... Unpacking golang-github-stretchr-testify-dev (1.3.0+ds-1) ... Selecting previously unselected package golang-golang-x-tools-dev. Preparing to unpack .../10-golang-golang-x-tools-dev_1%3a0.0~git20190125.d66bd3c+ds-4_all.deb ... Unpacking golang-golang-x-tools-dev (1:0.0~git20190125.d66bd3c+ds-4) ... Selecting previously unselected package golang-golang-x-text-dev. Preparing to unpack .../11-golang-golang-x-text-dev_0.3.0-2_all.deb ... Unpacking golang-golang-x-text-dev (0.3.0-2) ... Selecting previously unselected package golang-x-text-dev. Preparing to unpack .../12-golang-x-text-dev_0.3.0-2_all.deb ... Unpacking golang-x-text-dev (0.3.0-2) ... Selecting previously unselected package golang-golang-x-net-dev. Preparing to unpack .../13-golang-golang-x-net-dev_1%3a0.0+git20181201.351d144+dfsg-3_all.deb ... Unpacking golang-golang-x-net-dev (1:0.0+git20181201.351d144+dfsg-3) ... Selecting previously unselected package golang-golang-x-sys-dev. Preparing to unpack .../14-golang-golang-x-sys-dev_0.0~git20190412.9773273+really0.0~git20181228.9a3f9b0-1_all.deb ... Unpacking golang-golang-x-sys-dev (0.0~git20190412.9773273+really0.0~git20181228.9a3f9b0-1) ... Selecting previously unselected package golang-golang-x-crypto-dev. Preparing to unpack .../15-golang-golang-x-crypto-dev_1%3a0.0~git20181203.505ab14-1_all.deb ... Unpacking golang-golang-x-crypto-dev (1:0.0~git20181203.505ab14-1) ... Selecting previously unselected package golang-github-sirupsen-logrus-dev. Preparing to unpack .../16-golang-github-sirupsen-logrus-dev_1.3.0-1_all.deb ... Unpacking golang-github-sirupsen-logrus-dev (1.3.0-1) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../17-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../18-libmagic-mgc_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u1) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../19-libmagic1_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking libmagic1:arm64 (1:5.35-4+deb10u1) ... Selecting previously unselected package file. Preparing to unpack .../20-file_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking file (1:5.35-4+deb10u1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../21-gettext-base_0.19.8.1-9_arm64.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:arm64. Preparing to unpack .../22-libsigsegv2_2.12-2_arm64.deb ... Unpacking libsigsegv2:arm64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../23-m4_1.4.18-2_arm64.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../24-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../25-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../26-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../27-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libssl1.1:arm64. Preparing to unpack .../28-libssl1.1_1.1.1d-0+deb10u3_arm64.deb ... Unpacking libssl1.1:arm64 (1.1.1d-0+deb10u3) ... Selecting previously unselected package openssl. Preparing to unpack .../29-openssl_1.1.1d-0+deb10u3_arm64.deb ... Unpacking openssl (1.1.1d-0+deb10u3) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../30-ca-certificates_20190110_all.deb ... Unpacking ca-certificates (20190110) ... Selecting previously unselected package libtool. Preparing to unpack .../31-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../32-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../33-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../34-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../35-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../36-libelf1_0.176-1.1_arm64.deb ... Unpacking libelf1:arm64 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../37-dwz_0.12-3_arm64.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:arm64. Preparing to unpack .../38-libglib2.0-0_2.58.3-2+deb10u2_arm64.deb ... Unpacking libglib2.0-0:arm64 (2.58.3-2+deb10u2) ... Selecting previously unselected package libicu63:arm64. Preparing to unpack .../39-libicu63_63.1-6+deb10u1_arm64.deb ... Unpacking libicu63:arm64 (63.1-6+deb10u1) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../40-libxml2_2.9.4+dfsg1-7+b3_arm64.deb ... Unpacking libxml2:arm64 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:arm64. Preparing to unpack .../41-libcroco3_0.6.12-3_arm64.deb ... Unpacking libcroco3:arm64 (0.6.12-3) ... Selecting previously unselected package libncurses6:arm64. Preparing to unpack .../42-libncurses6_6.1+20181013-2+deb10u2_arm64.deb ... Unpacking libncurses6:arm64 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package gettext. Preparing to unpack .../43-gettext_0.19.8.1-9_arm64.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../44-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../45-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../46-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package dh-golang. Preparing to unpack .../47-dh-golang_1.39_all.deb ... Unpacking dh-golang (1.39) ... Selecting previously unselected package golang-1.11-src. Preparing to unpack .../48-golang-1.11-src_1.11.6-1+deb10u3_arm64.deb ... Unpacking golang-1.11-src (1.11.6-1+deb10u3) ... Selecting previously unselected package golang-1.11-go. Preparing to unpack .../49-golang-1.11-go_1.11.6-1+deb10u3_arm64.deb ... Unpacking golang-1.11-go (1.11.6-1+deb10u3) ... Selecting previously unselected package golang-src. Preparing to unpack .../50-golang-src_2%3a1.11~1_arm64.deb ... Unpacking golang-src (2:1.11~1) ... Selecting previously unselected package golang-go. Preparing to unpack .../51-golang-go_2%3a1.11~1_arm64.deb ... Unpacking golang-go (2:1.11~1) ... Selecting previously unselected package golang-any. Preparing to unpack .../52-golang-any_2%3a1.11~1_arm64.deb ... Unpacking golang-any (2:1.11~1) ... Selecting previously unselected package golang-github-bmatsuo-lmdb-go-dev. Preparing to unpack .../53-golang-github-bmatsuo-lmdb-go-dev_1.8.0+git20170215.a14b5a3-2_all.deb ... Unpacking golang-github-bmatsuo-lmdb-go-dev (1.8.0+git20170215.a14b5a3-2) ... Selecting previously unselected package golang-github-kr-pty-dev. Preparing to unpack .../54-golang-github-kr-pty-dev_1.1.3-1_all.deb ... Unpacking golang-github-kr-pty-dev (1.1.3-1) ... Selecting previously unselected package golang-github-kr-text-dev. Preparing to unpack .../55-golang-github-kr-text-dev_0.1.0-1_all.deb ... Unpacking golang-github-kr-text-dev (0.1.0-1) ... Selecting previously unselected package golang-github-kr-pretty-dev. Preparing to unpack .../56-golang-github-kr-pretty-dev_0.1.0-1_all.deb ... Unpacking golang-github-kr-pretty-dev (0.1.0-1) ... Selecting previously unselected package golang-logrus-dev. Preparing to unpack .../57-golang-logrus-dev_1.3.0-1_all.deb ... Unpacking golang-logrus-dev (1.3.0-1) ... Selecting previously unselected package golang-github-mendersoftware-mendertesting-dev. Preparing to unpack .../58-golang-github-mendersoftware-mendertesting-dev_0.0~git20180410.9e728b5-2_all.deb ... Unpacking golang-github-mendersoftware-mendertesting-dev (0.0~git20180410.9e728b5-2) ... Selecting previously unselected package golang-github-mendersoftware-scopestack-dev. Preparing to unpack .../59-golang-github-mendersoftware-scopestack-dev_0.0~git20180403.c2f5599-2_all.deb ... Unpacking golang-github-mendersoftware-scopestack-dev (0.0~git20180403.c2f5599-2) ... Selecting previously unselected package golang-github-mendersoftware-log-dev. Preparing to unpack .../60-golang-github-mendersoftware-log-dev_0.0~git20180403.f608c95-2_all.deb ... Unpacking golang-github-mendersoftware-log-dev (0.0~git20180403.f608c95-2) ... Selecting previously unselected package golang-github-pkg-errors-dev. Preparing to unpack .../61-golang-github-pkg-errors-dev_0.8.1-1_all.deb ... Unpacking golang-github-pkg-errors-dev (0.8.1-1) ... Selecting previously unselected package golang-gopkg-check.v1-dev. Preparing to unpack .../62-golang-gopkg-check.v1-dev_0.0+git20180628.788fd78-1_all.deb ... Unpacking golang-gopkg-check.v1-dev (0.0+git20180628.788fd78-1) ... Selecting previously unselected package golang-gopkg-yaml.v2-dev. Preparing to unpack .../63-golang-gopkg-yaml.v2-dev_2.2.2-1_all.deb ... Unpacking golang-gopkg-yaml.v2-dev (2.2.2-1) ... Selecting previously unselected package golang-github-urfave-cli-dev. Preparing to unpack .../64-golang-github-urfave-cli-dev_1.20.0-1_all.deb ... Unpacking golang-github-urfave-cli-dev (1.20.0-1) ... Selecting previously unselected package golang-github-mendersoftware-mender-artifact-dev. Preparing to unpack .../65-golang-github-mendersoftware-mender-artifact-dev_3.0.0+really2.4.0-1_all.deb ... Unpacking golang-github-mendersoftware-mender-artifact-dev (3.0.0+really2.4.0-1) ... Selecting previously unselected package golang-github-ungerik-go-sysfs-dev. Preparing to unpack .../66-golang-github-ungerik-go-sysfs-dev_0.0~git20170424.9c991ee-2_all.deb ... Unpacking golang-github-ungerik-go-sysfs-dev (0.0~git20170424.9c991ee-2) ... Setting up libpipeline1:arm64 (1.5.1-2) ... Setting up golang-github-stretchr-objx-dev (0.1.1+git20180825.ef50b0d-1) ... Setting up libmagic-mgc (1:5.35-4+deb10u1) ... Setting up golang-github-pkg-errors-dev (0.8.1-1) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:arm64 (2.58.3-2+deb10u2) ... No schema files found: doing nothing. Setting up golang-1.11-src (1.11.6-1+deb10u3) ... Setting up libssl1.1:arm64 (1.1.1d-0+deb10u3) ... Setting up golang-golang-x-sys-dev (0.0~git20190412.9773273+really0.0~git20181228.9a3f9b0-1) ... Setting up libmagic1:arm64 (1:5.35-4+deb10u1) ... Setting up golang-github-pmezard-go-difflib-dev (1.0.0-2) ... Setting up gettext-base (0.19.8.1-9) ... Setting up golang-github-mendersoftware-mendertesting-dev (0.0~git20180410.9e728b5-2) ... Setting up file (1:5.35-4+deb10u1) ... Setting up golang-golang-x-tools-dev (1:0.0~git20190125.d66bd3c+ds-4) ... Setting up libicu63:arm64 (63.1-6+deb10u1) ... Setting up golang-1.11-go (1.11.6-1+deb10u3) ... Setting up golang-github-davecgh-go-spew-dev (1.1.1-1) ... Setting up autotools-dev (20180224.1) ... Setting up golang-github-stretchr-testify-dev (1.3.0+ds-1) ... Setting up libncurses6:arm64 (6.1+20181013-2+deb10u2) ... Setting up libsigsegv2:arm64 (2.12-2) ... Setting up autopoint (0.19.8.1-9) ... Setting up golang-github-kr-pty-dev (1.1.3-1) ... Setting up sensible-utils (0.0.12) ... Setting up golang-golang-x-text-dev (0.3.0-2) ... Setting up libuchardet0:arm64 (0.0.6-3) ... Setting up golang-github-ungerik-go-sysfs-dev (0.0~git20170424.9c991ee-2) ... Setting up golang-github-mendersoftware-scopestack-dev (0.0~git20180403.c2f5599-2) ... Setting up golang-src (2:1.11~1) ... Setting up openssl (1.1.1d-0+deb10u3) ... Setting up libbsd0:arm64 (0.9.1-2) ... Setting up libelf1:arm64 (0.176-1.1) ... Setting up libxml2:arm64 (2.9.4+dfsg1-7+b3) ... Setting up golang-x-text-dev (0.3.0-2) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libtool (2.4.6-9) ... Setting up golang-go (2:1.11~1) ... Setting up m4 (1.4.18-2) ... Setting up golang-any (2:1.11~1) ... Setting up ca-certificates (20190110) ... Updating certificates in /etc/ssl/certs... 128 added, 0 removed; done. Setting up golang-github-kr-text-dev (0.1.0-1) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:arm64 (0.6.12-3) ... Setting up golang-golang-x-net-dev (1:0.0+git20181201.351d144+dfsg-3) ... Setting up autoconf (2.69-11) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3) ... Setting up golang-golang-x-crypto-dev (1:0.0~git20181203.505ab14-1) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up golang-github-kr-pretty-dev (0.1.0-1) ... Setting up golang-github-sirupsen-logrus-dev (1.3.0-1) ... Setting up gettext (0.19.8.1-9) ... Setting up golang-gopkg-check.v1-dev (0.0+git20180628.788fd78-1) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up intltool-debian (0.35.0+20060710.5) ... Setting up golang-logrus-dev (1.3.0-1) ... Setting up golang-github-bmatsuo-lmdb-go-dev (1.8.0+git20170215.a14b5a3-2) ... Setting up golang-github-mendersoftware-log-dev (0.0~git20180403.f608c95-2) ... Setting up golang-gopkg-yaml.v2-dev (2.2.2-1) ... Setting up po-debconf (1.0.21) ... Setting up golang-github-urfave-cli-dev (1.20.0-1) ... Setting up golang-github-mendersoftware-mender-artifact-dev (3.0.0+really2.4.0-1) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Setting up debhelper (12.1.1) ... Setting up dh-golang (1.39) ... Processing triggers for libc-bin (2.28-10) ... Processing triggers for ca-certificates (20190110) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/mender-client-1.7.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package mender-client dpkg-buildpackage: info: source version 1.7.0-4 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andreas Henriksson dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 fakeroot debian/rules clean dh clean --buildsystem=golang --with=golang dh_auto_clean -O--buildsystem=golang dh_autoreconf_clean -O--buildsystem=golang dh_clean -O--buildsystem=golang debian/rules build dh build --buildsystem=golang --with=golang dh_update_autotools_config -O--buildsystem=golang dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang debian/rules override_dh_auto_build make[1]: Entering directory '/build/mender-client-1.7.0' dh_auto_build -O--buildsystem=golang -- \ -ldflags "-X main.Version=1.7.0-4" cd obj-aarch64-linux-gnu && go install -gcflags=all=\"-trimpath=/build/mender-client-1.7.0/obj-aarch64-linux-gnu/src\" -asmflags=all=\"-trimpath=/build/mender-client-1.7.0/obj-aarch64-linux-gnu/src\" -v -p 8 -ldflags "-X main.Version=1.7.0-4" github.com/mendersoftware/mender github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/utils internal/cpu internal/race unicode/utf8 runtime/internal/sys sync/atomic unicode runtime/internal/atomic errors encoding internal/bytealg math math/bits unicode/utf16 container/list vendor/golang_org/x/net/dns/dnsmessage internal/testlog internal/nettrace runtime/cgo crypto/internal/subtle crypto/subtle runtime vendor/golang_org/x/crypto/cryptobyte/asn1 github.com/bmatsuo/lmdb-go/internal/lmdbarch strconv crypto/rc4 sync io math/rand internal/singleflight syscall reflect bytes crypto/cipher strings crypto/internal/randutil hash crypto/hmac crypto hash/crc32 crypto/sha512 crypto/md5 crypto/sha1 crypto/aes crypto/sha256 golang.org/x/text/transform vendor/golang_org/x/text/transform bufio path internal/syscall/unix time internal/poll encoding/binary sort regexp/syntax os encoding/base64 crypto/des vendor/golang_org/x/crypto/internal/chacha20 vendor/golang_org/x/crypto/poly1305 vendor/golang_org/x/crypto/curve25519 vendor/golang_org/x/crypto/chacha20poly1305 encoding/pem os/signal path/filepath fmt regexp io/ioutil github.com/mendersoftware/scopestack log context flag encoding/json encoding/hex net/url math/big github.com/pkg/errors compress/flate golang.org/x/text/unicode/bidi net golang.org/x/text/unicode/norm golang.org/x/net/http2/hpack vendor/golang_org/x/text/unicode/bidi vendor/golang_org/x/text/unicode/norm golang.org/x/text/secure/bidirule vendor/golang_org/x/net/http2/hpack mime vendor/golang_org/x/text/secure/bidirule mime/quotedprintable compress/gzip net/http/internal os/user os/exec github.com/davecgh/go-spew/spew github.com/bmatsuo/lmdb-go/lmdb golang.org/x/net/idna github.com/pmezard/go-difflib/difflib github.com/stretchr/objx vendor/golang_org/x/net/idna github.com/mendersoftware/mender/utils github.com/ungerik/go-sysfs encoding/asn1 crypto/elliptic crypto/rand crypto/rsa crypto/dsa crypto/x509/pkix vendor/golang_org/x/crypto/cryptobyte crypto/ecdsa archive/tar log/syslog net/textproto vendor/golang_org/x/net/http/httpproxy crypto/x509 golang.org/x/sys/unix golang.org/x/net/http/httpguts vendor/golang_org/x/net/http/httpguts mime/multipart github.com/mendersoftware/mender-artifact/artifact crypto/tls golang.org/x/crypto/ssh/terminal github.com/mendersoftware/mender-artifact/handlers github.com/sirupsen/logrus github.com/mendersoftware/mender-artifact/areader github.com/sirupsen/logrus/hooks/syslog github.com/mendersoftware/log net/http/httptrace net/http net/http/httptest golang.org/x/net/http2 github.com/stretchr/testify/assert github.com/stretchr/testify/mock # github.com/bmatsuo/lmdb-go/lmdb mdb.c: In function 'mdb_cursor_put': mdb.c:6725:9: warning: this statement may fall through [-Wimplicit-fallthrough=] if (SIZELEFT(fp) < offset) { ^ mdb.c:6730:5: note: here case MDB_CURRENT: ^~~~ github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/installer github.com/mendersoftware/mender make[1]: Leaving directory '/build/mender-client-1.7.0' debian/rules override_dh_auto_test make[1]: Entering directory '/build/mender-client-1.7.0' dh_auto_test || true cd obj-aarch64-linux-gnu && go test -vet=off -v -p 8 github.com/mendersoftware/mender github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/utils # github.com/bmatsuo/lmdb-go/lmdb mdb.c: In function 'mdb_cursor_put': mdb.c:6725:9: warning: this statement may fall through [-Wimplicit-fallthrough=] if (SIZELEFT(fp) < offset) { ^ mdb.c:6730:5: note: here case MDB_CURRENT: ^~~~ === RUN TestNewAuthManager --- PASS: TestNewAuthManager (0.00s) === RUN TestAuthManager --- PASS: TestAuthManager (2.09s) === RUN TestAuthManagerRequest --- PASS: TestAuthManagerRequest (1.18s) === RUN TestAuthManagerResponse --- PASS: TestAuthManagerResponse (0.00s) === RUN TestBlockDeviceFail time="2020-08-02T14:45:13Z" level=info msg="opening device /dev/somefile for writing" module=block_device --- PASS: TestBlockDeviceFail (0.00s) === RUN TestBlockDeviceWrite time="2020-08-02T14:45:13Z" level=info msg="opening device /tmp/mender-block-device-925480913/foo for writing" module=block_device time="2020-08-02T14:45:13Z" level=info msg="partition /tmp/mender-block-device-925480913/foo size: 10" module=block_device time="2020-08-02T14:45:13Z" level=info msg="opening device /tmp/mender-block-device-925480913/foo for writing" module=block_device time="2020-08-02T14:45:13Z" level=info msg="partition /tmp/mender-block-device-925480913/foo size: 10" module=block_device time="2020-08-02T14:45:13Z" level=error msg="written 10 out of 12 bytes to partition /tmp/mender-block-device-925480913/foo: no space left on device" module=block_device --- PASS: TestBlockDeviceWrite (0.00s) block_device_test.go:44: block device size called: &{0x40000b4c00} block_device_test.go:44: block device size called: &{0x40000b4f60} === RUN TestBlockDeviceSize --- PASS: TestBlockDeviceSize (0.00s) block_device_test.go:44: block device size called: &{0x40000b52c0} block_device_test.go:44: block device size called: &{0x40000b5320} === RUN Test_EnvWrite_OSResponseOK_WritesOK --- PASS: Test_EnvWrite_OSResponseOK_WritesOK (0.01s) === RUN Test_EnvWrite_OSResponseError_Fails time="2020-08-02T14:45:13Z" level=error msg="U-Boot variable malformed or error occured" module=bootenv --- PASS: Test_EnvWrite_OSResponseError_Fails (0.03s) === RUN Test_EnvRead_HaveVariable_ReadsVariable --- PASS: Test_EnvRead_HaveVariable_ReadsVariable (0.04s) === RUN Test_EnvRead_HaveEnvWarning_FailsReading time="2020-08-02T14:45:13Z" level=error msg="U-Boot variable malformed or error occured" module=bootenv time="2020-08-02T14:45:13Z" level=error msg="U-Boot variable malformed or error occured" module=bootenv time="2020-08-02T14:45:13Z" level=error msg="U-Boot variable malformed or error occured" module=bootenv time="2020-08-02T14:45:13Z" level=error msg="U-Boot variable malformed or error occured" module=bootenv --- PASS: Test_EnvRead_HaveEnvWarning_FailsReading (0.03s) === RUN Test_EnvRead_NonExisting_FailsReading time="2020-08-02T14:45:13Z" level=error msg="U-Boot variable malformed or error occured" module=bootenv time="2020-08-02T14:45:13Z" level=error msg="U-Boot variable malformed or error occured" module=bootenv time="2020-08-02T14:45:13Z" level=error msg="U-Boot variable malformed or error occured" module=bootenv time="2020-08-02T14:45:13Z" level=error msg="U-Boot variable malformed or error occured" module=bootenv --- PASS: Test_EnvRead_NonExisting_FailsReading (0.03s) === RUN Test_EnvCanary --- PASS: Test_EnvCanary (0.09s) === RUN Test_PermissionDenied time="2020-08-02T14:45:13Z" level=error msg="Could not execute fw_setenv: exec: \"fw_setenv\": executable file not found in $PATH" module=bootenv --- PASS: Test_PermissionDenied (0.00s) === RUN Test_readConfigFile_noFile_returnsError --- PASS: Test_readConfigFile_noFile_returnsError (0.00s) === RUN Test_readConfigFile_brokenContent_returnsError time="2020-08-02T14:45:13Z" level=info msg="Configuration file does not exist: does-not-exist.config" module=config time="2020-08-02T14:45:13Z" level=error msg="Error loading configuration from file: mender.config (Error parsing mender configuration file: invalid character '\\n' in string literal)" module=config --- PASS: Test_readConfigFile_brokenContent_returnsError (0.00s) === RUN Test_loadConfig_correctConfFile_returnsConfiguration time="2020-08-02T14:45:13Z" level=info msg="Configuration file does not exist: does-not-exist.config" module=config time="2020-08-02T14:45:13Z" level=info msg="Loaded configuration file: mender.config" module=config time="2020-08-02T14:45:13Z" level=info msg="Loaded configuration file: mender.config" module=config time="2020-08-02T14:45:13Z" level=info msg="Configuration file does not exist: does-not-exist.config" module=config --- PASS: Test_loadConfig_correctConfFile_returnsConfiguration (0.00s) === RUN TestServerURLConfig time="2020-08-02T14:45:13Z" level=info msg="Configuration file does not exist: does-not-exist.config" module=config time="2020-08-02T14:45:13Z" level=info msg="Loaded configuration file: mender.config" module=config time="2020-08-02T14:45:13Z" level=info msg="Configuration file does not exist: does-not-exist.config" module=config time="2020-08-02T14:45:13Z" level=info msg="Loaded configuration file: mender.config" module=config time="2020-08-02T14:45:13Z" level=error msg="In mender.conf: don't specify both Servers field AND the corresponding fields in base structure (i.e. ServerURL). The first server on the list on thelist overwrites these fields." module=config --- PASS: TestServerURLConfig (0.00s) === RUN TestMultipleServersConfig time="2020-08-02T14:45:13Z" level=info msg="Configuration file does not exist: does-not-exist.config" module=config time="2020-08-02T14:45:13Z" level=info msg="Loaded configuration file: /tmp/mendertest704097323/mender.conf" module=config --- PASS: TestMultipleServersConfig (0.00s) === RUN TestConfigurationMergeSettings time="2020-08-02T14:45:13Z" level=info msg="Loaded configuration file: fallback.config" module=config time="2020-08-02T14:45:13Z" level=info msg="Loaded configuration file: main.config" module=config time="2020-08-02T14:45:13Z" level=warning msg="No server URL(s) specified in mender configuration." module=config time="2020-08-02T14:45:13Z" level=warning msg="Server entry 1 has no associated server URL." module=config --- PASS: TestConfigurationMergeSettings (0.00s) === RUN TestConfigurationNeitherFileExistsIsError time="2020-08-02T14:45:13Z" level=info msg="Configuration file does not exist: also-does-not-exist" module=config time="2020-08-02T14:45:13Z" level=info msg="Configuration file does not exist: does-not-exist" module=config --- PASS: TestConfigurationNeitherFileExistsIsError (0.00s) === RUN TestDaemon time="2020-08-02T14:45:13Z" level=info msg="State transition: init [none] -> init [none]" module=mender --- PASS: TestDaemon (0.00s) === RUN TestDaemonCleanup time="2020-08-02T14:45:13Z" level=error msg="failed to close data store: foo" module=daemon --- PASS: TestDaemonCleanup (0.00s) daemon_test.go:121: PASS: Close() daemon_test.go:129: PASS: Close() === RUN TestDaemonRun === RUN TestDaemonRun/Testrun_daemon === RUN TestDaemonRun/testing_state_machine_interrupt_functionality --- PASS: TestDaemonRun (1.05s) --- PASS: TestDaemonRun/Testrun_daemon (0.05s) daemon_test.go:178: poke count: 5 --- PASS: TestDaemonRun/testing_state_machine_interrupt_functionality (1.00s) === RUN TestFileLogger --- PASS: TestFileLogger (0.00s) === RUN TestLogManagerInit --- PASS: TestLogManagerInit (0.00s) === RUN TestLogManagerCheckEnableDisable --- PASS: TestLogManagerCheckEnableDisable (0.00s) === RUN TestLogManagerCheckLogging --- PASS: TestLogManagerCheckLogging (0.00s) === RUN TestLogManagerLogRotation --- PASS: TestLogManagerLogRotation (0.00s) === RUN TestEnabligLogsNoSpceForStoringLogs --- PASS: TestEnabligLogsNoSpceForStoringLogs (0.00s) === RUN TestDeploymentLoggingHook time="2020-08-02T14:45:14Z" level=info msg=test1 module=deployment_logger_test time="2020-08-02T14:45:14Z" level=info msg=test3 module=deployment_logger_test --- PASS: TestDeploymentLoggingHook (0.00s) === RUN TestGetLogs --- PASS: TestGetLogs (0.00s) === RUN TestFindLogFiles --- PASS: TestFindLogFiles (0.00s) === RUN Test_commitUpdate time="2020-08-02T14:45:14Z" level=info msg="Commiting update" module=device --- PASS: Test_commitUpdate (0.00s) === RUN Test_enableUpdatedPartition_wrongPartitinNumber_fails --- PASS: Test_enableUpdatedPartition_wrongPartitinNumber_fails (0.00s) === RUN Test_enableUpdatedPartition_correctPartitinNumber time="2020-08-02T14:45:14Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" module=device time="2020-08-02T14:45:14Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" module=device --- PASS: Test_enableUpdatedPartition_correctPartitinNumber (0.03s) === RUN Test_installUpdate_existingAndNonInactivePartition time="2020-08-02T14:45:14Z" level=info msg="opening device inactivePart for writing" module=block_device time="2020-08-02T14:45:14Z" level=info msg="partition inactivePart size: 12" module=block_device time="2020-08-02T14:45:14Z" level=info msg="wrote 12/12 bytes of update to device inactivePart" module=device time="2020-08-02T14:45:14Z" level=error msg="failed to read size of block device inactivePart: " module=device --- PASS: Test_installUpdate_existingAndNonInactivePartition (0.00s) === RUN Test_FetchUpdate_existingAndNonExistingUpdateFile --- PASS: Test_FetchUpdate_existingAndNonExistingUpdateFile (0.00s) === RUN Test_Rollback_OK time="2020-08-02T14:45:14Z" level=info msg="setting partition for rollback: 2" module=device --- PASS: Test_Rollback_OK (0.02s) === RUN TestDeviceHasUpdate --- PASS: TestDeviceHasUpdate (0.04s) === RUN TestMenderError --- PASS: TestMenderError (0.00s) === RUN TestDeviceIdentityGet --- PASS: TestDeviceIdentityGet (0.04s) identity_data_test.go:92: test case: 0 identity_data_test.go:92: test case: 1 identity_data_test.go:92: test case: 2 identity_data_test.go:92: test case: 3 identity_data_test.go:92: test case: 4 === RUN TestInventoryDataDecoder --- PASS: TestInventoryDataDecoder (0.00s) === RUN TestLicenses --- FAIL: TestLicenses (0.79s) licenses.go:60: exit status 1 licenses.go:61: /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./client/test/server.go for correct license header; last modified in !!! FAILED license check on ./client/test/server.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./client/auth.go for correct license header; last modified in !!! FAILED license check on ./client/auth.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./client/client.go for correct license header; last modified in !!! FAILED license check on ./client/client.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./client/client_auth.go for correct license header; last modified in !!! FAILED license check on ./client/client_auth.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./client/client_auth_test.go for correct license header; last modified in !!! FAILED license check on ./client/client_auth_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./client/client_inventory.go for correct license header; last modified in !!! FAILED license check on ./client/client_inventory.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./client/client_inventory_test.go for correct license header; last modified in !!! FAILED license check on ./client/client_inventory_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./client/client_log.go for correct license header; last modified in !!! FAILED license check on ./client/client_log.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./client/client_log_test.go for correct license header; last modified in !!! FAILED license check on ./client/client_log_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./client/client_mock_test.go for correct license header; last modified in !!! FAILED license check on ./client/client_mock_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./client/client_status.go for correct license header; last modified in !!! FAILED license check on ./client/client_status.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./client/client_status_test.go for correct license header; last modified in !!! FAILED license check on ./client/client_status_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./client/client_test.go for correct license header; last modified in !!! FAILED license check on ./client/client_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./client/client_update.go for correct license header; last modified in !!! FAILED license check on ./client/client_update.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./client/client_update_test.go for correct license header; last modified in !!! FAILED license check on ./client/client_update_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./client/inventory.go for correct license header; last modified in !!! FAILED license check on ./client/inventory.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./client/update_resumer.go for correct license header; last modified in !!! FAILED license check on ./client/update_resumer.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./client/update_resumer_test.go for correct license header; last modified in !!! FAILED license check on ./client/update_resumer_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./installer/installer.go for correct license header; last modified in !!! FAILED license check on ./installer/installer.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./installer/installer_test.go for correct license header; last modified in !!! FAILED license check on ./installer/installer_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./statescript/executor.go for correct license header; last modified in !!! FAILED license check on ./statescript/executor.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./statescript/statescript_test.go for correct license header; last modified in !!! FAILED license check on ./statescript/statescript_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./statescript/store.go for correct license header; last modified in !!! FAILED license check on ./statescript/store.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./store/dbstore.go for correct license header; last modified in !!! FAILED license check on ./store/dbstore.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./store/dbstore_test.go for correct license header; last modified in !!! FAILED license check on ./store/dbstore_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./store/dirstore.go for correct license header; last modified in !!! FAILED license check on ./store/dirstore.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./store/dirstore_test.go for correct license header; last modified in !!! FAILED license check on ./store/dirstore_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./store/keystore.go for correct license header; last modified in !!! FAILED license check on ./store/keystore.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./store/keystore_test.go for correct license header; last modified in !!! FAILED license check on ./store/keystore_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./store/mem_store.go for correct license header; last modified in !!! FAILED license check on ./store/mem_store.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./store/mem_store_test.go for correct license header; last modified in !!! FAILED license check on ./store/mem_store_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./store/mockstore.go for correct license header; last modified in !!! FAILED license check on ./store/mockstore.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./store/store.go for correct license header; last modified in !!! FAILED license check on ./store/store.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./utils/kvparser.go for correct license header; last modified in !!! FAILED license check on ./utils/kvparser.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./utils/kvparser_test.go for correct license header; last modified in !!! FAILED license check on ./utils/kvparser_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./utils/limited_writer.go for correct license header; last modified in !!! FAILED license check on ./utils/limited_writer.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./utils/limited_writer_test.go for correct license header; last modified in !!! FAILED license check on ./utils/limited_writer_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./utils/progress.go for correct license header; last modified in !!! FAILED license check on ./utils/progress.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./utils/progress_test.go for correct license header; last modified in !!! FAILED license check on ./utils/progress_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./auth.go for correct license header; last modified in !!! FAILED license check on ./auth.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./auth_test.go for correct license header; last modified in !!! FAILED license check on ./auth_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./block_device.go for correct license header; last modified in !!! FAILED license check on ./block_device.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./block_device_test.go for correct license header; last modified in !!! FAILED license check on ./block_device_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./bootenv.go for correct license header; last modified in !!! FAILED license check on ./bootenv.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./bootenv_test.go for correct license header; last modified in !!! FAILED license check on ./bootenv_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./config.go for correct license header; last modified in !!! FAILED license check on ./config.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./config_test.go for correct license header; last modified in !!! FAILED license check on ./config_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./daemon.go for correct license header; last modified in !!! FAILED license check on ./daemon.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./daemon_test.go for correct license header; last modified in !!! FAILED license check on ./daemon_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./deployment_logger.go for correct license header; last modified in !!! FAILED license check on ./deployment_logger.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./deployment_logger_test.go for correct license header; last modified in !!! FAILED license check on ./deployment_logger_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./device.go for correct license header; last modified in !!! FAILED license check on ./device.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./device_test.go for correct license header; last modified in !!! FAILED license check on ./device_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./error.go for correct license header; last modified in !!! FAILED license check on ./error.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./error_test.go for correct license header; last modified in !!! FAILED license check on ./error_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./identity_data.go for correct license header; last modified in !!! FAILED license check on ./identity_data.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./identity_data_test.go for correct license header; last modified in !!! FAILED license check on ./identity_data_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./inventory_data.go for correct license header; last modified in !!! FAILED license check on ./inventory_data.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./inventory_data_test.go for correct license header; last modified in !!! FAILED license check on ./inventory_data_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./ioctl.go for correct license header; last modified in !!! FAILED license check on ./ioctl.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./license_test.go for correct license header; last modified in !!! FAILED license check on ./license_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./main.go for correct license header; last modified in !!! FAILED license check on ./main.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./main_test.go for correct license header; last modified in !!! FAILED license check on ./main_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./mender.go for correct license header; last modified in !!! FAILED license check on ./mender.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./mender_test.go for correct license header; last modified in !!! FAILED license check on ./mender_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./partitions.go for correct license header; last modified in !!! FAILED license check on ./partitions.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./partitions_test.go for correct license header; last modified in !!! FAILED license check on ./partitions_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./paths.go for correct license header; last modified in !!! FAILED license check on ./paths.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./paths_local.go for correct license header; last modified in !!! FAILED license check on ./paths_local.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./rootfs.go for correct license header; last modified in !!! FAILED license check on ./rootfs.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./rootfs_test.go for correct license header; last modified in !!! FAILED license check on ./rootfs_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./statcommander_test.go for correct license header; last modified in !!! FAILED license check on ./statcommander_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./state.go for correct license header; last modified in !!! FAILED license check on ./state.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./state_test.go for correct license header; last modified in !!! FAILED license check on ./state_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./transition.go for correct license header; last modified in !!! FAILED license check on ./transition.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./transition_test.go for correct license header; last modified in !!! FAILED license check on ./transition_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./version.go for correct license header; last modified in !!! FAILED license check on ./version.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./version_test.go for correct license header; last modified in !!! FAILED license check on ./version_test.go; make sure copyright year matches last modified year of the file /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mendertesting/check_license_go_code.sh: line 24: git: command not found Checking ./deployment_log_hook.go for correct license header; last modified in !!! FAILED license check on ./deployment_log_hook.go; make sure copyright year matches last modified year of the file === RUN TestMissingArgs time="2020-08-02T14:45:15Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" module=main time="2020-08-02T14:45:15Z" level=info msg="Configuration file does not exist: /var/lib/mender/mender.conf" module=config time="2020-08-02T14:45:15Z" level=info msg="Configuration file does not exist: mender.conf.example" module=config --- FAIL: TestMissingArgs (0.00s) main_test.go:47: Error Trace: main_test.go:47 Error: "could not find either configuration file" does not contain "Must give one of -rootfs, -commit, -bootstrap or -daemon arguments" Test: TestMissingArgs === RUN TestAmbiguousArgumentsArgs time="2020-08-02T14:45:15Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" module=main --- PASS: TestAmbiguousArgumentsArgs (0.00s) === RUN TestArgsParseRootfsForce time="2020-08-02T14:45:15Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" module=main --- PASS: TestArgsParseRootfsForce (0.00s) === RUN TestArgsParseCheckUpdate --- PASS: TestArgsParseCheckUpdate (0.00s) === RUN TestRunDaemon --- FAIL: TestRunDaemon (4.00s) main_test.go:101: signal sent main_test.go:108: Error Trace: main_test.go:108 Error: "time="2020-08-02T14:45:15Z" level=debug msg="private key does not exist" module=keystore time="2020-08-02T14:45:15Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2020-08-02T14:45:15Z" level=debug msg="no state data stored" module=state time="2020-08-02T14:45:15Z" level=info msg="State transition: init [none] -> idle [Idle]" module=mender time="2020-08-02T14:45:15Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 60 seconds" module=executor time="2020-08-02T14:45:15Z" level=info msg="State transition: idle [Idle] -> authorize [Sync]" module=mender time="2020-08-02T14:45:15Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 60 seconds" module=executor time="2020-08-02T14:45:15Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 60 seconds" module=executor time="2020-08-02T14:45:15Z" level=debug msg="handle authorize state" module=state time="2020-08-02T14:45:15Z" level=debug msg="needs keys" module=mender time="2020-08-02T14:45:15Z" level=info msg="device keys not present or bootstrap forced, generating" module=mender time="2020-08-02T14:45:17Z" level=debug msg="SIGUSR1 signal received." module=main " does not contain "forced wake-up from sleep" Test: TestRunDaemon Messages: daemon was not forced from sleep === RUN TestLoggingOptions --- PASS: TestLoggingOptions (0.00s) === RUN TestBinarySize --- PASS: TestBinarySize (19.48s) === RUN TestVersion --- FAIL: TestVersion (0.00s) main_test.go:232: Error Trace: main_test.go:232 Error: Received unexpected error: could not find either configuration file github.com/mendersoftware/mender.loadConfig /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mender/config.go:91 github.com/mendersoftware/mender.doMain /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mender/main.go:431 github.com/mendersoftware/mender.TestVersion /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mender/main_test.go:228 testing.tRunner /usr/lib/go-1.11/src/testing/testing.go:827 runtime.goexit /usr/lib/go-1.11/src/runtime/asm_arm64.s:1114 Test: TestVersion Messages: calling main with -version should not produce an error main_test.go:241: Error Trace: main_test.go:241 Error: Not equal: expected: "unknown\nruntime: go1.11.6\n" actual : "" Diff: --- Expected +++ Actual @@ -1,3 +1 @@ -unknown -runtime: go1.11.6 Test: TestVersion Messages: unexpected version output '' expected 'unknown runtime: go1.11.6 ' === RUN TestMainBootstrap --- PASS: TestMainBootstrap (9.83s) === RUN TestPrintArtifactName foobar --- PASS: TestPrintArtifactName (0.00s) === RUN TestGetMenderDaemonPID --- PASS: TestGetMenderDaemonPID (0.01s) === RUN TestInitDaemon --- PASS: TestInitDaemon (0.00s) === RUN Test_getArtifactName_noArtifactNameInFile_returnsEmptyName --- PASS: Test_getArtifactName_noArtifactNameInFile_returnsEmptyName (0.00s) === RUN Test_getArtifactName_malformedArtifactNameLine_returnsError --- PASS: Test_getArtifactName_malformedArtifactNameLine_returnsError (0.00s) === RUN Test_getArtifactName_haveArtifactName_returnsName --- PASS: Test_getArtifactName_haveArtifactName_returnsName (0.00s) === RUN Test_ForceBootstrap --- PASS: Test_ForceBootstrap (5.03s) === RUN Test_Bootstrap --- PASS: Test_Bootstrap (7.31s) === RUN Test_BootstrappedHaveKeys --- PASS: Test_BootstrappedHaveKeys (1.64s) === RUN Test_BootstrapError --- PASS: Test_BootstrapError (3.35s) === RUN Test_CheckUpdateSimple --- PASS: Test_CheckUpdateSimple (0.00s) === RUN TestMenderHasUpgrade --- PASS: TestMenderHasUpgrade (0.00s) === RUN TestMenderGetUpdatePollInterval --- PASS: TestMenderGetUpdatePollInterval (0.00s) === RUN TestMenderGetInventoryPollInterval --- PASS: TestMenderGetInventoryPollInterval (0.00s) === RUN TestMenderAuthorize --- PASS: TestMenderAuthorize (0.00s) === RUN TestMenderReportStatus --- PASS: TestMenderReportStatus (1.08s) === RUN TestMenderLogUpload --- PASS: TestMenderLogUpload (1.24s) === RUN TestMenderState --- PASS: TestMenderState (0.00s) === RUN TestAuthToken --- PASS: TestAuthToken (2.40s) === RUN TestMenderInventoryRefresh --- PASS: TestMenderInventoryRefresh (0.01s) === RUN TestMenderInstallUpdate --- PASS: TestMenderInstallUpdate (0.01s) mender_test.go:894: error: installer: failed to read and install update: reader: can not read version file: EOF mender_test.go:901: error: installer: failed to read and install update: reader: can not read version file: reader: error reading archive: failed === RUN TestMenderFetchUpdate --- PASS: TestMenderFetchUpdate (0.00s) === RUN TestReauthorization --- PASS: TestReauthorization (2.98s) === RUN TestFailoverServers --- PASS: TestFailoverServers (2.74s) === RUN Test_GetInactive_HaveActivePartitionSet_ReturnsInactive --- PASS: Test_GetInactive_HaveActivePartitionSet_ReturnsInactive (0.00s) === RUN Test_GetMountRoot --- PASS: Test_GetMountRoot (0.00s) === RUN Test_getRootDevice_HaveDevice_ReturnsDevice --- PASS: Test_getRootDevice_HaveDevice_ReturnsDevice (0.00s) === RUN Test_matchRootWithMout_HaveValidMount --- PASS: Test_matchRootWithMout_HaveValidMount (0.00s) === RUN Test_getActivePartition_noActiveInactiveSet --- PASS: Test_getActivePartition_noActiveInactiveSet (0.20s) === RUN Test_getAllMountedDevices --- PASS: Test_getAllMountedDevices (0.00s) === RUN Test_doManualUpdate_noParams_fail --- PASS: Test_doManualUpdate_noParams_fail (0.00s) === RUN Test_doManualUpdate_invalidHttpsClientConfig_updateFails --- PASS: Test_doManualUpdate_invalidHttpsClientConfig_updateFails (0.12s) === RUN Test_doManualUpdate_nonExistingFile_fail --- PASS: Test_doManualUpdate_nonExistingFile_fail (0.00s) === RUN Test_doManualUpdate_networkUpdateNoClient_fail --- PASS: Test_doManualUpdate_networkUpdateNoClient_fail (0.00s) === RUN Test_doManualUpdate_networkClientExistsNoServer_fail --- PASS: Test_doManualUpdate_networkClientExistsNoServer_fail (0.00s) === RUN Test_doManualUpdate_installFailing_updateFails Installing update from the artifact of size 12 . 100% 12 B --- PASS: Test_doManualUpdate_installFailing_updateFails (0.00s) === RUN Test_doManualUpdate_existingFile_updateSuccess Installing update from the artifact of size 4096 . 100% 4 KiB --- PASS: Test_doManualUpdate_existingFile_updateSuccess (0.00s) === RUN TestHelperProcessSuccess --- PASS: TestHelperProcessSuccess (0.00s) === RUN TestStateBase --- PASS: TestStateBase (0.00s) === RUN TestStateWait --- PASS: TestStateWait (10.10s) === RUN TestStateError --- PASS: TestStateError (0.00s) === RUN TestStateUpdateError --- PASS: TestStateUpdateError (0.00s) === RUN TestStateUpdateReportStatus --- PASS: TestStateUpdateReportStatus (0.03s) === RUN TestStateIdle --- PASS: TestStateIdle (0.00s) === RUN TestStateInit --- PASS: TestStateInit (0.00s) === RUN TestStateAuthorize --- PASS: TestStateAuthorize (0.00s) === RUN TestStateInvetoryUpdate --- PASS: TestStateInvetoryUpdate (0.00s) === RUN TestStateAuthorizeWait --- PASS: TestStateAuthorizeWait (0.10s) === RUN TestUpdateVerifyState --- PASS: TestUpdateVerifyState (0.00s) === RUN TestStateUpdateCommit --- PASS: TestStateUpdateCommit (0.00s) === RUN TestStateUpdateCheckWait --- PASS: TestStateUpdateCheckWait (0.01s) === RUN TestStateUpdateCheck --- PASS: TestStateUpdateCheck (0.00s) === RUN TestUpdateCheckSameImage --- PASS: TestUpdateCheckSameImage (0.00s) === RUN TestStateUpdateFetch --- PASS: TestStateUpdateFetch (0.00s) === RUN TestStateUpdateFetchRetry --- PASS: TestStateUpdateFetchRetry (0.00s) === RUN TestStateUpdateStore --- PASS: TestStateUpdateStore (0.00s) === RUN TestStateUpdateInstallRetry --- PASS: TestStateUpdateInstallRetry (0.00s) === RUN TestStateReboot --- PASS: TestStateReboot (0.00s) === RUN TestStateRollback --- PASS: TestStateRollback (0.00s) === RUN TestStateFinal --- PASS: TestStateFinal (0.00s) === RUN TestStateData --- PASS: TestStateData (0.00s) === RUN TestStateReportError --- PASS: TestStateReportError (0.00s) === RUN TestMaxSendingAttempts --- PASS: TestMaxSendingAttempts (0.00s) === RUN TestTransitions --- PASS: TestTransitions (0.00s) transition_test.go:202: has: [{Idle Leave} {Sync Enter}] expect: [{Idle Leave} {Sync Enter}] transition_test.go:202: has: [{Idle Leave} {Sync Enter}] expect: [{Idle Leave} {Sync Enter}] transition_test.go:202: has: [{Idle Leave} {Sync Enter}] expect: [{Idle Leave} {Sync Enter}] transition_test.go:202: has: [{Sync Leave}] expect: [{Sync Leave}] transition_test.go:202: has: [{Error Leave} {Idle Enter}] expect: [{Error Leave} {Idle Enter}] transition_test.go:202: has: [{ArtifactReboot Error} {Error Enter}] expect: [{ArtifactReboot Error} {Error Enter}] transition_test.go:202: has: [{Idle Enter}] expect: [{Idle Enter}] transition_test.go:202: has: [{Error Enter}] expect: [{Error Enter}] transition_test.go:202: has: [{Idle Error} {Error Enter}] expect: [{Idle Error} {Error Enter}] transition_test.go:202: has: [{ArtifactInstall Leave}] expect: [{ArtifactInstall Leave} {ArtifactReboot Enter}] transition_test.go:202: has: [{ArtifactInstall Leave} {ArtifactReboot Enter}] expect: [{ArtifactInstall Leave} {ArtifactReboot Enter}] === RUN TestGetName --- PASS: TestGetName (0.00s) === RUN TestIgnoreErrors --- PASS: TestIgnoreErrors (0.00s) === RUN TestTransitionReporting --- PASS: TestTransitionReporting (0.00s) transition_test.go:366: Running state: init transition_test.go:366: Running state: idle transition_test.go:366: Running state: authorize transition_test.go:366: Running state: authorize-wait transition_test.go:366: Running state: check-wait transition_test.go:366: Running state: init transition_test.go:366: Running state: update-fetch transition_test.go:366: Running state: update-store transition_test.go:366: Running state: update-install transition_test.go:366: Running state: reboot transition_test.go:366: Running state: after-reboot transition_test.go:366: Running state: update-verify transition_test.go:366: Running state: update-commit transition_test.go:366: Running state: rollback transition_test.go:366: Running state: after-rollback-reboot transition_test.go:366: Running state: update-error === RUN TestVersionUnknown --- PASS: TestVersionUnknown (0.00s) === RUN TestVersionVersion --- PASS: TestVersionVersion (0.00s) FAIL FAIL github.com/mendersoftware/mender 77.205s === RUN TestClientAuthMakeReq --- PASS: TestClientAuthMakeReq (0.00s) client_auth_test.go:75: data: foobar data === RUN TestClientAuth time="2020-08-02T14:44:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2020-08-02T14:44:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client --- PASS: TestClientAuth (0.15s) === RUN TestClientAuthExpiredCert time="2020-08-02T14:44:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIIBmzCCAQQCCQDMKfSEuawBWTANBgkqhkiG9w0BAQsFADASMRAwDgYDVQQKEwdB\nY21lIENvMB4XDTcxMDEwMTEzMDMxNloXDTcyMDEwMTEzMDMxNlowEjEQMA4GA1UE\nChMHQWNtZSBDbzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA7i50ACN5g4Hs\nt1Qc1pwdi9/SVFOLcY3lROpsrg6pDP7hpX42/Uo2NWyMOIgObAQWcx4t89IdWFfE\nD7sRG4uJ1vdSCZtoLL72YSKwh0t5emn2m+KWQZdvl7A7paygcSirQ9axsZRuC453\nHWmxZ/YLy2Wndm0srKs/6kwFErU76iUCAwEAATANBgkqhkiG9w0BAQsFAAOBgQAi\nK3rBgk+rMIfXtfWO7naaob/b4ASfUbMAwc1J+wOqXOj9O9wf/5xD5O8/pEenmp5k\nM3nPb2xzRhRbusFFG0fZebk2U7DUf+JjN8pdiqfW3gDfOQHh3IdeGrLRsZ3A/K7z\nj6GZ2oBCoVjobmbA713gcMJggzzBJbCPmGpFjKYHOQ==\n-----END CERTIFICATE-----\n" module=client time="2020-08-02T14:44:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1971-01-01 13:03:16 +0000 UTC, Valid to: 1972-01-01 13:03:16 +0000 UTC" module=client 2020/08/02 14:44:58 http: TLS handshake error from 127.0.0.1:51098: remote error: tls: bad certificate time="2020-08-02T14:44:58Z" level=error msg="Failure occured while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:44949/api/devices/v1/authentication/auth_requests\", Err:x509.CertificateInvalidError{Cert:(*x509.Certificate)(0x4000021600), Reason:1, Detail:\"\"}}" module=client_auth time="2020-08-02T14:44:58Z" level=error msg="Certificate has expired or is not yet valid." module=client_auth time="2020-08-02T14:44:58Z" level=error msg="Current clock is 2020-08-02 14:44:58.418019878 +0000 UTC m=+0.154477771" module=client_auth time="2020-08-02T14:44:58Z" level=error msg="Verify that the clock on the device is correct and/or certificate expiration date is valid." module=client_auth time="2020-08-02T14:44:58Z" level=error msg="See https://docs.mender.io/troubleshooting/mender-client#certificate-expired-or-not-yet-valid for more information." module=client_auth --- PASS: TestClientAuthExpiredCert (0.01s) === RUN TestClientAuthUnknownAuthorityCert time="2020-08-02T14:44:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEjCCAXugAwIBAgIRAMQ8I/xATeFlYDeiX3H1XBkwDQYJKoZIhvcNAQELBQAw\nEjEQMA4GA1UEChMHQWNtZSBDbzAeFw03MDAxMDEwMDAwMDBaFw03MDAxMDMwMDAw\nMDBaMBIxEDAOBgNVBAoTB0FjbWUgQ28wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJ\nAoGBAJiCLkrvs3bels/qVWe5SojBygTrU7D1Qn/dZ7ZSJF1svUuvwDq8p6wHC1y5\ntX+KBjOjxtUjUdIQgfuCjAbw2j7hgrpEenieQpVTccb44aRa1ufobjKYhWiIZ+K6\n96udAaoSd1tt+TJpU2Ym2gWzWBMSpGAqKdgrmFfFMl/9mHKlAgMBAAGjaDBmMA4G\nA1UdDwEB/wQEAwICpDATBgNVHSUEDDAKBggrBgEFBQcDATAPBgNVHRMBAf8EBTAD\nAQH/MC4GA1UdEQQnMCWCC2V4YW1wbGUuY29thwR/AAABhxAAAAAAAAAAAAAAAAAA\nAAABMA0GCSqGSIb3DQEBCwUAA4GBAH0gC0D1t1fZ+Nv5OWfve1n435EQ/eLOu0NA\nAZ3LjRZjByytlBEvdO8F+xVeLhm/924B2G0VItotsg4888R7AZ43TceBFN4LvPDt\niRMfWmk3Z87fOiMADOFlxdCvA5ceA2o1VDnOblcIf8czSaVTXq9vrmCNhE8P0WU0\nL/r4D5nk\n-----END CERTIFICATE-----\n" module=client time="2020-08-02T14:44:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 1970-01-03 00:00:00 +0000 UTC" module=client 2020/08/02 14:44:58 http: TLS handshake error from 127.0.0.1:57894: remote error: tls: bad certificate time="2020-08-02T14:44:58Z" level=error msg="Failure occured while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:40732/api/devices/v1/authentication/auth_requests\", Err:x509.UnknownAuthorityError{Cert:(*x509.Certificate)(0x40001c1700), hintErr:(*errors.errorString)(0x40000a24c0), hintCert:(*x509.Certificate)(0x40001c1180)}}" module=client_auth time="2020-08-02T14:44:58Z" level=error msg="Certificate is signed by unknown authority." module=client_auth time="2020-08-02T14:44:58Z" level=error msg="If you are using a self-signed certificate, make sure it is available locally to the Mender client in /etc/mender/server.crt and is configured properly in /etc/mender/mender.conf." module=client_auth time="2020-08-02T14:44:58Z" level=error msg="See https://docs.mender.io/troubleshooting/mender-client#certificate-signed-by-unknown-authority for more information." module=client_auth --- PASS: TestClientAuthUnknownAuthorityCert (0.00s) === RUN TestClientAuthNoCert time="2020-08-02T14:44:58Z" level=error msg="server.non-existing.crt is inaccessible: open server.non-existing.crt: no such file or directory" module=client --- PASS: TestClientAuthNoCert (0.00s) === RUN TestInventoryClient time="2020-08-02T14:44:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2020-08-02T14:44:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client time="2020-08-02T14:44:58Z" level=error msg="failed to submit inventory data: foo" module=client_inventory time="2020-08-02T14:44:58Z" level=error msg="got unexpected HTTP status when submitting to inventory: 401" module=client_inventory --- PASS: TestInventoryClient (0.01s) === RUN TestLogUploadClient time="2020-08-02T14:44:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2020-08-02T14:44:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client time="2020-08-02T14:44:58Z" level=error msg="failed to upload logs: foo" module=client_log time="2020-08-02T14:44:58Z" level=error msg="got unexpected HTTP status when uploading log: 401" module=client_log --- PASS: TestLogUploadClient (0.01s) === RUN TestStatusClient time="2020-08-02T14:44:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2020-08-02T14:44:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client time="2020-08-02T14:44:58Z" level=error msg="failed to report status: foo" module=client_status time="2020-08-02T14:44:58Z" level=error msg="got unexpected HTTP status when reporting status: 401" module=client_status time="2020-08-02T14:44:58Z" level=warning msg="status report rejected, deployment aborted at the backend" module=client_status --- PASS: TestStatusClient (0.01s) === RUN TestHttpClient time="2020-08-02T14:44:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2020-08-02T14:44:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client time="2020-08-02T14:44:58Z" level=error msg="missing.crt is inaccessible: open missing.crt: no such file or directory" module=client --- PASS: TestHttpClient (0.00s) === RUN TestApiClientRequest time="2020-08-02T14:44:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2020-08-02T14:44:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client time="2020-08-02T14:44:58Z" level=info msg="Device unauthorized; attempting reauthorization" module=client time="2020-08-02T14:44:58Z" level=warning msg="Reauthorization failed with error: " module=client time="2020-08-02T14:44:58Z" level=info msg="Device unauthorized; attempting reauthorization" module=client --- PASS: TestApiClientRequest (0.01s) === RUN TestClientConnectionTimeout time="2020-08-02T14:44:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2020-08-02T14:44:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client --- PASS: TestClientConnectionTimeout (0.03s) === RUN TestHttpClientUrl --- PASS: TestHttpClientUrl (0.00s) === RUN TestCaLoading time="2020-08-02T14:44:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2020-08-02T14:44:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client --- PASS: TestCaLoading (0.00s) === RUN TestEmptySystemCertPool time="2020-08-02T14:44:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2020-08-02T14:44:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client --- PASS: TestEmptySystemCertPool (0.00s) === RUN TestExponentialBackoffTimeCalculation --- PASS: TestExponentialBackoffTimeCalculation (0.00s) === RUN TestUnMarshalErrorMessage --- PASS: TestUnMarshalErrorMessage (0.00s) === RUN TestFailoverAPICall time="2020-08-02T14:44:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2020-08-02T14:44:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client time="2020-08-02T14:44:58Z" level=warning msg="Server \"fakeURL.404\" failed to serve request \"\". Attempting \"https://127.0.0.1:37906\"" module=client --- PASS: TestFailoverAPICall (0.01s) === RUN TestParseUpdateResponse time="2020-08-02T14:44:58Z" level=info msg="Correct request for getting image from: https://menderupdate.com [name: myapp-release-z-build-123; devices: [BBB]]" module=client_update time="2020-08-02T14:44:58Z" level=info msg="Correct request for getting image from: https://menderupdate.com [name: myapp-release-z-build-123; devices: [BBB ELC AMX IS 3]]" module=client_update time="2020-08-02T14:44:58Z" level=warning msg="Client recieved invalid response status code: 404" module=client_update time="2020-08-02T14:44:58Z" level=warning msg="Client recieved invalid response status code: 500" module=client_update --- PASS: TestParseUpdateResponse (0.00s) === RUN Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing time="2020-08-02T14:44:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2020-08-02T14:44:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client --- PASS: Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing (0.01s) === RUN Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing time="2020-08-02T14:44:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2020-08-02T14:44:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client --- PASS: Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing (0.01s) === RUN Test_GetScheduledUpdate_ParsingResponseOK_updateSuccess time="2020-08-02T14:44:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2020-08-02T14:44:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client time="2020-08-02T14:44:58Z" level=info msg="Correct request for getting image from: https://menderupdate.com [name: myapp-release-z-build-123; devices: [BBB]]" module=client_update --- PASS: Test_GetScheduledUpdate_ParsingResponseOK_updateSuccess (0.01s) === RUN Test_FetchUpdate_noContent_UpdateFailing time="2020-08-02T14:44:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2020-08-02T14:44:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client time="2020-08-02T14:44:58Z" level=error msg="Image smaller than expected. Expected: 4096, received: 0" module=client_update --- PASS: Test_FetchUpdate_noContent_UpdateFailing (0.01s) === RUN Test_FetchUpdate_invalidRequest_UpdateFailing time="2020-08-02T14:44:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2020-08-02T14:44:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client time="2020-08-02T14:44:58Z" level=error msg="Can not fetch update image: Get broken-request: unsupported protocol scheme \"\"" module=client_update --- PASS: Test_FetchUpdate_invalidRequest_UpdateFailing (0.00s) === RUN Test_FetchUpdate_correctContent_UpdateFetched time="2020-08-02T14:44:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2020-08-02T14:44:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client --- PASS: Test_FetchUpdate_correctContent_UpdateFetched (0.01s) === RUN Test_UpdateApiClientError time="2020-08-02T14:44:58Z" level=error msg="Can not fetch update image: foo" module=client_update --- PASS: Test_UpdateApiClientError (0.00s) === RUN TestMakeUpdateCheckRequest --- PASS: TestMakeUpdateCheckRequest (0.00s) client_update_test.go:331: http://foo.bar/api/devices/v1/deployments/device/deployments/next client_update_test.go:341: http://foo.bar/api/devices/v1/deployments/device/deployments/next?artifact_name=foo client_update_test.go:352: http://foo.bar/api/devices/v1/deployments/device/deployments/next?artifact_name=foo&device_type=hammer === RUN TestBrokenReadAndPartialDownload === RUN TestBrokenReadAndPartialDownload/group === RUN TestBrokenReadAndPartialDownload/group/success === PAUSE TestBrokenReadAndPartialDownload/group/success === RUN TestBrokenReadAndPartialDownload/group/earlyRangeStart === PAUSE TestBrokenReadAndPartialDownload/group/earlyRangeStart === RUN TestBrokenReadAndPartialDownload/group/lateRangeStart === PAUSE TestBrokenReadAndPartialDownload/group/lateRangeStart === RUN TestBrokenReadAndPartialDownload/group/brokenContentLength === PAUSE TestBrokenReadAndPartialDownload/group/brokenContentLength === RUN TestBrokenReadAndPartialDownload/group/missingContentLength === PAUSE TestBrokenReadAndPartialDownload/group/missingContentLength === RUN TestBrokenReadAndPartialDownload/group/noPartialContentSupport === PAUSE TestBrokenReadAndPartialDownload/group/noPartialContentSupport === RUN TestBrokenReadAndPartialDownload/group/emptyContentRange === PAUSE TestBrokenReadAndPartialDownload/group/emptyContentRange === RUN TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange === PAUSE TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange === RUN TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange === PAUSE TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange === RUN TestBrokenReadAndPartialDownload/group/missingBytesContentRange === PAUSE TestBrokenReadAndPartialDownload/group/missingBytesContentRange === RUN TestBrokenReadAndPartialDownload/group/missingContentRange === PAUSE TestBrokenReadAndPartialDownload/group/missingContentRange === RUN TestBrokenReadAndPartialDownload/group/tooManyContentRanges === PAUSE TestBrokenReadAndPartialDownload/group/tooManyContentRanges === RUN TestBrokenReadAndPartialDownload/group/garbledContentStart === PAUSE TestBrokenReadAndPartialDownload/group/garbledContentStart === RUN TestBrokenReadAndPartialDownload/group/breakAfterShortRange === PAUSE TestBrokenReadAndPartialDownload/group/breakAfterShortRange === RUN TestBrokenReadAndPartialDownload/group/serverDownAndUp === PAUSE TestBrokenReadAndPartialDownload/group/serverDownAndUp === RUN TestBrokenReadAndPartialDownload/group/serverDown === PAUSE TestBrokenReadAndPartialDownload/group/serverDown === CONT TestBrokenReadAndPartialDownload/group/success === CONT TestBrokenReadAndPartialDownload/group/serverDown === CONT TestBrokenReadAndPartialDownload/group/serverDownAndUp === CONT TestBrokenReadAndPartialDownload/group/breakAfterShortRange === CONT TestBrokenReadAndPartialDownload/group/garbledContentStart === CONT TestBrokenReadAndPartialDownload/group/missingContentLength === CONT TestBrokenReadAndPartialDownload/group/lateRangeStart === CONT TestBrokenReadAndPartialDownload/group/earlyRangeStart time="2020-08-02T14:44:58Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:44:58Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:44:58Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:44:58Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:44:58Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:44:58Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:44:58Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:44:58Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:44:59Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:44:59Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:44:59Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:44:59Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:44:59Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:44:59Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:44:59Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:44:59Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:44:59Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:44:59Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:44:59Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:44:59Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:44:59Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:44:59Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:44:59Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:44:59Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:44:59Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:44:59Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:44:59Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:44:59Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:00Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:00Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:00Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:00Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:00Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:00Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:00Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:00Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:00Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:00Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:00Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:00Z" level=info msg="Attempting to resume artifact download from offset 3350" module=update_resumer time="2020-08-02T14:45:00Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:00Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:00Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:00Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:00Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:00Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:00Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:00Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:00Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:00Z" level=info msg="Attempting to resume artifact download from offset 3345" module=update_resumer time="2020-08-02T14:45:00Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:00Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:01Z" level=info msg="Attempting to resume artifact download from offset 3350" module=update_resumer time="2020-08-02T14:45:01Z" level=info msg="Attempting to resume artifact download from offset 3350" module=update_resumer time="2020-08-02T14:45:01Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:01Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:01Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:01Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:01Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:01Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-08-02T14:45:01Z" level=info msg="Attempting to resume artifact download from offset 3350" module=update_resumer time="2020-08-02T14:45:01Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:01Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:01Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:01Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:01Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:01Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:01Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:01Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:01Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:01Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:01Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:01Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:01Z" level=info msg="Attempting to resume artifact download from offset 5015" module=update_resumer time="2020-08-02T14:45:01Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:01Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:02Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-08-02T14:45:02Z" level=info msg="Download resume request failed: Get http://localhost:9768/update_resumer_test.go: dial tcp 127.0.0.1:9768: connect: connection refused" module=update_resumer time="2020-08-02T14:45:02Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:02Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:02Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-08-02T14:45:02Z" level=info msg="Download resume request failed: Get http://localhost:9767/update_resumer_test.go: dial tcp 127.0.0.1:9767: connect: connection refused" module=update_resumer time="2020-08-02T14:45:02Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:02Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:02Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-08-02T14:45:02Z" level=info msg="Attempting to resume artifact download from offset 3345" module=update_resumer time="2020-08-02T14:45:02Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:02Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:02Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:02Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:03Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:03Z" level=info msg="Attempting to resume artifact download from offset 6700" module=update_resumer time="2020-08-02T14:45:03Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:03Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:03Z" level=info msg="Resuming download in 2s" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/brokenContentLength time="2020-08-02T14:45:03Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:03Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:03Z" level=info msg="Attempting to resume artifact download from offset 6685" module=update_resumer time="2020-08-02T14:45:03Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:03Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:04Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-08-02T14:45:04Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-08-02T14:45:04Z" level=info msg="Download resume request failed: Get http://localhost:9767/update_resumer_test.go: dial tcp 127.0.0.1:9767: connect: connection refused" module=update_resumer time="2020-08-02T14:45:04Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:04Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:04Z" level=info msg="Download resume request failed: Get http://localhost:9768/update_resumer_test.go: dial tcp 127.0.0.1:9768: connect: connection refused" module=update_resumer time="2020-08-02T14:45:04Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:04Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:04Z" level=info msg="Attempting to resume artifact download from offset 6700" module=update_resumer time="2020-08-02T14:45:04Z" level=info msg="Attempting to resume artifact download from offset 5015" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/tooManyContentRanges time="2020-08-02T14:45:04Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:04Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:04Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:04Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:05Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:05Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:05Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:05Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:05Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:05Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:05Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:05Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:05Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:05Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:05Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:05Z" level=info msg="Attempting to resume artifact download from offset 8355" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/missingContentRange time="2020-08-02T14:45:06Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-08-02T14:45:06Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-08-02T14:45:06Z" level=info msg="Download resume request failed: Get http://localhost:9767/update_resumer_test.go: dial tcp 127.0.0.1:9767: connect: connection refused" module=update_resumer time="2020-08-02T14:45:06Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:06Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:06Z" level=info msg="Attempting to resume artifact download from offset 6685" module=update_resumer time="2020-08-02T14:45:06Z" level=info msg="Download resume request failed: Get http://localhost:9768/update_resumer_test.go: dial tcp 127.0.0.1:9768: connect: connection refused" module=update_resumer time="2020-08-02T14:45:06Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:06Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:06Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:06Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:06Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:06Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:06Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:06Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:06Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:06Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:06Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:06Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:07Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:07Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:07Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:07Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:07Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:07Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:07Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:07Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:07Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:07Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:07Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:07Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:07Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:07Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:07Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:08Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-08-02T14:45:08Z" level=info msg="Download resume request failed: Get http://localhost:9767/update_resumer_test.go: dial tcp 127.0.0.1:9767: connect: connection refused" module=update_resumer time="2020-08-02T14:45:08Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:08Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:08Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-08-02T14:45:08Z" level=info msg="Download resume request failed: Get http://localhost:9768/update_resumer_test.go: dial tcp 127.0.0.1:9768: connect: connection refused" module=update_resumer time="2020-08-02T14:45:08Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:08Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:08Z" level=info msg="Attempting to resume artifact download from offset 8355" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/missingBytesContentRange time="2020-08-02T14:45:08Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:08Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:08Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:08Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:08Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:08Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:09Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:09Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:09Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:09Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:09Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:09Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:09Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:09Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:10Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:10Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:10Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:10Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:10Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:10Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:10Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:10Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:10Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:10Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:10Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:10Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:11Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-08-02T14:45:11Z" level=info msg="Download resume request failed: Get http://localhost:9767/update_resumer_test.go: dial tcp 127.0.0.1:9767: connect: connection refused" module=update_resumer time="2020-08-02T14:45:11Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:11Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:11Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-08-02T14:45:11Z" level=info msg="Download resume request failed: Get http://localhost:9768/update_resumer_test.go: dial tcp 127.0.0.1:9768: connect: connection refused" module=update_resumer time="2020-08-02T14:45:11Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:11Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:11Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:11Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:11Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:11Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:11Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:11Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:11Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:11Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:11Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:12Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:12Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:12Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:12Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:12Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:12Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:13Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:13Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:13Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:13Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:13Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:13Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:13Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:13Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:13Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:13Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:13Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:13Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:14Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-08-02T14:45:14Z" level=info msg="Download resume request failed: Get http://localhost:9767/update_resumer_test.go: dial tcp 127.0.0.1:9767: connect: connection refused" module=update_resumer time="2020-08-02T14:45:14Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:14Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:14Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-08-02T14:45:14Z" level=info msg="Download resume request failed: Get http://localhost:9768/update_resumer_test.go: dial tcp 127.0.0.1:9768: connect: connection refused" module=update_resumer time="2020-08-02T14:45:14Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:14Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:14Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:14Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:14Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:14Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:14Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:14Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:15Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:15Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:15Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:16Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:16Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:16Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:16Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange === CONT TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange time="2020-08-02T14:45:16Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:16Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:16Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:16Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:16Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:16Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:16Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:16Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:16Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:16Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:17Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-08-02T14:45:17Z" level=info msg="Download resume request failed: Get http://localhost:9767/update_resumer_test.go: dial tcp 127.0.0.1:9767: connect: connection refused" module=update_resumer time="2020-08-02T14:45:17Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:17Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-08-02T14:45:17Z" level=info msg="Download resume request failed: Get http://localhost:9768/update_resumer_test.go: dial tcp 127.0.0.1:9768: connect: connection refused" module=update_resumer time="2020-08-02T14:45:17Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/emptyContentRange time="2020-08-02T14:45:17Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:17Z" level=info msg="Resuming download in 1s" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/noPartialContentSupport time="2020-08-02T14:45:17Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:17Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:17Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:17Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:17Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:17Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:17Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:17Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:17Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:17Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:17Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:18Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:18Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:18Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:18Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:18Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:18Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:18Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:18Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:18Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:18Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:18Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:18Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:18Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:18Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:18Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:18Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:18Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:18Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:19Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:19Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:19Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:19Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:19Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:19Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:19Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:19Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:19Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:19Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-08-02T14:45:19Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:19Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:19Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:19Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:19Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:20Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:20Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:20Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:20Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:20Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:20Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:20Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:20Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:20Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:21Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:21Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:21Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:21Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:21Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:21Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:21Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:21Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:21Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:21Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:21Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:21Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:22Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:22Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:22Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:22Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:22Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:22Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:22Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:22Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:23Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:23Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:23Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:23Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:23Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:23Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:23Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:23Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:24Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:24Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:24Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:24Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:24Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:24Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:24Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:24Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:24Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-08-02T14:45:24Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:24Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:25Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:25Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:25Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:25Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:25Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:25Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:26Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:26Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:26Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:26Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:26Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:26Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:27Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:27Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:28Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:28Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:28Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:28Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:28Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:28Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:29Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:29Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:29Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:29Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:29Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:29Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:31Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:31Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:31Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:31Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:31Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:31Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:32Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:32Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:32Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:32Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:32Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:32Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-08-02T14:45:34Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:34Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:34Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:34Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:35Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:35Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-08-02T14:45:35Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-08-02T14:45:35Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer --- FAIL: TestBrokenReadAndPartialDownload (37.06s) --- FAIL: TestBrokenReadAndPartialDownload/group (0.00s) --- PASS: TestBrokenReadAndPartialDownload/group/missingContentLength (5.01s) --- PASS: TestBrokenReadAndPartialDownload/group/success (6.01s) --- PASS: TestBrokenReadAndPartialDownload/group/earlyRangeStart (7.06s) --- PASS: TestBrokenReadAndPartialDownload/group/breakAfterShortRange (10.02s) --- PASS: TestBrokenReadAndPartialDownload/group/lateRangeStart (18.02s) --- PASS: TestBrokenReadAndPartialDownload/group/garbledContentStart (18.02s) --- PASS: TestBrokenReadAndPartialDownload/group/serverDown (19.02s) --- FAIL: TestBrokenReadAndPartialDownload/group/serverDownAndUp (19.02s) update_resumer_test.go:176: Error Trace: update_resumer_test.go:176 update_resumer_test.go:336 Error: Received unexpected error: Tried maximum amount of times github.com/mendersoftware/mender/client.GetExponentialBackoffTime /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mender/client/client.go:391 github.com/mendersoftware/mender/client.(*UpdateResumer).Read /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mender/client/update_resumer.go:79 bytes.(*Buffer).ReadFrom /usr/lib/go-1.11/src/bytes/buffer.go:206 io/ioutil.readAll /usr/lib/go-1.11/src/io/ioutil/ioutil.go:36 io/ioutil.ReadAll /usr/lib/go-1.11/src/io/ioutil/ioutil.go:45 github.com/mendersoftware/mender/client.testBrokenReadAndPartialDownload_oneCase /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mender/client/update_resumer_test.go:174 github.com/mendersoftware/mender/client.testBrokenReadAndPartialDownload_group.func15 /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mender/client/update_resumer_test.go:336 testing.tRunner /usr/lib/go-1.11/src/testing/testing.go:827 runtime.goexit /usr/lib/go-1.11/src/runtime/asm_arm64.s:1114 Cannot resume download github.com/mendersoftware/mender/client.(*UpdateResumer).Read /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mender/client/update_resumer.go:82 bytes.(*Buffer).ReadFrom /usr/lib/go-1.11/src/bytes/buffer.go:206 io/ioutil.readAll /usr/lib/go-1.11/src/io/ioutil/ioutil.go:36 io/ioutil.ReadAll /usr/lib/go-1.11/src/io/ioutil/ioutil.go:45 github.com/mendersoftware/mender/client.testBrokenReadAndPartialDownload_oneCase /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mender/client/update_resumer_test.go:174 github.com/mendersoftware/mender/client.testBrokenReadAndPartialDownload_group.func15 /build/mender-client-1.7.0/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mender/client/update_resumer_test.go:336 testing.tRunner /usr/lib/go-1.11/src/testing/testing.go:827 runtime.goexit /usr/lib/go-1.11/src/runtime/asm_arm64.s:1114 Test: TestBrokenReadAndPartialDownload/group/serverDownAndUp update_resumer_test.go:177: Error Trace: update_resumer_test.go:177 update_resumer_test.go:336 Error: Not equal: expected: "// Copyright 2017 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\npackage client\n\nimport (\n\t\"fmt\"\n\t\"github.com/stretchr/testify/assert\"\n\t\"io\"\n\t\"io/ioutil\"\n\t\"net/http\"\n\t\"os\"\n\t\"strconv\"\n\t\"strings\"\n\t\"testing\"\n\t\"time\"\n)\n\ntype testHandler struct {\n\tt *testing.T\n\taddr string\n\n\tbrokenContentLength bool\n\tmissingContentLength bool\n\tearlyRangeStart bool\n\tlateRangeStart bool\n\tnoPartialContentSupport bool\n\tcustomContentRange string\n\tmissingContentRange bool\n\tgarbledContentStart bool\n\tbreakAfterShortRange bool\n\tserverDownAfter time.Duration\n\tserverUpAgainAfter time.Duration\n\n\tsuccess bool\n}\n\nfunc (h *testHandler) ServeHTTP(res http.ResponseWriter, req *http.Request) {\n\tt := h.t\n\n\thRangeStr := req.Header.Get(\"Range\")\n\tvar code int\n\tvar pos int64\n\tvar err error\n\n\tf, err := os.Open(\"update_resumer_test.go\")\n\tassert.NoError(t, err)\n\tstat, err := f.Stat()\n\tassert.NoError(t, err)\n\tsize := stat.Size()\n\n\tif len(hRangeStr) > 0 && !h.noPartialContentSupport {\n\t\tcode = http.StatusPartialContent\n\t\tassert.True(t, strings.HasPrefix(hRangeStr, \"bytes=\"))\n\t\thRange := strings.Split(hRangeStr[len(\"bytes=\"):], \"-\")\n\t\tassert.Equal(t, 2, len(hRange))\n\t\tpos, err = strconv.ParseInt(hRange[0], 10, 64)\n\t\tassert.NoError(t, err)\n\t\tif h.earlyRangeStart {\n\t\t\tpos -= 5\n\t\t} else if h.lateRangeStart {\n\t\t\tpos += 5\n\t\t}\n\t\tif h.missingContentRange {\n\t\t\tres.Header().Set(\"Content-Range\", \"\")\n\t\t} else if h.customContentRange != \"\" {\n\t\t\tres.Header().Set(\"Content-Range\", h.customContentRange)\n\t\t} else if h.missingContentLength {\n\t\t\tres.Header().Set(\"Content-Range\", fmt.Sprintf(\"bytes %d-%d\", pos, size-1))\n\t\t} else if h.garbledContentStart {\n\t\t\tres.Header().Set(\"Content-Range\", fmt.Sprintf(\"bytes abc-%d/%d\", size-1, size))\n\t\t} else {\n\t\t\tif h.brokenContentLength {\n\t\t\t\tsize -= 1\n\t\t\t}\n\t\t\tres.Header().Set(\"Content-Range\", fmt.Sprintf(\"bytes %d-%d/%d\", pos, size-1, size))\n\t\t}\n\t} else {\n\t\tcode = http.StatusOK\n\t\tpos = 0\n\t}\n\n\tres.Header().Set(\"Content-Length\", fmt.Sprintf(\"%d\", size-pos))\n\n\t_, err = f.Seek(pos, os.SEEK_SET)\n\tassert.NoError(t, err)\n\n\tres.WriteHeader(code)\n\t// Only give some, not all, then terminate connection.\n\ttoCopy := size / 5\n\tif h.breakAfterShortRange && len(hRangeStr) > 0 {\n\t\t// Terminate before we even get to the part the client is\n\t\t// interested in.\n\t\ttoCopy = 2\n\t\t// Only do this once.\n\t\th.breakAfterShortRange = false\n\t}\n\tif toCopy > size-pos {\n\t\ttoCopy = size - pos\n\t}\n\t_, err = io.CopyN(res, f, toCopy)\n\n\tif h.success {\n\t\tassert.NoError(t, err)\n\t}\n}\n\nfunc testBrokenReadAndPartialDownload_oneCase(t *testing.T, h *testHandler) {\n\tt.Parallel()\n\n\tvar server http.Server\n\tserver.Addr = h.addr\n\n\tserver.Handler = h\n\n\tf, err := os.Open(\"update_resumer_test.go\")\n\tassert.NoError(t, err)\n\texpected, err := ioutil.ReadAll(f)\n\tassert.NoError(t, err)\n\n\tserver.SetKeepAlivesEnabled(false)\n\n\tgo server.ListenAndServe()\n\tdefer server.Close()\n\n\tvar client http.Client\n\tportAttempts := 5\n\tfor {\n\t\t_, err := client.Get(fmt.Sprintf(\"http://localhost%s/\", h.addr))\n\t\t// Wait until port is open\n\t\tif err == nil {\n\t\t\tbreak\n\t\t}\n\t\ttime.Sleep(time.Second)\n\t\tportAttempts -= 1\n\t\tif portAttempts <= 0 {\n\t\t\tt.Fatalf(\"Port %s never opened!\", server.Addr)\n\t\t}\n\t}\n\n\treq, err := http.NewRequest(\"GET\", fmt.Sprintf(\"http://localhost%s/update_resumer_test.go\", h.addr), nil)\n\tassert.NoError(t, err)\n\tres, err := client.Do(req)\n\tassert.NoError(t, err)\n\n\tcontentLength, err := strconv.ParseInt(res.Header.Get(\"Content-Length\"), 10, 64)\n\tassert.NoError(t, err)\n\n\tupdateResumer := NewUpdateResumer(res.Body, contentLength, 3*time.Second, &client, req)\n\tdefer updateResumer.Close()\n\n\tif h.serverDownAfter > 0 {\n\t\tgo func() {\n\t\t\ttime.Sleep(h.serverDownAfter)\n\t\t\tserver.Close()\n\t\t\tif h.serverUpAgainAfter > 0 {\n\t\t\t\ttime.Sleep(h.serverUpAgainAfter)\n\t\t\t\tserver.ListenAndServe()\n\t\t\t}\n\t\t}()\n\t}\n\n\tactual, err := ioutil.ReadAll(updateResumer)\n\tif h.success {\n\t\tassert.NoError(t, err)\n\t\tassert.Equal(t, string(expected), string(actual))\n\t} else {\n\t\t// Everything read up until the error should be correct.\n\t\tassert.Equal(t, string(expected[:len(actual)]), string(actual))\n\t\tassert.Error(t, err)\n\t}\n}\n\nfunc testBrokenReadAndPartialDownload_group(t *testing.T) {\n\tvar base testHandler\n\tbase.t = t\n\n\t{\n\t\th := base\n\t\th.addr = \":9753\"\n\t\th.success = true\n\t\tt.Run(\"success\", func(t *testing.T) {\n\t\t\ttestBrokenReadAndPartialDownload_oneCase(t, &h)\n\t\t})\n\t}\n\n\t{\n\t\th := base\n\t\th.addr = \":9754\"\n\t\th.success = true\n\t\th.earlyRangeStart = true\n\t\tt.Run(\"earlyRangeStart\", func(t *testing.T) {\n\t\t\ttestBrokenReadAndPartialDownload_oneCase(t, &h)\n\t\t})\n\t}\n\n\t{\n\t\th := base\n\t\th.addr = \":9755\"\n\t\th.success = false\n\t\th.lateRangeStart = true\n\t\tt.Run(\"lateRangeStart\", func(t *testing.T) {\n\t\t\ttestBrokenReadAndPartialDownload_oneCase(t, &h)\n\t\t})\n\t}\n\n\t{\n\t\th := base\n\t\th.addr = \":9756\"\n\t\th.success = false\n\t\th.brokenContentLength = true\n\t\tt.Run(\"brokenContentLength\", func(t *testing.T) {\n\t\t\ttestBrokenReadAndPartialDownload_oneCase(t, &h)\n\t\t})\n\t}\n\n\t{\n\t\th := base\n\t\th.addr = \":9757\"\n\t\th.success = true\n\t\th.missingContentLength = true\n\t\tt.Run(\"missingContentLength\", func(t *testing.T) {\n\t\t\ttestBrokenReadAndPartialDownload_oneCase(t, &h)\n\t\t})\n\t}\n\n\t{\n\t\th := base\n\t\th.addr = \":9758\"\n\t\th.success = false\n\t\th.noPartialContentSupport = true\n\t\tt.Run(\"noPartialContentSupport\", func(t *testing.T) {\n\t\t\ttestBrokenReadAndPartialDownload_oneCase(t, &h)\n\t\t})\n\t}\n\n\t{\n\t\th := base\n\t\th.addr = \":9759\"\n\t\th.success = false\n\t\th.customContentRange = \"bytes \"\n\t\tt.Run(\"emptyContentRange\", func(t *testing.T) {\n\t\t\ttestBrokenReadAndPartialDownload_oneCase(t, &h)\n\t\t})\n\t}\n\n\t{\n\t\th := base\n\t\th.addr = \":9760\"\n\t\th.success = false\n\t\th.customContentRange = \"bytes abc-def/deadbeef\"\n\t\tt.Run(\"formattedButInvalidContentRange\", func(t *testing.T) {\n\t\t\ttestBrokenReadAndPartialDownload_oneCase(t, &h)\n\t\t})\n\t}\n\n\t{\n\t\th := base\n\t\th.addr = \":9761\"\n\t\th.success = false\n\t\th.customContentRange = \"bytes 5\"\n\t\tt.Run(\"improperlyFormattedContentRange\", func(t *testing.T) {\n\t\t\ttestBrokenReadAndPartialDownload_oneCase(t, &h)\n\t\t})\n\t}\n\n\t{\n\t\th := base\n\t\th.addr = \":9762\"\n\t\th.success = false\n\t\th.customContentRange = \"5-6/2\"\n\t\tt.Run(\"missingBytesContentRange\", func(t *testing.T) {\n\t\t\ttestBrokenReadAndPartialDownload_oneCase(t, &h)\n\t\t})\n\t}\n\n\t{\n\t\th := base\n\t\th.addr = \":9763\"\n\t\th.success = false\n\t\th.missingContentRange = true\n\t\tt.Run(\"missingContentRange\", func(t *testing.T) {\n\t\t\ttestBrokenReadAndPartialDownload_oneCase(t, &h)\n\t\t})\n\t}\n\n\t{\n\t\th := base\n\t\th.addr = \":9764\"\n\t\th.success = false\n\t\th.customContentRange = \"bytes 5-6/20 7-8/20\"\n\t\tt.Run(\"tooManyContentRanges\", func(t *testing.T) {\n\t\t\ttestBrokenReadAndPartialDownload_oneCase(t, &h)\n\t\t})\n\t}\n\n\t{\n\t\th := base\n\t\th.addr = \":9765\"\n\t\th.success = false\n\t\th.garbledContentStart = true\n\t\tt.Run(\"garbledContentStart\", func(t *testing.T) {\n\t\t\ttestBrokenReadAndPartialDownload_oneCase(t, &h)\n\t\t})\n\t}\n\n\t{\n\t\th := base\n\t\th.addr = \":9766\"\n\t\th.success = true\n\t\th.earlyRangeStart = true\n\t\th.breakAfterShortRange = true\n\t\tt.Run(\"breakAfterShortRange\", func(t *testing.T) {\n\t\t\ttestBrokenReadAndPartialDownload_oneCase(t, &h)\n\t\t})\n\t}\n\n\t{\n\t\th := base\n\t\th.addr = \":9767\"\n\t\th.success = true\n\t\th.serverDownAfter = 3 * time.Second\n\t\th.serverUpAgainAfter = 5 * time.Second\n\t\tt.Run(\"serverDownAndUp\", func(t *testing.T) {\n\t\t\ttestBrokenReadAndPartialDownload_oneCase(t, &h)\n\t\t})\n\t}\n\n\t{\n\t\th := base\n\t\th.addr = \":9768\"\n\t\th.success = false\n\t\th.serverDownAfter = 3 * time.Second\n\t\tt.Run(\"serverDown\", func(t *testing.T) {\n\t\t\ttestBrokenReadAndPartialDownload_oneCase(t, &h)\n\t\t})\n\t}\n}\n\nfunc TestBrokenReadAndPartialDownload(t *testing.T) {\n\toldExponentialBackoffSmallestUnit := exponentialBackoffSmallestUnit\n\t// Set this to a second to make tests go faster.\n\texponentialBackoffSmallestUnit = time.Second\n\tdefer func() {\n\t\texponentialBackoffSmallestUnit = oldExponentialBackoffSmallestUnit\n\t}()\n\n\tt.Run(\"group\", testBrokenReadAndPartialDownload_group)\n}\n" actual : "// Copyright 2017 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\npackage client\n\nimport (\n\t\"fmt\"\n\t\"github.com/stretchr/testify/assert\"\n\t\"io\"\n\t\"io/ioutil\"\n\t\"net/http\"\n\t\"os\"\n\t\"strconv\"\n\t\"strings\"\n\t\"testing\"\n\t\"time\"\n)\n\ntype testHandler struct {\n\tt *testing.T\n\taddr string\n\n\tbrokenContentLength bool\n\tmissingContentLength bool\n\tearlyRangeStart bool\n\tlateRangeStart bool\n\tnoPartialContentSupport bool\n\tcustomContentRange string\n\tmissingContentRange bool\n\tgarbledContentStart bool\n\tbreakAfterShortRange bool\n\tserverDownAfter time.Duration\n\tserverUpAgainAfter time.Duration\n\n\tsuccess bool\n}\n\nfunc (h *testHandler) ServeHTTP(res http.ResponseWriter, req *http.Request) {\n\tt := h.t\n\n\thRangeStr := req.Header.Get(\"Range\")\n\tvar code int\n\tvar pos int64\n\tvar err error\n\n\tf, err := os.Open(\"update_resumer_test.go\")\n\tassert.NoError(t, err)\n\tstat, err := f.Stat()\n\tassert.NoError(t, err)\n\tsize := stat.Size()\n\n\tif len(hRangeStr) > 0 && !h.noPartialContentSupport {\n\t\tcode = http.StatusPartialContent\n\t\tassert.True(t, strings.HasPrefix(hRangeStr, \"bytes=\"))\n\t\thRange := strings.Split(hRangeStr[len(\"bytes=\"):], \"-\")\n\t\tassert.Equal(t, 2, len(hRange))\n\t\tpos, err = strconv.ParseInt(hRange[0], 10, 64)\n\t\tassert.NoError(t, err)\n\t\tif h.earlyRangeStart {\n\t\t\tpos -= 5\n\t\t} else if h.lateRangeStart {\n\t\t\tpos += 5\n\t\t}\n\t\tif h.missingContentRange {\n\t\t\tres.Header().Set(\"Content-Range\", \"\")\n\t\t} else if h.customContentRange != \"\" {\n\t\t\tres.Header().Set(\"Content-Range\", h.customContentRange)\n\t\t} else if h.missingContentLength {\n\t\t\tres.Header().Set(\"Content-Range\", fmt.Sprintf(\"bytes %d-%d\", pos, size-1))\n\t\t} else if h.garbledContentStart {\n\t\t\tres.Header().Set(\"Content-Range\", fmt.Sprintf(\"bytes abc-%d/%d\", size-1, size))\n\t\t} else {\n\t\t\tif h.brokenContentLength {\n\t\t\t\tsize -= 1\n\t\t\t}\n\t\t\tres.Header().Set(\"Content-Range\", fmt.Sprintf(\"bytes %d-%d/%d\", pos, size-1, size))\n\t\t}\n\t} else {\n\t\tcode = http.StatusOK\n\t\tpos = 0\n\t}\n\n\tres.Header().Set(\"Content-Length\", fmt.Sprintf(\"%d\", size-pos))\n\n\t_, err = f.Seek(pos, os.SEEK_SET)\n\tassert.NoError(t, err)\n\n\tres.WriteHeader(code)\n\t// Only give some, not all, then terminate connection.\n\ttoCopy := size / 5\n\tif h.breakAfterShortRange && len(hRangeStr) > 0 {\n\t\t// Terminate before we even get to the part the client is\n\t\t// interested in.\n\t\ttoCopy = 2\n\t\t// Only do this once.\n\t\th.breakAfterShortRange = false\n\t}\n\tif toCopy > size-pos {\n\t\ttoCopy = size - pos\n\t}\n\t_, err = io.CopyN(res, f, toCopy)\n\n\tif h.success {\n\t\tassert.NoError(t, err)\n\t}\n}\n\nfunc testBrokenReadAndPartialDownload_oneCase(t *testing.T, h *testHandler) {\n\tt.Parallel()\n\n\tvar server http.Server\n\tserver.Addr = h.addr\n\n\tserver.Handler = h\n\n\tf, err := os.Open(\"update_resumer_test.go\")\n\tassert.NoError(t, err)\n\texpected, err := ioutil.ReadAll(f)\n\tassert.NoError(t, err)\n\n\tserver.SetKeepAlivesEnabled(false)\n\n\tgo server.ListenAndServe()\n\tdefer server.Close()\n\n\tvar client http.Client\n\tportAttempts := 5\n\tfor {\n\t\t_, err := client.Get(fmt.Sprintf(\"http://localhost%s/\", h.addr))\n\t\t// Wait until port is open\n\t\tif err == nil {\n\t\t\tbreak\n\t\t}\n\t\ttime.Sleep(time.Second)\n\t\tportAttempts -= 1\n\t\tif portAttempts <= 0 {\n\t\t\tt.Fatalf(\"Port %s never opened!\", server.Addr)\n\t\t}\n\t}\n\n\treq, err := http.NewRequest(\"GET\", fmt.Sprintf(\"http://localhost%s/update_resumer_test.go\", h.addr), nil)\n\tassert.NoError(t, err)\n\tres, err := client.Do(req)\n\tassert.NoError(t, err)\n\n\tcontentLength, err := strconv.ParseInt(res.Header.Get(\"Content-Length\"), 10, 64)\n\tassert.NoError(t, err)\n\n\tupdateResumer := NewUpdateResumer(res.Body, contentLength, 3*time.Second, &client, req)\n\tdefer updateResumer.Close()\n\n\tif h.serverDownAfter > 0 {\n\t\tgo func() {\n\t\t\ttime.Sleep(h.serverDownAfter)\n\t\t\tserver.Close()\n\t\t\tif h.serverUpAgainAfter > 0 {\n\t\t\t\ttime.Sleep(h.serverUpAgainAfter)\n\t\t\t\tserver.ListenAndServe()\n\t\t\t}\n\t\t}()\n\t}\n\n\tactual, err := ioutil.ReadAll(updateResumer)\n\tif h.success {\n\t\tassert.NoError(t, err)\n\t\tassert.Equal(t, string(expected), string(actual))\n\t} else {\n\t\t// Everything read up until the error should be correct.\n\t\tassert.Equal(t, string(expected[:len(actual)]), string(actual))\n\t\tassert.Error(t, err)\n\t}\n}\n\nfunc testBrokenReadAndPartialDownload_group(t *testing.T) {\n\tvar base testHandler\n\tbase.t = t\n\n\t{\n\t\th := base\n\t\th.addr = \":9753\"\n\t\th.success = true\n\t\tt.Run(\"success\", func(t *testing.T) {\n\t\t\ttestBrokenReadAndPartialDownload_oneCase(t, &h)\n\t\t})\n\t}\n\n\t{\n\t\th := base\n\t\th.addr = \":9754\"\n\t\th.success = true\n\t\th.earlyRangeStart = true\n\t\tt.Run(\"earlyRangeStart\"," Diff: --- Expected +++ Actual @@ -202,160 +202,2 @@ h.earlyRangeStart = true - t.Run("earlyRangeStart", func(t *testing.T) { - testBrokenReadAndPartialDownload_oneCase(t, &h) - }) - } - - { - h := base - h.addr = ":9755" - h.success = false - h.lateRangeStart = true - t.Run("lateRangeStart", func(t *testing.T) { - testBrokenReadAndPartialDownload_oneCase(t, &h) - }) - } - - { - h := base - h.addr = ":9756" - h.success = false - h.brokenContentLength = true - t.Run("brokenContentLength", func(t *testing.T) { - testBrokenReadAndPartialDownload_oneCase(t, &h) - }) - } - - { - h := base - h.addr = ":9757" - h.success = true - h.missingContentLength = true - t.Run("missingContentLength", func(t *testing.T) { - testBrokenReadAndPartialDownload_oneCase(t, &h) - }) - } - - { - h := base - h.addr = ":9758" - h.success = false - h.noPartialContentSupport = true - t.Run("noPartialContentSupport", func(t *testing.T) { - testBrokenReadAndPartialDownload_oneCase(t, &h) - }) - } - - { - h := base - h.addr = ":9759" - h.success = false - h.customContentRange = "bytes " - t.Run("emptyContentRange", func(t *testing.T) { - testBrokenReadAndPartialDownload_oneCase(t, &h) - }) - } - - { - h := base - h.addr = ":9760" - h.success = false - h.customContentRange = "bytes abc-def/deadbeef" - t.Run("formattedButInvalidContentRange", func(t *testing.T) { - testBrokenReadAndPartialDownload_oneCase(t, &h) - }) - } - - { - h := base - h.addr = ":9761" - h.success = false - h.customContentRange = "bytes 5" - t.Run("improperlyFormattedContentRange", func(t *testing.T) { - testBrokenReadAndPartialDownload_oneCase(t, &h) - }) - } - - { - h := base - h.addr = ":9762" - h.success = false - h.customContentRange = "5-6/2" - t.Run("missingBytesContentRange", func(t *testing.T) { - testBrokenReadAndPartialDownload_oneCase(t, &h) - }) - } - - { - h := base - h.addr = ":9763" - h.success = false - h.missingContentRange = true - t.Run("missingContentRange", func(t *testing.T) { - testBrokenReadAndPartialDownload_oneCase(t, &h) - }) - } - - { - h := base - h.addr = ":9764" - h.success = false - h.customContentRange = "bytes 5-6/20 7-8/20" - t.Run("tooManyContentRanges", func(t *testing.T) { - testBrokenReadAndPartialDownload_oneCase(t, &h) - }) - } - - { - h := base - h.addr = ":9765" - h.success = false - h.garbledContentStart = true - t.Run("garbledContentStart", func(t *testing.T) { - testBrokenReadAndPartialDownload_oneCase(t, &h) - }) - } - - { - h := base - h.addr = ":9766" - h.success = true - h.earlyRangeStart = true - h.breakAfterShortRange = true - t.Run("breakAfterShortRange", func(t *testing.T) { - testBrokenReadAndPartialDownload_oneCase(t, &h) - }) - } - - { - h := base - h.addr = ":9767" - h.success = true - h.serverDownAfter = 3 * time.Second - h.serverUpAgainAfter = 5 * time.Second - t.Run("serverDownAndUp", func(t *testing.T) { - testBrokenReadAndPartialDownload_oneCase(t, &h) - }) - } - - { - h := base - h.addr = ":9768" - h.success = false - h.serverDownAfter = 3 * time.Second - t.Run("serverDown", func(t *testing.T) { - testBrokenReadAndPartialDownload_oneCase(t, &h) - }) - } -} - -func TestBrokenReadAndPartialDownload(t *testing.T) { - oldExponentialBackoffSmallestUnit := exponentialBackoffSmallestUnit - // Set this to a second to make tests go faster. - exponentialBackoffSmallestUnit = time.Second - defer func() { - exponentialBackoffSmallestUnit = oldExponentialBackoffSmallestUnit - }() - - t.Run("group", testBrokenReadAndPartialDownload_group) -} - + t.Run("earlyRangeStart", Test: TestBrokenReadAndPartialDownload/group/serverDownAndUp --- PASS: TestBrokenReadAndPartialDownload/group/brokenContentLength (19.04s) --- PASS: TestBrokenReadAndPartialDownload/group/tooManyContentRanges (19.03s) --- PASS: TestBrokenReadAndPartialDownload/group/missingContentRange (19.04s) --- PASS: TestBrokenReadAndPartialDownload/group/missingBytesContentRange (19.10s) --- PASS: TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange (18.03s) --- PASS: TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange (18.03s) --- PASS: TestBrokenReadAndPartialDownload/group/emptyContentRange (18.02s) --- PASS: TestBrokenReadAndPartialDownload/group/noPartialContentSupport (18.03s) FAIL FAIL github.com/mendersoftware/mender/client 37.348s ? github.com/mendersoftware/mender/client/test [no test files] === RUN TestInstall time="2020-08-02T14:44:58Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2020-08-02T14:44:58Z" level=info msg="no public key was provided for authenticating the artifact" module=installer --- PASS: TestInstall (0.01s) === RUN TestInstallSigned time="2020-08-02T14:44:58Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2020-08-02T14:44:58Z" level=warning msg="installer: installing signed artifact without verification as verification key is missing" module=installer time="2020-08-02T14:44:58Z" level=info msg="installer: authenticated digital signature of artifact" module=installer time="2020-08-02T14:44:58Z" level=info msg="installer: authenticated digital signature of artifact" module=installer --- PASS: TestInstallSigned (0.03s) === RUN TestInstallNoSignature --- PASS: TestInstallNoSignature (0.01s) === RUN TestInstallWithScripts time="2020-08-02T14:44:58Z" level=info msg="no public key was provided for authenticating the artifact" module=installer --- PASS: TestInstallWithScripts (0.00s) PASS ok github.com/mendersoftware/mender/installer 0.063s === RUN TestStore --- PASS: TestStore (0.00s) === RUN TestExecutor time="2020-08-02T14:44:58Z" level=error msg="statescript: ignoring script '/tmp/rootfs_scripts720528873/Download_Enter_00' being not executable" module=executor time="2020-08-02T14:44:58Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave' will not be run " module=executor time="2020-08-02T14:44:58Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave' will not be run " module=executor time="2020-08-02T14:44:58Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave' will not be run " module=executor time="2020-08-02T14:44:58Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave' will not be run " module=executor time="2020-08-02T14:44:58Z" level=error msg="statescript: ignoring error executing 'ArtifactInstall_Leave_02': 1: exit status 1" module=executor time="2020-08-02T14:44:58Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave' will not be run " module=executor time="2020-08-02T14:44:58Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave_100' will not be run " module=executor time="2020-08-02T14:44:58Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave' will not be run " module=executor time="2020-08-02T14:44:58Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave_100' will not be run " module=executor --- PASS: TestExecutor (9.11s) === RUN TestVersion --- PASS: TestVersion (0.00s) === RUN TestReportScriptStatus time="2020-08-02T14:45:07Z" level=warning msg="Server certificate not provided. Trusting all servers." module=client time="2020-08-02T14:45:07Z" level=warning msg="certificate verification skipped.." module=client --- PASS: TestReportScriptStatus (0.05s) PASS ok github.com/mendersoftware/mender/statescript 9.212s === RUN TestDBStore time="2020-08-02T14:45:07Z" level=error msg="failed to open DB environment: mdb_env_open: no such file or directory" module=dbstore --- PASS: TestDBStore (0.00s) === RUN TestDirStore --- PASS: TestDirStore (0.00s) === RUN TestKeystore time="2020-08-02T14:45:07Z" level=error msg="failed to load key: failed to decode block" module=keystore --- PASS: TestKeystore (1.10s) === RUN TestKeystoreLoadPem --- PASS: TestKeystoreLoadPem (0.00s) === RUN TestMemStore --- PASS: TestMemStore (0.00s) PASS ok github.com/mendersoftware/mender/store 1.112s === RUN TestKeyValParser --- PASS: TestKeyValParser (0.00s) kvparser_test.go:72: testing case: 0 kvparser_test.go:72: testing case: 1 kvparser_test.go:72: testing case: 2 === RUN TestLimitedWriter --- PASS: TestLimitedWriter (0.00s) === RUN TestProgress --- PASS: TestProgress (1.33s) PASS ok github.com/mendersoftware/mender/utils 1.346s dh_auto_test: cd obj-aarch64-linux-gnu && go test -vet=off -v -p 8 github.com/mendersoftware/mender github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/utils returned exit code 1 make[1]: Leaving directory '/build/mender-client-1.7.0' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary --buildsystem=golang --with=golang dh_testroot -O--buildsystem=golang dh_prep -O--buildsystem=golang dh_installdirs -O--buildsystem=golang debian/rules override_dh_auto_install make[1]: Entering directory '/build/mender-client-1.7.0' dh_auto_install -- --no-source cd obj-aarch64-linux-gnu && mkdir -p /build/mender-client-1.7.0/debian/mender-client/usr cd obj-aarch64-linux-gnu && cp -r bin /build/mender-client-1.7.0/debian/mender-client/usr make[1]: Leaving directory '/build/mender-client-1.7.0' dh_installdocs -O--buildsystem=golang dh_installchangelogs -O--buildsystem=golang dh_installexamples -O--buildsystem=golang dh_installinit -O--buildsystem=golang dh_installsystemd -O--buildsystem=golang dh_perl -O--buildsystem=golang dh_link -O--buildsystem=golang dh_strip_nondeterminism -O--buildsystem=golang dh_compress -O--buildsystem=golang dh_fixperms -O--buildsystem=golang dh_missing -O--buildsystem=golang dh_strip -O--buildsystem=golang dh_makeshlibs -O--buildsystem=golang dh_shlibdeps -O--buildsystem=golang dh_installdeb -O--buildsystem=golang dh_golang -O--buildsystem=golang dh_gencontrol -O--buildsystem=golang dh_md5sums -O--buildsystem=golang dh_builddeb -O--buildsystem=golang dpkg-deb: building package 'mender-client' in '../mender-client_1.7.0-4_arm64.deb'. dpkg-deb: building package 'mender-client-dbgsym' in '../mender-client-dbgsym_1.7.0-4_arm64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../mender-client_1.7.0-4_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration I: user script /srv/workspace/pbuilder/9874/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/9874/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/9874 and its subdirectories I: Current time: Mon Aug 3 04:46:44 +14 2020 I: pbuilder-time-stamp: 1596379604