I: pbuilder: network access will be disabled during build I: Current time: Wed Jul 8 19:32:14 -12 2020 I: pbuilder-time-stamp: 1594279934 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 '/root/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Sun Feb 3 08:48:07 2019 -12 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/20370/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='armhf' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3' DISTRIBUTION='' HOME='/root' HOST_ARCH='armhf' IFS=' ' INVOCATION_ID='72899d2f999a463d89f3a95686ce72bd' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='20370' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.v5DiskJ6Wu/pbuilderrc_GIjA --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.v5DiskJ6Wu/b1 --logfile b1/build.log mender-client_1.7.0-4.dsc' SUDO_GID='115' SUDO_UID='111' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://10.0.0.15:8000/' I: uname -a Linux cbxi4pro0 4.19.0-9-armmp #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) armv7l GNU/Linux I: ls -l /bin total 3328 -rwxr-xr-x 1 root root 767656 Apr 17 2019 bash -rwxr-xr-x 3 root root 26052 Jul 10 2019 bunzip2 -rwxr-xr-x 3 root root 26052 Jul 10 2019 bzcat lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep -rwxr-xr-x 3 root root 26052 Jul 10 2019 bzip2 -rwxr-xr-x 1 root root 9636 Jul 10 2019 bzip2recover lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore -rwxr-xr-x 1 root root 22432 Feb 28 2019 cat -rwxr-xr-x 1 root root 38868 Feb 28 2019 chgrp -rwxr-xr-x 1 root root 38836 Feb 28 2019 chmod -rwxr-xr-x 1 root root 42972 Feb 28 2019 chown -rwxr-xr-x 1 root root 88376 Feb 28 2019 cp -rwxr-xr-x 1 root root 75516 Jan 17 2019 dash -rwxr-xr-x 1 root root 71648 Feb 28 2019 date -rwxr-xr-x 1 root root 51212 Feb 28 2019 dd -rwxr-xr-x 1 root root 55672 Feb 28 2019 df -rwxr-xr-x 1 root root 88444 Feb 28 2019 dir -rwxr-xr-x 1 root root 54872 Jan 9 2019 dmesg lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname -rwxr-xr-x 1 root root 22364 Feb 28 2019 echo -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep -rwxr-xr-x 1 root root 18260 Feb 28 2019 false -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep -rwxr-xr-x 1 root root 47356 Jan 9 2019 findmnt -rwsr-xr-x 1 root root 21980 Apr 22 07:38 fusermount -rwxr-xr-x 1 root root 124508 Jan 7 2019 grep -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe -rwxr-xr-x 1 root root 64232 Jan 5 2019 gzip -rwxr-xr-x 1 root root 13784 Sep 26 2018 hostname -rwxr-xr-x 1 root root 43044 Feb 28 2019 ln -rwxr-xr-x 1 root root 34932 Jul 26 2018 login -rwxr-xr-x 1 root root 88444 Feb 28 2019 ls -rwxr-xr-x 1 root root 67036 Jan 9 2019 lsblk -rwxr-xr-x 1 root root 47168 Feb 28 2019 mkdir -rwxr-xr-x 1 root root 43040 Feb 28 2019 mknod -rwxr-xr-x 1 root root 26552 Feb 28 2019 mktemp -rwxr-xr-x 1 root root 26024 Jan 9 2019 more -rwsr-xr-x 1 root root 34268 Jan 9 2019 mount -rwxr-xr-x 1 root root 9688 Jan 9 2019 mountpoint -rwxr-xr-x 1 root root 84284 Feb 28 2019 mv lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 22416 Feb 28 2019 pwd lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash -rwxr-xr-x 1 root root 26504 Feb 28 2019 readlink -rwxr-xr-x 1 root root 42968 Feb 28 2019 rm -rwxr-xr-x 1 root root 26496 Feb 28 2019 rmdir -rwxr-xr-x 1 root root 14136 Jan 21 2019 run-parts -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed lrwxrwxrwx 1 root root 4 Jul 7 20:26 sh -> dash -rwxr-xr-x 1 root root 22384 Feb 28 2019 sleep -rwxr-xr-x 1 root root 51124 Feb 28 2019 stty -rwsr-xr-x 1 root root 42472 Jan 9 2019 su -rwxr-xr-x 1 root root 22392 Feb 28 2019 sync -rwxr-xr-x 1 root root 283324 Apr 23 2019 tar -rwxr-xr-x 1 root root 9808 Jan 21 2019 tempfile -rwxr-xr-x 1 root root 63464 Feb 28 2019 touch -rwxr-xr-x 1 root root 18260 Feb 28 2019 true -rwxr-xr-x 1 root root 9636 Apr 22 07:38 ulockmgr_server -rwsr-xr-x 1 root root 21976 Jan 9 2019 umount -rwxr-xr-x 1 root root 22380 Feb 28 2019 uname -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress -rwxr-xr-x 1 root root 88444 Feb 28 2019 vdir -rwxr-xr-x 1 root root 21980 Jan 9 2019 wdctl -rwxr-xr-x 1 root root 946 Jan 21 2019 which lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew I: user script /srv/workspace/pbuilder/20370/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: armhf 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 ... 18932 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 79.2 MB of archives. After unpacking 384 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main armhf libbsd0 armhf 0.9.1-2 [103 kB] Get: 2 http://deb.debian.org/debian buster/main armhf bsdmainutils armhf 11.1.2+b1 [186 kB] Get: 3 http://deb.debian.org/debian buster/main armhf libuchardet0 armhf 0.0.6-3 [62.2 kB] Get: 4 http://deb.debian.org/debian buster/main armhf groff-base armhf 1.22.4-3 [828 kB] Get: 5 http://deb.debian.org/debian buster/main armhf libpipeline1 armhf 1.5.1-2 [26.8 kB] Get: 6 http://deb.debian.org/debian buster/main armhf man-db armhf 2.8.5-2 [1240 kB] Get: 7 http://deb.debian.org/debian buster/main armhf golang-github-davecgh-go-spew-dev all 1.1.1-1 [29.5 kB] Get: 8 http://deb.debian.org/debian buster/main armhf golang-github-pmezard-go-difflib-dev all 1.0.0-2 [12.0 kB] Get: 9 http://deb.debian.org/debian buster/main armhf golang-github-stretchr-objx-dev all 0.1.1+git20180825.ef50b0d-1 [23.4 kB] Get: 10 http://deb.debian.org/debian buster/main armhf golang-github-stretchr-testify-dev all 1.3.0+ds-1 [49.8 kB] Get: 11 http://deb.debian.org/debian buster/main armhf golang-golang-x-tools-dev all 1:0.0~git20190125.d66bd3c+ds-4 [1230 kB] Get: 12 http://deb.debian.org/debian buster/main armhf golang-golang-x-text-dev all 0.3.0-2 [3393 kB] Get: 13 http://deb.debian.org/debian buster/main armhf golang-x-text-dev all 0.3.0-2 [3592 B] Get: 14 http://deb.debian.org/debian buster/main armhf golang-golang-x-net-dev all 1:0.0+git20181201.351d144+dfsg-3 [637 kB] Get: 15 http://deb.debian.org/debian buster/main armhf 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 armhf golang-golang-x-crypto-dev all 1:0.0~git20181203.505ab14-1 [1445 kB] Get: 17 http://deb.debian.org/debian buster/main armhf golang-github-sirupsen-logrus-dev all 1.3.0-1 [38.9 kB] Get: 18 http://deb.debian.org/debian buster/main armhf sensible-utils all 0.0.12 [15.8 kB] Get: 19 http://deb.debian.org/debian buster/main armhf libmagic-mgc armhf 1:5.35-4+deb10u1 [242 kB] Get: 20 http://deb.debian.org/debian buster/main armhf libmagic1 armhf 1:5.35-4+deb10u1 [110 kB] Get: 21 http://deb.debian.org/debian buster/main armhf file armhf 1:5.35-4+deb10u1 [65.5 kB] Get: 22 http://deb.debian.org/debian buster/main armhf gettext-base armhf 0.19.8.1-9 [118 kB] Get: 23 http://deb.debian.org/debian buster/main armhf libsigsegv2 armhf 2.12-2 [32.1 kB] Get: 24 http://deb.debian.org/debian buster/main armhf m4 armhf 1.4.18-2 [190 kB] Get: 25 http://deb.debian.org/debian buster/main armhf autoconf all 2.69-11 [341 kB] Get: 26 http://deb.debian.org/debian buster/main armhf autotools-dev all 20180224.1 [77.0 kB] Get: 27 http://deb.debian.org/debian buster/main armhf automake all 1:1.16.1-4 [771 kB] Get: 28 http://deb.debian.org/debian buster/main armhf autopoint all 0.19.8.1-9 [434 kB] Get: 29 http://deb.debian.org/debian buster/main armhf libssl1.1 armhf 1.1.1d-0+deb10u3 [1299 kB] Get: 30 http://deb.debian.org/debian buster/main armhf openssl armhf 1.1.1d-0+deb10u3 [818 kB] Get: 31 http://deb.debian.org/debian buster/main armhf ca-certificates all 20190110 [157 kB] Get: 32 http://deb.debian.org/debian buster/main armhf libtool all 2.4.6-9 [547 kB] Get: 33 http://deb.debian.org/debian buster/main armhf dh-autoreconf all 19 [16.9 kB] Get: 34 http://deb.debian.org/debian buster/main armhf libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 35 http://deb.debian.org/debian buster/main armhf libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 36 http://deb.debian.org/debian buster/main armhf dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 37 http://deb.debian.org/debian buster/main armhf libelf1 armhf 0.176-1.1 [158 kB] Get: 38 http://deb.debian.org/debian buster/main armhf dwz armhf 0.12-3 [72.0 kB] Get: 39 http://deb.debian.org/debian buster/main armhf libglib2.0-0 armhf 2.58.3-2+deb10u2 [1101 kB] Get: 40 http://deb.debian.org/debian buster/main armhf libicu63 armhf 63.1-6+deb10u1 [8005 kB] Get: 41 http://deb.debian.org/debian buster/main armhf libxml2 armhf 2.9.4+dfsg1-7+b3 [595 kB] Get: 42 http://deb.debian.org/debian buster/main armhf libcroco3 armhf 0.6.12-3 [133 kB] Get: 43 http://deb.debian.org/debian buster/main armhf libncurses6 armhf 6.1+20181013-2+deb10u2 [79.8 kB] Get: 44 http://deb.debian.org/debian buster/main armhf gettext armhf 0.19.8.1-9 [1242 kB] Get: 45 http://deb.debian.org/debian buster/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 46 http://deb.debian.org/debian buster/main armhf po-debconf all 1.0.21 [248 kB] Get: 47 http://deb.debian.org/debian buster/main armhf debhelper all 12.1.1 [1016 kB] Get: 48 http://deb.debian.org/debian buster/main armhf dh-golang all 1.39 [20.8 kB] Get: 49 http://deb.debian.org/debian buster/main armhf golang-1.11-src armhf 1.11.6-1+deb10u3 [13.0 MB] Get: 50 http://deb.debian.org/debian buster/main armhf golang-1.11-go armhf 1.11.6-1+deb10u3 [38.2 MB] Get: 51 http://deb.debian.org/debian buster/main armhf golang-src armhf 2:1.11~1 [4348 B] Get: 52 http://deb.debian.org/debian buster/main armhf golang-go armhf 2:1.11~1 [23.4 kB] Get: 53 http://deb.debian.org/debian buster/main armhf golang-any armhf 2:1.11~1 [4472 B] Get: 54 http://deb.debian.org/debian buster/main armhf golang-github-bmatsuo-lmdb-go-dev all 1.8.0+git20170215.a14b5a3-2 [145 kB] Get: 55 http://deb.debian.org/debian buster/main armhf golang-github-kr-pty-dev all 1.1.3-1 [8968 B] Get: 56 http://deb.debian.org/debian buster/main armhf golang-github-kr-text-dev all 0.1.0-1 [10.8 kB] Get: 57 http://deb.debian.org/debian buster/main armhf golang-github-kr-pretty-dev all 0.1.0-1 [10.2 kB] Get: 58 http://deb.debian.org/debian buster/main armhf golang-logrus-dev all 1.3.0-1 [5620 B] Get: 59 http://deb.debian.org/debian buster/main armhf golang-github-mendersoftware-mendertesting-dev all 0.0~git20180410.9e728b5-2 [6700 B] Get: 60 http://deb.debian.org/debian buster/main armhf golang-github-mendersoftware-scopestack-dev all 0.0~git20180403.c2f5599-2 [3652 B] Get: 61 http://deb.debian.org/debian buster/main armhf golang-github-mendersoftware-log-dev all 0.0~git20180403.f608c95-2 [7084 B] Get: 62 http://deb.debian.org/debian buster/main armhf golang-github-pkg-errors-dev all 0.8.1-1 [11.2 kB] Get: 63 http://deb.debian.org/debian buster/main armhf golang-gopkg-check.v1-dev all 0.0+git20180628.788fd78-1 [31.6 kB] Get: 64 http://deb.debian.org/debian buster/main armhf golang-gopkg-yaml.v2-dev all 2.2.2-1 [58.9 kB] Get: 65 http://deb.debian.org/debian buster/main armhf golang-github-urfave-cli-dev all 1.20.0-1 [51.0 kB] Get: 66 http://deb.debian.org/debian buster/main armhf 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 armhf golang-github-ungerik-go-sysfs-dev all 0.0~git20170424.9c991ee-2 [4048 B] Fetched 79.2 MB in 8s (10.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:armhf. (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 ... 18932 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_armhf.deb ... Unpacking libbsd0:armhf (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_armhf.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../02-libuchardet0_0.0.6-3_armhf.deb ... Unpacking libuchardet0:armhf (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_armhf.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../04-libpipeline1_1.5.1-2_armhf.deb ... Unpacking libpipeline1:armhf (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_armhf.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_armhf.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u1) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../19-libmagic1_1%3a5.35-4+deb10u1_armhf.deb ... Unpacking libmagic1:armhf (1:5.35-4+deb10u1) ... Selecting previously unselected package file. Preparing to unpack .../20-file_1%3a5.35-4+deb10u1_armhf.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_armhf.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:armhf. Preparing to unpack .../22-libsigsegv2_2.12-2_armhf.deb ... Unpacking libsigsegv2:armhf (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../23-m4_1.4.18-2_armhf.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:armhf. Preparing to unpack .../28-libssl1.1_1.1.1d-0+deb10u3_armhf.deb ... Unpacking libssl1.1:armhf (1.1.1d-0+deb10u3) ... Selecting previously unselected package openssl. Preparing to unpack .../29-openssl_1.1.1d-0+deb10u3_armhf.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:armhf. Preparing to unpack .../36-libelf1_0.176-1.1_armhf.deb ... Unpacking libelf1:armhf (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../37-dwz_0.12-3_armhf.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:armhf. Preparing to unpack .../38-libglib2.0-0_2.58.3-2+deb10u2_armhf.deb ... Unpacking libglib2.0-0:armhf (2.58.3-2+deb10u2) ... Selecting previously unselected package libicu63:armhf. Preparing to unpack .../39-libicu63_63.1-6+deb10u1_armhf.deb ... Unpacking libicu63:armhf (63.1-6+deb10u1) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../40-libxml2_2.9.4+dfsg1-7+b3_armhf.deb ... Unpacking libxml2:armhf (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:armhf. Preparing to unpack .../41-libcroco3_0.6.12-3_armhf.deb ... Unpacking libcroco3:armhf (0.6.12-3) ... Selecting previously unselected package libncurses6:armhf. Preparing to unpack .../42-libncurses6_6.1+20181013-2+deb10u2_armhf.deb ... Unpacking libncurses6:armhf (6.1+20181013-2+deb10u2) ... Selecting previously unselected package gettext. Preparing to unpack .../43-gettext_0.19.8.1-9_armhf.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_armhf.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_armhf.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_armhf.deb ... Unpacking golang-src (2:1.11~1) ... Selecting previously unselected package golang-go. Preparing to unpack .../51-golang-go_2%3a1.11~1_armhf.deb ... Unpacking golang-go (2:1.11~1) ... Selecting previously unselected package golang-any. Preparing to unpack .../52-golang-any_2%3a1.11~1_armhf.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:armhf (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:armhf (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:armhf (1.1.1d-0+deb10u3) ... Setting up golang-golang-x-sys-dev (0.0~git20190412.9773273+really0.0~git20181228.9a3f9b0-1) ... Setting up libmagic1:armhf (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:armhf (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:armhf (6.1+20181013-2+deb10u2) ... Setting up libsigsegv2:armhf (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:armhf (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:armhf (0.9.1-2) ... Setting up libelf1:armhf (0.176-1.1) ... Setting up libxml2:armhf (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:armhf (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" HOME="/nonexistent/first-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 armhf 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-arm-linux-gnueabihf && go install -gcflags=all=\"-trimpath=/build/mender-client-1.7.0/obj-arm-linux-gnueabihf/src\" -asmflags=all=\"-trimpath=/build/mender-client-1.7.0/obj-arm-linux-gnueabihf/src\" -v -p 3 -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 errors internal/race runtime/internal/sys sync/atomic internal/bytealg runtime/internal/atomic unicode unicode/utf8 encoding runtime math math/bits internal/testlog unicode/utf16 container/list vendor/golang_org/x/net/dns/dnsmessage strconv internal/nettrace crypto/internal/subtle runtime/cgo crypto/subtle crypto/rc4 vendor/golang_org/x/crypto/cryptobyte/asn1 github.com/bmatsuo/lmdb-go/internal/lmdbarch sync io reflect syscall bytes bufio strings time internal/syscall/unix internal/singleflight math/rand hash crypto crypto/cipher crypto/aes crypto/internal/randutil crypto/sha512 internal/poll crypto/hmac crypto/md5 encoding/binary sort os crypto/sha1 encoding/base64 crypto/des crypto/sha256 encoding/pem vendor/golang_org/x/crypto/internal/chacha20 vendor/golang_org/x/crypto/poly1305 fmt path/filepath vendor/golang_org/x/crypto/chacha20poly1305 vendor/golang_org/x/crypto/curve25519 io/ioutil path hash/crc32 golang.org/x/text/transform vendor/golang_org/x/text/transform regexp/syntax os/signal flag encoding/json github.com/mendersoftware/scopestack context net log math/big encoding/hex net/url github.com/pkg/errors compress/flate compress/gzip golang.org/x/text/unicode/bidi crypto/elliptic encoding/asn1 crypto/rand crypto/rsa crypto/dsa crypto/ecdsa crypto/x509/pkix vendor/golang_org/x/crypto/cryptobyte golang.org/x/text/secure/bidirule golang.org/x/text/unicode/norm golang.org/x/net/http2/hpack vendor/golang_org/x/text/unicode/bidi golang.org/x/net/idna vendor/golang_org/x/text/secure/bidirule vendor/golang_org/x/text/unicode/norm golang.org/x/sys/unix log/syslog crypto/x509 net/textproto golang.org/x/net/http/httpguts vendor/golang_org/x/net/idna golang.org/x/crypto/ssh/terminal crypto/tls github.com/sirupsen/logrus vendor/golang_org/x/net/http/httpguts vendor/golang_org/x/net/http/httpproxy vendor/golang_org/x/net/http2/hpack github.com/sirupsen/logrus/hooks/syslog github.com/mendersoftware/log mime mime/quotedprintable net/http/internal os/user mime/multipart regexp net/http/httptrace net/http os/exec github.com/bmatsuo/lmdb-go/lmdb archive/tar github.com/mendersoftware/mender-artifact/artifact github.com/mendersoftware/mender-artifact/handlers github.com/mendersoftware/mender-artifact/areader github.com/davecgh/go-spew/spew github.com/pmezard/go-difflib/difflib github.com/stretchr/objx github.com/mendersoftware/mender/utils github.com/ungerik/go-sysfs net/http/httptest golang.org/x/net/http2 github.com/stretchr/testify/assert github.com/stretchr/testify/mock github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/installer # 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/store 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-arm-linux-gnueabihf && go test -vet=off -v -p 3 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 (21.30s) === RUN TestAuthManagerRequest --- PASS: TestAuthManagerRequest (15.78s) === RUN TestAuthManagerResponse --- PASS: TestAuthManagerResponse (0.00s) === RUN TestBlockDeviceFail time="2020-07-09T07:38:27Z" level=info msg="opening device /dev/somefile for writing" module=block_device --- PASS: TestBlockDeviceFail (0.00s) === RUN TestBlockDeviceWrite time="2020-07-09T07:38:27Z" level=info msg="opening device /tmp/mender-block-device-200362629/foo for writing" module=block_device time="2020-07-09T07:38:27Z" level=info msg="partition /tmp/mender-block-device-200362629/foo size: 10" module=block_device time="2020-07-09T07:38:28Z" level=info msg="opening device /tmp/mender-block-device-200362629/foo for writing" module=block_device time="2020-07-09T07:38:28Z" level=info msg="partition /tmp/mender-block-device-200362629/foo size: 10" module=block_device time="2020-07-09T07:38:28Z" level=error msg="written 10 out of 12 bytes to partition /tmp/mender-block-device-200362629/foo: no space left on device" module=block_device --- PASS: TestBlockDeviceWrite (0.02s) block_device_test.go:44: block device size called: &{0x10528c0} block_device_test.go:44: block device size called: &{0x1052b00} === RUN TestBlockDeviceSize --- PASS: TestBlockDeviceSize (0.00s) block_device_test.go:44: block device size called: &{0x1052d40} block_device_test.go:44: block device size called: &{0x1052d80} === RUN Test_EnvWrite_OSResponseOK_WritesOK --- PASS: Test_EnvWrite_OSResponseOK_WritesOK (0.18s) === RUN Test_EnvWrite_OSResponseError_Fails time="2020-07-09T07:38:28Z" level=error msg="U-Boot variable malformed or error occured" module=bootenv --- PASS: Test_EnvWrite_OSResponseError_Fails (0.34s) === RUN Test_EnvRead_HaveVariable_ReadsVariable --- PASS: Test_EnvRead_HaveVariable_ReadsVariable (0.32s) === RUN Test_EnvRead_HaveEnvWarning_FailsReading time="2020-07-09T07:38:28Z" level=error msg="U-Boot variable malformed or error occured" module=bootenv time="2020-07-09T07:38:28Z" level=error msg="U-Boot variable malformed or error occured" module=bootenv time="2020-07-09T07:38:28Z" level=error msg="U-Boot variable malformed or error occured" module=bootenv time="2020-07-09T07:38:28Z" level=error msg="U-Boot variable malformed or error occured" module=bootenv --- PASS: Test_EnvRead_HaveEnvWarning_FailsReading (0.10s) === RUN Test_EnvRead_NonExisting_FailsReading time="2020-07-09T07:38:28Z" level=error msg="U-Boot variable malformed or error occured" module=bootenv time="2020-07-09T07:38:29Z" level=error msg="U-Boot variable malformed or error occured" module=bootenv time="2020-07-09T07:38:29Z" level=error msg="U-Boot variable malformed or error occured" module=bootenv time="2020-07-09T07:38:29Z" level=error msg="U-Boot variable malformed or error occured" module=bootenv --- PASS: Test_EnvRead_NonExisting_FailsReading (0.10s) === RUN Test_EnvCanary --- PASS: Test_EnvCanary (0.38s) === RUN Test_PermissionDenied time="2020-07-09T07:38:29Z" 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-07-09T07:38:29Z" level=info msg="Configuration file does not exist: does-not-exist.config" module=config time="2020-07-09T07:38:29Z" 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-07-09T07:38:29Z" level=info msg="Configuration file does not exist: does-not-exist.config" module=config time="2020-07-09T07:38:29Z" level=info msg="Loaded configuration file: mender.config" module=config time="2020-07-09T07:38:29Z" level=info msg="Loaded configuration file: mender.config" module=config time="2020-07-09T07:38:29Z" level=info msg="Configuration file does not exist: does-not-exist.config" module=config --- PASS: Test_loadConfig_correctConfFile_returnsConfiguration (0.01s) === RUN TestServerURLConfig time="2020-07-09T07:38:29Z" level=info msg="Configuration file does not exist: does-not-exist.config" module=config time="2020-07-09T07:38:29Z" level=info msg="Loaded configuration file: mender.config" module=config time="2020-07-09T07:38:29Z" level=info msg="Configuration file does not exist: does-not-exist.config" module=config time="2020-07-09T07:38:29Z" level=info msg="Loaded configuration file: mender.config" module=config time="2020-07-09T07:38:29Z" 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-07-09T07:38:29Z" level=info msg="Configuration file does not exist: does-not-exist.config" module=config time="2020-07-09T07:38:29Z" level=info msg="Loaded configuration file: /tmp/mendertest245806847/mender.conf" module=config --- PASS: TestMultipleServersConfig (0.00s) === RUN TestConfigurationMergeSettings time="2020-07-09T07:38:29Z" level=info msg="Loaded configuration file: fallback.config" module=config time="2020-07-09T07:38:29Z" level=info msg="Loaded configuration file: main.config" module=config time="2020-07-09T07:38:29Z" level=warning msg="No server URL(s) specified in mender configuration." module=config time="2020-07-09T07:38:29Z" level=warning msg="Server entry 1 has no associated server URL." module=config --- PASS: TestConfigurationMergeSettings (0.00s) === RUN TestConfigurationNeitherFileExistsIsError time="2020-07-09T07:38:29Z" level=info msg="Configuration file does not exist: also-does-not-exist" module=config time="2020-07-09T07:38:29Z" level=info msg="Configuration file does not exist: does-not-exist" module=config --- PASS: TestConfigurationNeitherFileExistsIsError (0.00s) === RUN TestDaemon time="2020-07-09T07:38:29Z" level=info msg="State transition: init [none] -> init [none]" module=mender --- PASS: TestDaemon (0.00s) === RUN TestDaemonCleanup time="2020-07-09T07:38:29Z" 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.01s) === RUN TestLogManagerInit --- PASS: TestLogManagerInit (0.00s) === RUN TestLogManagerCheckEnableDisable --- PASS: TestLogManagerCheckEnableDisable (0.00s) === RUN TestLogManagerCheckLogging --- PASS: TestLogManagerCheckLogging (0.01s) === RUN TestLogManagerLogRotation --- PASS: TestLogManagerLogRotation (0.01s) === RUN TestEnabligLogsNoSpceForStoringLogs --- PASS: TestEnabligLogsNoSpceForStoringLogs (0.00s) === RUN TestDeploymentLoggingHook time="2020-07-09T07:38:30Z" level=info msg=test1 module=deployment_logger_test time="2020-07-09T07:38:30Z" level=info msg=test3 module=deployment_logger_test --- PASS: TestDeploymentLoggingHook (0.01s) === RUN TestGetLogs --- PASS: TestGetLogs (0.00s) === RUN TestFindLogFiles --- PASS: TestFindLogFiles (0.00s) === RUN Test_commitUpdate time="2020-07-09T07:38:30Z" 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-07-09T07:38:30Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" module=device time="2020-07-09T07:38:30Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" module=device --- PASS: Test_enableUpdatedPartition_correctPartitinNumber (0.10s) === RUN Test_installUpdate_existingAndNonInactivePartition time="2020-07-09T07:38:30Z" level=info msg="opening device inactivePart for writing" module=block_device time="2020-07-09T07:38:30Z" level=info msg="partition inactivePart size: 12" module=block_device time="2020-07-09T07:38:30Z" level=info msg="wrote 12/12 bytes of update to device inactivePart" module=device time="2020-07-09T07:38:30Z" level=error msg="failed to read size of block device inactivePart: " module=device --- PASS: Test_installUpdate_existingAndNonInactivePartition (0.01s) === RUN Test_FetchUpdate_existingAndNonExistingUpdateFile --- PASS: Test_FetchUpdate_existingAndNonExistingUpdateFile (0.00s) === RUN Test_Rollback_OK time="2020-07-09T07:38:30Z" level=info msg="setting partition for rollback: 2" module=device --- PASS: Test_Rollback_OK (0.08s) === RUN TestDeviceHasUpdate --- PASS: TestDeviceHasUpdate (0.16s) === RUN TestMenderError --- PASS: TestMenderError (0.00s) === RUN TestDeviceIdentityGet --- PASS: TestDeviceIdentityGet (0.21s) 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 (6.66s) licenses.go:60: exit status 1 licenses.go:61: /build/mender-client-1.7.0/obj-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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 /build/mender-client-1.7.0/obj-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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 === RUN TestMissingArgs time="2020-07-09T07:38:37Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" module=main time="2020-07-09T07:38:37Z" level=info msg="Configuration file does not exist: /var/lib/mender/mender.conf" module=config time="2020-07-09T07:38:37Z" level=info msg="Configuration file does not exist: mender.conf.example" module=config --- FAIL: TestMissingArgs (0.01s) 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-07-09T07:38:37Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" module=main --- PASS: TestAmbiguousArgumentsArgs (0.01s) === RUN TestArgsParseRootfsForce time="2020-07-09T07:38:37Z" 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-07-09T07:38:37Z" level=debug msg="private key does not exist" module=keystore time="2020-07-09T07:38:37Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2020-07-09T07:38:37Z" level=debug msg="no state data stored" module=state time="2020-07-09T07:38:37Z" level=info msg="State transition: init [none] -> idle [Idle]" module=mender time="2020-07-09T07:38:37Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 60 seconds" module=executor time="2020-07-09T07:38:37Z" level=info msg="State transition: idle [Idle] -> authorize [Sync]" module=mender time="2020-07-09T07:38:37Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 60 seconds" module=executor time="2020-07-09T07:38:37Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 60 seconds" module=executor time="2020-07-09T07:38:37Z" level=debug msg="handle authorize state" module=state time="2020-07-09T07:38:37Z" level=debug msg="needs keys" module=mender time="2020-07-09T07:38:37Z" level=info msg="device keys not present or bootstrap forced, generating" module=mender time="2020-07-09T07:38:39Z" 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.01s) === RUN TestBinarySize --- PASS: TestBinarySize (67.37s) === 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-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/config.go:91 github.com/mendersoftware/mender.doMain /build/mender-client-1.7.0/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/main.go:431 github.com/mendersoftware/mender.TestVersion /build/mender-client-1.7.0/obj-arm-linux-gnueabihf/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_arm.s:867 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 (87.89s) === RUN TestPrintArtifactName foobar --- PASS: TestPrintArtifactName (0.00s) === RUN TestGetMenderDaemonPID --- PASS: TestGetMenderDaemonPID (0.03s) === 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 (51.70s) === RUN Test_Bootstrap --- PASS: Test_Bootstrap (43.63s) === RUN Test_BootstrappedHaveKeys --- PASS: Test_BootstrappedHaveKeys (61.74s) === RUN Test_BootstrapError --- PASS: Test_BootstrapError (63.27s) === RUN Test_CheckUpdateSimple --- PASS: Test_CheckUpdateSimple (0.01s) === RUN TestMenderHasUpgrade --- PASS: TestMenderHasUpgrade (0.00s) === RUN TestMenderGetUpdatePollInterval --- PASS: TestMenderGetUpdatePollInterval (0.00s) === RUN TestMenderGetInventoryPollInterval --- PASS: TestMenderGetInventoryPollInterval (0.00s) === RUN TestMenderAuthorize --- PASS: TestMenderAuthorize (0.01s) === RUN TestMenderReportStatus --- PASS: TestMenderReportStatus (18.12s) === RUN TestMenderLogUpload --- PASS: TestMenderLogUpload (40.39s) === RUN TestMenderState --- PASS: TestMenderState (0.00s) === RUN TestAuthToken --- PASS: TestAuthToken (46.62s) === RUN TestMenderInventoryRefresh --- PASS: TestMenderInventoryRefresh (0.03s) === RUN TestMenderInstallUpdate --- PASS: TestMenderInstallUpdate (0.06s) 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.01s) === RUN TestReauthorization --- PASS: TestReauthorization (42.49s) === RUN TestFailoverServers SIGQUIT: quit PC=0x6eecc m=0 sigcode=0 goroutine 11 [syscall]: runtime.notetsleepg(0x7faa24, 0xc2d80042, 0xd18, 0x1) /usr/lib/go-1.11/src/runtime/lock_futex.go:227 +0x24 fp=0xc3178c sp=0xc31774 pc=0x1d144 runtime.timerproc(0x7faa10) /usr/lib/go-1.11/src/runtime/time.go:288 +0x43c fp=0xc317e4 sp=0xc3178c pc=0x5e6d8 runtime.goexit() /usr/lib/go-1.11/src/runtime/asm_arm.s:867 +0x4 fp=0xc317e4 sp=0xc317e4 pc=0x6e224 created by runtime.(*timersBucket).addtimerLocked /usr/lib/go-1.11/src/runtime/time.go:170 +0x134 goroutine 1 [chan receive]: testing.(*T).Run(0xcf40a0, 0x478640, 0x13, 0x494c98, 0x1) /usr/lib/go-1.11/src/testing/testing.go:879 +0x2d0 testing.runTests.func1(0xcf4140) /usr/lib/go-1.11/src/testing/testing.go:1119 +0x68 testing.tRunner(0xcf4140, 0xc3ef00) /usr/lib/go-1.11/src/testing/testing.go:827 +0xac testing.runTests(0xc984e0, 0x7bce78, 0x7a, 0x7a, 0x40) /usr/lib/go-1.11/src/testing/testing.go:1117 +0x22c testing.(*M).Run(0xc8e900, 0x0) /usr/lib/go-1.11/src/testing/testing.go:1034 +0x134 main.main() _testmain.go:284 +0x12c goroutine 35 [syscall, 9 minutes]: os/signal.signal_recv(0x4fdde0) /usr/lib/go-1.11/src/runtime/sigqueue.go:139 +0x130 os/signal.loop() /usr/lib/go-1.11/src/os/signal/signal_unix.go:23 +0x14 created by os/signal.init.0 /usr/lib/go-1.11/src/os/signal/signal_unix.go:29 +0x30 goroutine 88 [chan receive, 9 minutes]: github.com/mendersoftware/mender.runDaemon.func1(0xd527d0) /build/mender-client-1.7.0/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/main.go:527 +0xb0 created by github.com/mendersoftware/mender.runDaemon /build/mender-client-1.7.0/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/main.go:522 +0x2c goroutine 249 [runnable]: math/big.nat.montgomery(0xeb5860, 0x30, 0x64, 0xeb3a00, 0x30, 0x66, 0xeb3a00, 0x30, 0x66, 0x10cac30, ...) /usr/lib/go-1.11/src/math/big/nat.go:208 +0x374 math/big.nat.expNNMontgomery(0xeb3a00, 0x30, 0x64, 0xfe5520, 0x30, 0x34, 0xfe5380, 0x30, 0x34, 0x10cac30, ...) /usr/lib/go-1.11/src/math/big/nat.go:1253 +0x674 math/big.nat.expNN(0x0, 0x0, 0x0, 0xfe5520, 0x30, 0x34, 0xfe5380, 0x30, 0x34, 0x10cac30, ...) /usr/lib/go-1.11/src/math/big/nat.go:1067 +0x704 math/big.nat.probablyPrimeMillerRabin(0x10cac30, 0x30, 0x34, 0x15, 0x424c6f01, 0x8) /usr/lib/go-1.11/src/math/big/prime.go:106 +0x368 math/big.(*Int).ProbablyPrime(0xcce030, 0x14, 0x35) /usr/lib/go-1.11/src/math/big/prime.go:78 +0x2b8 crypto/rand.Prime(0x4fb830, 0xc86800, 0x600, 0xc0c4d0, 0x0, 0x0) /usr/lib/go-1.11/src/crypto/rand/util.go:99 +0x24c crypto/rsa.GenerateMultiPrimeKey(0x4fb830, 0xc86800, 0x2, 0xc00, 0xcbc060, 0x4, 0x0) /usr/lib/go-1.11/src/crypto/rsa/rsa.go:268 +0x130 crypto/rsa.GenerateKey(0x4fb830, 0xc86800, 0xc00, 0x0, 0x0, 0x35c9b0) /usr/lib/go-1.11/src/crypto/rsa/rsa.go:208 +0x34 github.com/mendersoftware/mender/store.(*Keystore).Generate(0xd54e40, 0x473fa6, 0x9ac98) /build/mender-client-1.7.0/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/store/keystore.go:114 +0x34 github.com/mendersoftware/mender.(*MenderAuthManager).GenerateKey(0xd54e80, 0x37, 0x0) /build/mender-client-1.7.0/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/auth.go:181 +0x20 github.com/mendersoftware/mender.(*mender).doBootstrap(0xe82410, 0x1, 0x0) /build/mender-client-1.7.0/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/mender.go:463 +0x84 github.com/mendersoftware/mender.(*mender).Bootstrap(0xe82410, 0x0, 0x0) /build/mender-client-1.7.0/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/mender.go:368 +0x34 github.com/mendersoftware/mender.(*mender).Authorize(0xe82410, 0x0, 0x0) /build/mender-client-1.7.0/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/mender.go:409 +0x44 github.com/mendersoftware/mender.TestFailoverServers(0xcf40a0) /build/mender-client-1.7.0/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/mender_test.go:1096 +0x32c testing.tRunner(0xcf40a0, 0x494c98) /usr/lib/go-1.11/src/testing/testing.go:827 +0xac created by testing.(*T).Run /usr/lib/go-1.11/src/testing/testing.go:878 +0x2b0 goroutine 251 [IO wait]: internal/poll.runtime_pollWait(0xa6397c40, 0x72, 0x0) /usr/lib/go-1.11/src/runtime/netpoll.go:173 +0x44 internal/poll.(*pollDesc).wait(0xd52384, 0x72, 0xd8e400, 0x0, 0x0) /usr/lib/go-1.11/src/internal/poll/fd_poll_runtime.go:85 +0x7c internal/poll.(*pollDesc).waitRead(0xd52384, 0xffffff00, 0x0, 0x0) /usr/lib/go-1.11/src/internal/poll/fd_poll_runtime.go:90 +0x2c internal/poll.(*FD).Accept(0xd52370, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/lib/go-1.11/src/internal/poll/fd_unix.go:384 +0x17c net.(*netFD).accept(0xd52370, 0x0, 0xc01180, 0xdd23c0) /usr/lib/go-1.11/src/net/fd_unix.go:238 +0x20 net.(*TCPListener).accept(0xcc43a0, 0xeaa5e0, 0xf06a4, 0x20) /usr/lib/go-1.11/src/net/tcpsock_posix.go:139 +0x20 net.(*TCPListener).Accept(0xcc43a0, 0x44ac18, 0xfb40a0, 0x413648, 0x7b77f8) /usr/lib/go-1.11/src/net/tcpsock.go:260 +0x3c net/http.(*Server).Serve(0xeaa580, 0x4fdf88, 0xcc43a0, 0x0, 0x0) /usr/lib/go-1.11/src/net/http/server.go:2826 +0x1e0 net/http/httptest.(*Server).goServe.func1(0xc8eb40) /usr/lib/go-1.11/src/net/http/httptest/server.go:280 +0x5c created by net/http/httptest.(*Server).goServe /usr/lib/go-1.11/src/net/http/httptest/server.go:278 +0x48 goroutine 166 [select, 2 minutes]: net/http.setRequestCancel.func3(0x0, 0xc878e0, 0xca04e0, 0x105c29c, 0xcc8440) /usr/lib/go-1.11/src/net/http/client.go:321 +0x78 created by net/http.setRequestCancel /usr/lib/go-1.11/src/net/http/client.go:320 +0x210 goroutine 250 [IO wait]: internal/poll.runtime_pollWait(0xa6397cc0, 0x72, 0x0) /usr/lib/go-1.11/src/runtime/netpoll.go:173 +0x44 internal/poll.(*pollDesc).wait(0xd52334, 0x72, 0x1084000, 0x0, 0x0) /usr/lib/go-1.11/src/internal/poll/fd_poll_runtime.go:85 +0x7c internal/poll.(*pollDesc).waitRead(0xd52334, 0xffffff00, 0x0, 0x0) /usr/lib/go-1.11/src/internal/poll/fd_poll_runtime.go:90 +0x2c internal/poll.(*FD).Accept(0xd52320, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/lib/go-1.11/src/internal/poll/fd_unix.go:384 +0x17c net.(*netFD).accept(0xd52320, 0x0, 0xc776c0, 0xfb6d80) /usr/lib/go-1.11/src/net/fd_unix.go:238 +0x20 net.(*TCPListener).accept(0xcc4368, 0xeaa560, 0xf06a4, 0x20) /usr/lib/go-1.11/src/net/tcpsock_posix.go:139 +0x20 net.(*TCPListener).Accept(0xcc4368, 0x44ac18, 0xd8e560, 0x413648, 0x7b77f8) /usr/lib/go-1.11/src/net/tcpsock.go:260 +0x3c net/http.(*Server).Serve(0xeaa500, 0x4fdf88, 0xcc4368, 0x0, 0x0) /usr/lib/go-1.11/src/net/http/server.go:2826 +0x1e0 net/http/httptest.(*Server).goServe.func1(0xc8eb00) /usr/lib/go-1.11/src/net/http/httptest/server.go:280 +0x5c created by net/http/httptest.(*Server).goServe /usr/lib/go-1.11/src/net/http/httptest/server.go:278 +0x48 goroutine 205 [select]: net/http.setRequestCancel.func3(0x0, 0x10843c0, 0xdd24e0, 0xc8c99c, 0xc229c0) /usr/lib/go-1.11/src/net/http/client.go:321 +0x78 created by net/http.setRequestCancel /usr/lib/go-1.11/src/net/http/client.go:320 +0x210 goroutine 202 [select]: net/http.setRequestCancel.func3(0x0, 0xc87ca0, 0xdd2270, 0xc8c75c, 0xc225c0) /usr/lib/go-1.11/src/net/http/client.go:321 +0x78 created by net/http.setRequestCancel /usr/lib/go-1.11/src/net/http/client.go:320 +0x210 trap 0x6 error 0x0 oldmask 0x0 r0 0xfffffffc r1 0x80 r2 0x0 r3 0xc3174c r4 0x0 r5 0x0 r6 0x1 r7 0xf0 r8 0x0 r9 0xd310 r10 0xc62380 fp 0x7b735c ip 0xd18 sp 0xc3172c lr 0x3d3c4 pc 0x6eecc cpsr 0x200e0010 fault 0x0 *** Test killed with quit: ran too long (10m0s). FAIL github.com/mendersoftware/mender 600.031s === RUN TestClientAuthMakeReq --- PASS: TestClientAuthMakeReq (0.00s) client_auth_test.go:75: data: foobar data === RUN TestClientAuth time="2020-07-09T07:37:12Z" 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-07-09T07:37:12Z" 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.74s) === RUN TestClientAuthExpiredCert time="2020-07-09T07:37:12Z" 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-07-09T07:37:12Z" 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 time="2020-07-09T07:37:12Z" level=error msg="Failure occured while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:46865/api/devices/v1/authentication/auth_requests\", Err:x509.CertificateInvalidError{Cert:(*x509.Certificate)(0xd142c0), Reason:1, Detail:\"\"}}" module=client_auth time="2020-07-09T07:37:12Z" level=error msg="Certificate has expired or is not yet valid." module=client_auth time="2020-07-09T07:37:12Z" level=error msg="Current clock is 2020-07-09 07:37:12.38694985 +0000 UTC m=+0.808883593" module=client_auth time="2020-07-09T07:37:12Z" level=error msg="Verify that the clock on the device is correct and/or certificate expiration date is valid." module=client_auth time="2020-07-09T07:37:12Z" level=error msg="See https://docs.mender.io/troubleshooting/mender-client#certificate-expired-or-not-yet-valid for more information." module=client_auth 2020/07/09 07:37:12 http: TLS handshake error from 127.0.0.1:37598: remote error: tls: bad certificate --- PASS: TestClientAuthExpiredCert (0.04s) === RUN TestClientAuthUnknownAuthorityCert time="2020-07-09T07:37:12Z" 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-07-09T07:37:12Z" 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 time="2020-07-09T07:37:12Z" level=error msg="Failure occured while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:41957/api/devices/v1/authentication/auth_requests\", Err:x509.UnknownAuthorityError{Cert:(*x509.Certificate)(0xeb6580), hintErr:(*errors.errorString)(0xc9c098), hintCert:(*x509.Certificate)(0xc7cdc0)}}" module=client_auth 2020/07/09 07:37:12 http: TLS handshake error from 127.0.0.1:43814: remote error: tls: bad certificate time="2020-07-09T07:37:12Z" level=error msg="Certificate is signed by unknown authority." module=client_auth time="2020-07-09T07:37:12Z" 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-07-09T07:37:12Z" 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.03s) === RUN TestClientAuthNoCert time="2020-07-09T07:37:12Z" level=error msg="server.non-existing.crt is inaccessible: open server.non-existing.crt: no such file or directory" module=client --- PASS: TestClientAuthNoCert (0.01s) === RUN TestInventoryClient time="2020-07-09T07:37:12Z" 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-07-09T07:37:12Z" 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-07-09T07:37:12Z" level=error msg="failed to submit inventory data: foo" module=client_inventory time="2020-07-09T07:37:12Z" level=error msg="got unexpected HTTP status when submitting to inventory: 401" module=client_inventory --- PASS: TestInventoryClient (0.08s) === RUN TestLogUploadClient time="2020-07-09T07:37:12Z" 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-07-09T07:37:12Z" 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-07-09T07:37:12Z" level=error msg="failed to upload logs: foo" module=client_log time="2020-07-09T07:37:12Z" level=error msg="got unexpected HTTP status when uploading log: 401" module=client_log --- PASS: TestLogUploadClient (0.07s) === RUN TestStatusClient time="2020-07-09T07:37:12Z" 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-07-09T07:37:12Z" 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-07-09T07:37:12Z" level=error msg="failed to report status: foo" module=client_status time="2020-07-09T07:37:12Z" level=error msg="got unexpected HTTP status when reporting status: 401" module=client_status time="2020-07-09T07:37:12Z" level=warning msg="status report rejected, deployment aborted at the backend" module=client_status --- PASS: TestStatusClient (0.09s) === RUN TestHttpClient time="2020-07-09T07:37:12Z" 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-07-09T07:37:12Z" 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-07-09T07:37:12Z" level=error msg="missing.crt is inaccessible: open missing.crt: no such file or directory" module=client --- PASS: TestHttpClient (0.01s) === RUN TestApiClientRequest time="2020-07-09T07:37:12Z" 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-07-09T07:37:12Z" 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-07-09T07:37:12Z" level=info msg="Device unauthorized; attempting reauthorization" module=client time="2020-07-09T07:37:12Z" level=warning msg="Reauthorization failed with error: " module=client time="2020-07-09T07:37:12Z" level=info msg="Device unauthorized; attempting reauthorization" module=client --- PASS: TestApiClientRequest (0.06s) === RUN TestClientConnectionTimeout time="2020-07-09T07:37:12Z" 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-07-09T07:37:12Z" 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 2020/07/09 07:37:12 http: TLS handshake error from 127.0.0.1:41276: write tcp 127.0.0.1:37123->127.0.0.1:41276: use of closed network connection --- PASS: TestClientConnectionTimeout (0.03s) === RUN TestHttpClientUrl --- PASS: TestHttpClientUrl (0.00s) === RUN TestCaLoading time="2020-07-09T07:37:12Z" 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-07-09T07:37:12Z" 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-07-09T07:37:12Z" 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-07-09T07:37:12Z" 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-07-09T07:37:12Z" 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-07-09T07:37:12Z" 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-07-09T07:37:12Z" level=warning msg="Server \"fakeURL.404\" failed to serve request \"\". Attempting \"https://127.0.0.1:45223\"" module=client --- PASS: TestFailoverAPICall (0.05s) === RUN TestParseUpdateResponse time="2020-07-09T07:37:12Z" 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-07-09T07:37:12Z" 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-07-09T07:37:12Z" level=warning msg="Client recieved invalid response status code: 404" module=client_update time="2020-07-09T07:37:12Z" level=warning msg="Client recieved invalid response status code: 500" module=client_update --- PASS: TestParseUpdateResponse (0.01s) === RUN Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing time="2020-07-09T07:37:12Z" 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-07-09T07:37:12Z" 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.05s) === RUN Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing time="2020-07-09T07:37:12Z" 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-07-09T07:37:12Z" 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.05s) === RUN Test_GetScheduledUpdate_ParsingResponseOK_updateSuccess time="2020-07-09T07:37:12Z" 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-07-09T07:37:12Z" 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-07-09T07:37:13Z" 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.06s) === RUN Test_FetchUpdate_noContent_UpdateFailing time="2020-07-09T07:37:13Z" 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-07-09T07:37:13Z" 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-07-09T07:37:13Z" level=error msg="Image smaller than expected. Expected: 4096, received: 0" module=client_update --- PASS: Test_FetchUpdate_noContent_UpdateFailing (0.09s) === RUN Test_FetchUpdate_invalidRequest_UpdateFailing time="2020-07-09T07:37:13Z" 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-07-09T07:37:13Z" 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-07-09T07:37:13Z" level=error msg="Can not fetch update image: Get broken-request: unsupported protocol scheme \"\"" module=client_update --- PASS: Test_FetchUpdate_invalidRequest_UpdateFailing (0.01s) === RUN Test_FetchUpdate_correctContent_UpdateFetched time="2020-07-09T07:37:13Z" 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-07-09T07:37:13Z" 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.05s) === RUN Test_UpdateApiClientError time="2020-07-09T07:37:13Z" 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/formattedButInvalidContentRange === CONT TestBrokenReadAndPartialDownload/group/brokenContentLength time="2020-07-09T07:37:13Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:13Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:13Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:13Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:14Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:14Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:14Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:14Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:14Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:14Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:14Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:14Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:14Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:14Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:15Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:15Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:15Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:15Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:15Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:15Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:15Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:15Z" level=info msg="Attempting to resume artifact download from offset 3350" module=update_resumer time="2020-07-09T07:37:15Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:15Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:15Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:15Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:16Z" level=info msg="Attempting to resume artifact download from offset 3350" module=update_resumer time="2020-07-09T07:37:16Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:16Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:16Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:16Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:16Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:16Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-07-09T07:37:16Z" 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-07-09T07:37:16Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:16Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:16Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:16Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:16Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:17Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-07-09T07:37:17Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:17Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:17Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:17Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:17Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:18Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-07-09T07:37:18Z" 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-07-09T07:37:18Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:18Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:18Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:18Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:18Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:19Z" level=info msg="Attempting to resume artifact download from offset 6700" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/emptyContentRange time="2020-07-09T07:37:19Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:19Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:19Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:19Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:19Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:20Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:20Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:20Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:20Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-07-09T07:37:20Z" 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-07-09T07:37:20Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:20Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:20Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:20Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:20Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:21Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:21Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:21Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:21Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:21Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:21Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:22Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:22Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:22Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:22Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-07-09T07:37:22Z" 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-07-09T07:37:22Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:22Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:22Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:22Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:22Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:23Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:23Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:23Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:24Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:24Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:24Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:25Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-07-09T07:37:25Z" 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-07-09T07:37:25Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:25Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:25Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:25Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:25Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:26Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:26Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:26Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:26Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:26Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:26Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:28Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:28Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-07-09T07:37:28Z" 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-07-09T07:37:28Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:28Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:28Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:28Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:28Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:28Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:28Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:29Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:29Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:29Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:31Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-07-09T07:37:31Z" 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-07-09T07:37:31Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/noPartialContentSupport time="2020-07-09T07:37:31Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:31Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:31Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:31Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:31Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:31Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:31Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/missingContentLength time="2020-07-09T07:37:32Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:32Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/serverDownAndUp time="2020-07-09T07:37:32Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:32Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:32Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:32Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:32Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:32Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:32Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:33Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:33Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:33Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:33Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:33Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:33Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:33Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:33Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:33Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:34Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:34Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:34Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:34Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:34Z" level=info msg="Attempting to resume artifact download from offset 3350" module=update_resumer time="2020-07-09T07:37:34Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:34Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:34Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:34Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:34Z" level=info msg="Attempting to resume artifact download from offset 3350" module=update_resumer time="2020-07-09T07:37:34Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:34Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:35Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-07-09T07:37:35Z" 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-07-09T07:37:35Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:35Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:35Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-07-09T07:37:35Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:35Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:36Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:36Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:36Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:37Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:37Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/breakAfterShortRange time="2020-07-09T07:37:37Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-07-09T07:37:37Z" 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-07-09T07:37:37Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:37Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:37Z" level=info msg="Attempting to resume artifact download from offset 6700" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/garbledContentStart time="2020-07-09T07:37:38Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:38Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:38Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:38Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:38Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:38Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:38Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:39Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-07-09T07:37:39Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:39Z" 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-07-09T07:37:39Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:39Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:39Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:39Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:39Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:39Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:39Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:40Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:40Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:40Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:40Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:40Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:40Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:40Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:40Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:40Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:41Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-07-09T07:37:41Z" 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-07-09T07:37:41Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:41Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:41Z" level=info msg="Attempting to resume artifact download from offset 3345" module=update_resumer time="2020-07-09T07:37:41Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:41Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:41Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:41Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:41Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:43Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:43Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:43Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:43Z" level=info msg="Attempting to resume artifact download from offset 5015" module=update_resumer time="2020-07-09T07:37:43Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:43Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:43Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:43Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:43Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:44Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-07-09T07:37:44Z" 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-07-09T07:37:44Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:44Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:45Z" level=info msg="Attempting to resume artifact download from offset 6685" module=update_resumer time="2020-07-09T07:37:45Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:45Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:45Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:45Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:45Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:46Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:46Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:46Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:47Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-07-09T07:37:47Z" 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-07-09T07:37:47Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:47Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:47Z" level=info msg="Attempting to resume artifact download from offset 8355" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/tooManyContentRanges time="2020-07-09T07:37:47Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:47Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:47Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:48Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:48Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:49Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:49Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/missingContentRange time="2020-07-09T07:37:49Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:49Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:49Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:50Z" level=info msg="Attempting to resume artifact download from offset 5025" module=update_resumer time="2020-07-09T07:37:50Z" 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-07-09T07:37:50Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/missingBytesContentRange time="2020-07-09T07:37:50Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:50Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:50Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:50Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:50Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:50Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:50Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:50Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:50Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:50Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:51Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:51Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:51Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:51Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:51Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:51Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:51Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:51Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:51Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:52Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:52Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:52Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:52Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:52Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:52Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:53Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:53Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:53Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:53Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:53Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:53Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:53Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:53Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:53Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:53Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:53Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:53Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:55Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:55Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:55Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:55Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:55Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:55Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:55Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:55Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:55Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:56Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:56Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange time="2020-07-09T07:37:57Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:57Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:57Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:57Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:57Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:57Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:37:57Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:57Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:57Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:57Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:57Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:58Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:58Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:58Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:37:59Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:59Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:59Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:59Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:59Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:59Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:37:59Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:37:59Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:37:59Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:38:00Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:00Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:00Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:38:00Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:00Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:00Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:38:02Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:02Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:02Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:38:02Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:02Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:02Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:38:02Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:02Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:02Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:38:03Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:03Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:03Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:38:04Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:04Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:04Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:38:05Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:05Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:05Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:38:05Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:05Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:05Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:38:06Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:06Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/earlyRangeStart time="2020-07-09T07:38:06Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:06Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:06Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:38:07Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:07Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:38:08Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:08Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/lateRangeStart time="2020-07-09T07:38:08Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:08Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:08Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:08Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:08Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:38:09Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:09Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:38:09Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:09Z" level=info msg="Attempting to resume artifact download from offset 3345" module=update_resumer time="2020-07-09T07:38:09Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:09Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:38:09Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:09Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:38:10Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:10Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:10Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:38:10Z" level=info msg="Attempting to resume artifact download from offset 5015" module=update_resumer time="2020-07-09T07:38:10Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:10Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:38:11Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:11Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:11Z" level=info msg="Resuming download in 1s" module=update_resumer time="2020-07-09T07:38:12Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:12Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:12Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:38:12Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:12Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:12Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:38:12Z" level=info msg="Attempting to resume artifact download from offset 6685" module=update_resumer time="2020-07-09T07:38:12Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:12Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:38:14Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:14Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:14Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:38:14Z" level=info msg="Attempting to resume artifact download from offset 8355" module=update_resumer time="2020-07-09T07:38:15Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:15Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:16Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:16Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:16Z" level=info msg="Resuming download in 2s" module=update_resumer time="2020-07-09T07:38:18Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:18Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:18Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:38:21Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:21Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:21Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:38:24Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:24Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2020-07-09T07:38:24Z" level=info msg="Resuming download in 3s" module=update_resumer time="2020-07-09T07:38:27Z" level=info msg="Attempting to resume artifact download from offset 1675" module=update_resumer time="2020-07-09T07:38:27Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer --- FAIL: TestBrokenReadAndPartialDownload (74.35s) --- FAIL: TestBrokenReadAndPartialDownload/group (0.00s) --- PASS: TestBrokenReadAndPartialDownload/group/success (6.05s) --- PASS: TestBrokenReadAndPartialDownload/group/serverDown (18.09s) --- PASS: TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange (18.12s) --- PASS: TestBrokenReadAndPartialDownload/group/brokenContentLength (19.10s) --- PASS: TestBrokenReadAndPartialDownload/group/emptyContentRange (18.08s) --- PASS: TestBrokenReadAndPartialDownload/group/missingContentLength (6.05s) --- PASS: TestBrokenReadAndPartialDownload/group/breakAfterShortRange (10.08s) --- PASS: TestBrokenReadAndPartialDownload/group/noPartialContentSupport (18.10s) --- FAIL: TestBrokenReadAndPartialDownload/group/serverDownAndUp (18.09s) 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-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/client/client.go:391 github.com/mendersoftware/mender/client.(*UpdateResumer).Read /build/mender-client-1.7.0/obj-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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_arm.s:867 Cannot resume download github.com/mendersoftware/mender/client.(*UpdateResumer).Read /build/mender-client-1.7.0/obj-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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-arm-linux-gnueabihf/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_arm.s:867 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/garbledContentStart (19.10s) --- PASS: TestBrokenReadAndPartialDownload/group/tooManyContentRanges (19.09s) --- PASS: TestBrokenReadAndPartialDownload/group/missingBytesContentRange (18.05s) --- PASS: TestBrokenReadAndPartialDownload/group/missingContentRange (19.06s) --- PASS: TestBrokenReadAndPartialDownload/group/earlyRangeStart (8.04s) --- PASS: TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange (19.05s) --- PASS: TestBrokenReadAndPartialDownload/group/lateRangeStart (19.10s) FAIL FAIL github.com/mendersoftware/mender/client 75.993s ? github.com/mendersoftware/mender/client/test [no test files] === RUN TestInstall time="2020-07-09T07:37:09Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2020-07-09T07:37:09Z" level=info msg="no public key was provided for authenticating the artifact" module=installer --- PASS: TestInstall (0.06s) === RUN TestInstallSigned time="2020-07-09T07:37:10Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2020-07-09T07:37:10Z" level=warning msg="installer: installing signed artifact without verification as verification key is missing" module=installer time="2020-07-09T07:37:10Z" level=info msg="installer: authenticated digital signature of artifact" module=installer time="2020-07-09T07:37:10Z" level=info msg="installer: authenticated digital signature of artifact" module=installer --- PASS: TestInstallSigned (0.25s) === RUN TestInstallNoSignature --- PASS: TestInstallNoSignature (0.02s) === RUN TestInstallWithScripts time="2020-07-09T07:37:10Z" level=info msg="no public key was provided for authenticating the artifact" module=installer --- PASS: TestInstallWithScripts (0.09s) PASS ok github.com/mendersoftware/mender/installer 0.486s === RUN TestStore --- PASS: TestStore (0.05s) === RUN TestExecutor time="2020-07-09T07:37:17Z" level=error msg="statescript: ignoring script '/tmp/rootfs_scripts455180608/Download_Enter_00' being not executable" module=executor time="2020-07-09T07:37:17Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave' will not be run " module=executor time="2020-07-09T07:37:17Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave' will not be run " module=executor time="2020-07-09T07:37:17Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave' will not be run " module=executor time="2020-07-09T07:37:17Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave' will not be run " module=executor time="2020-07-09T07:37:17Z" level=error msg="statescript: ignoring error executing 'ArtifactInstall_Leave_02': 1: exit status 1" module=executor time="2020-07-09T07:37:17Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave' will not be run " module=executor time="2020-07-09T07:37:17Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave_100' will not be run " module=executor time="2020-07-09T07:37:17Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave' will not be run " module=executor time="2020-07-09T07:37:17Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave_100' will not be run " module=executor --- PASS: TestExecutor (9.30s) === RUN TestVersion --- PASS: TestVersion (0.02s) === RUN TestReportScriptStatus time="2020-07-09T07:37:26Z" level=warning msg="Server certificate not provided. Trusting all servers." module=client time="2020-07-09T07:37:26Z" level=warning msg="certificate verification skipped.." module=client --- PASS: TestReportScriptStatus (0.05s) PASS ok github.com/mendersoftware/mender/statescript 9.486s === RUN TestDBStore time="2020-07-09T07:37:43Z" level=error msg="failed to open DB environment: mdb_env_open: no such file or directory" module=dbstore --- PASS: TestDBStore (0.04s) === RUN TestDirStore --- PASS: TestDirStore (0.00s) === RUN TestKeystore time="2020-07-09T07:37:43Z" level=error msg="failed to load key: failed to decode block" module=keystore --- PASS: TestKeystore (14.66s) === RUN TestKeystoreLoadPem --- PASS: TestKeystoreLoadPem (0.00s) === RUN TestMemStore --- PASS: TestMemStore (0.00s) PASS ok github.com/mendersoftware/mender/store 14.751s === 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 (3.64s) PASS ok github.com/mendersoftware/mender/utils 3.684s dh_auto_test: cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 3 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-arm-linux-gnueabihf && mkdir -p /build/mender-client-1.7.0/debian/mender-client/usr cd obj-arm-linux-gnueabihf && 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-dbgsym' in '../mender-client-dbgsym_1.7.0-4_armhf.deb'. dpkg-deb: building package 'mender-client' in '../mender-client_1.7.0-4_armhf.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../mender-client_1.7.0-4_armhf.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: 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/20370 and its subdirectories I: Current time: Wed Jul 8 19:48:43 -12 2020 I: pbuilder-time-stamp: 1594280923