Diff of the two buildlogs: -- --- b1/build.log 2021-07-27 05:10:00.425846846 +0000 +++ b2/build.log 2021-07-27 05:24:55.836384150 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Aug 28 23:27:25 -12 2022 -I: pbuilder-time-stamp: 1661772445 +I: Current time: Tue Jul 27 19:10:02 +14 2021 +I: pbuilder-time-stamp: 1627362602 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./mender-client_2.4.1-2.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.ndo7HwNt/trustedkeys.kbx': General error -gpgv: Signature made Tue Apr 13 07:37:53 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.FzCcdsxb/trustedkeys.kbx': General error +gpgv: Signature made Wed Apr 14 09:37:53 2021 +14 gpgv: using RSA key FAE1E5B64652BE798E278CC20BC47DC64D135306 gpgv: issuer "andreas@fatal.se" gpgv: Can't check signature: No public key @@ -34,137 +34,171 @@ dpkg-source: info: applying 0005-Revert-import-github.com-urfave-cli-v2-to-github.com.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/35178/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1313/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1313/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1313/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=7' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='90b5f3de57724486be48b34393e24604' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='35178' - PS1='# ' - PS2='> ' + INVOCATION_ID=a3a4175b963f4c9f9d34468c7a0213b2 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1313 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.vcFRDHmwg7/pbuilderrc_4Z0j --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.vcFRDHmwg7/b1 --logfile b1/build.log mender-client_2.4.1-2.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.vcFRDHmwg7/pbuilderrc_ZpIw --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.vcFRDHmwg7/b2 --logfile b2/build.log --extrapackages usrmerge mender-client_2.4.1-2.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos6-i386 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-686-pae #1 SMP Debian 4.19.194-3 (2021-07-18) i686 GNU/Linux I: ls -l /bin total 5776 - -rwxr-xr-x 1 root root 1367848 Jun 21 2021 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 2021 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 2021 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 2021 more - -rwsr-xr-x 1 root root 50720 Feb 7 2021 mount - -rwxr-xr-x 1 root root 13856 Feb 7 2021 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 2021 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 27 03:48 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 2021 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 2021 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 2021 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/35178/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1367848 Jun 22 16:25 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 04:38 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 04:38 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 04:38 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 04:38 more + -rwsr-xr-x 1 root root 50720 Feb 8 04:38 mount + -rwxr-xr-x 1 root root 13856 Feb 8 04:38 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 16:25 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 27 19:13 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 26 23:26 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 04:38 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 04:38 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 04:38 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/1313/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -298,7 +332,7 @@ Get: 66 http://deb.debian.org/debian bullseye/main i386 golang-golang-x-crypto-dev all 1:0.0~git20201221.eec23a3-1 [1538 kB] Get: 67 http://deb.debian.org/debian bullseye/main i386 libglib2.0-0 i386 2.66.8-1 [1437 kB] Get: 68 http://deb.debian.org/debian bullseye/main i386 pkg-config i386 0.29.2-1 [66.3 kB] -Fetched 105 MB in 2s (69.0 MB/s) +Fetched 105 MB in 25s (4250 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19675 files and directories currently installed.) @@ -597,9 +631,41 @@ Building dependency tree... Reading state information... fakeroot is already the newest version (1.25.3-1.1). -0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (551 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 35670 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/mender-client-2.4.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/mender-client-2.4.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package mender-client dpkg-buildpackage: info: source version 2.4.1-2 dpkg-buildpackage: info: source distribution unstable @@ -620,65 +686,65 @@ make[1]: Entering directory '/build/mender-client-2.4.1' dh_auto_build -O--buildsystem=golang -- \ -ldflags "-X github.com/mendersoftware/mender/conf.Version=2.4.1-2" - cd obj-i686-linux-gnu && go install -trimpath -v -p 16 -ldflags "-X github.com/mendersoftware/mender/conf.Version=2.4.1-2" github.com/mendersoftware/mender github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/device github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/system github.com/mendersoftware/mender/system/testing github.com/mendersoftware/mender/tests github.com/mendersoftware/mender/utils + cd obj-i686-linux-gnu && go install -trimpath -v -p 7 -ldflags "-X github.com/mendersoftware/mender/conf.Version=2.4.1-2" github.com/mendersoftware/mender github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/device github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/system github.com/mendersoftware/mender/system/testing github.com/mendersoftware/mender/tests github.com/mendersoftware/mender/utils internal/unsafeheader -unicode/utf8 -crypto/subtle -unicode/utf16 -math/bits -crypto/internal/subtle internal/race -runtime/internal/atomic -internal/nettrace sync/atomic -encoding unicode +runtime/internal/atomic +internal/cpu runtime/internal/sys -github.com/bmatsuo/lmdb-go/internal/lmdbarch +unicode/utf8 +math/bits +internal/testlog +encoding +unicode/utf16 +runtime/internal/math +internal/bytealg +crypto/internal/subtle +crypto/subtle +internal/nettrace vendor/golang.org/x/crypto/cryptobyte/asn1 +math +github.com/bmatsuo/lmdb-go/internal/lmdbarch +vendor/golang.org/x/crypto/internal/subtle container/list -internal/cpu -golang.org/x/sys/internal/unsafeheader runtime/cgo -vendor/golang.org/x/crypto/internal/subtle -math -internal/testlog -internal/bytealg -runtime/internal/math +golang.org/x/sys/internal/unsafeheader github.com/shurcooL/sanitized_anchor_name runtime -internal/reflectlite sync +internal/reflectlite internal/singleflight math/rand errors sort -internal/oserror io +internal/oserror strconv vendor/golang.org/x/net/dns/dnsmessage syscall hash -crypto/internal/randutil -bytes -text/tabwriter strings +bytes +crypto/internal/randutil hash/crc32 crypto/hmac vendor/golang.org/x/crypto/hkdf -crypto/rc4 +text/tabwriter crypto -reflect -golang.org/x/text/transform -vendor/golang.org/x/text/transform github.com/mendersoftware/openssl/utils +reflect +crypto/rc4 bufio +vendor/golang.org/x/text/transform path -html regexp/syntax +golang.org/x/text/transform +html +github.com/remyoudompheng/go-liblzma internal/syscall/unix internal/syscall/execenv -github.com/remyoudompheng/go-liblzma time regexp context @@ -687,99 +753,99 @@ encoding/binary os encoding/base64 -crypto/md5 crypto/sha512 -crypto/sha1 -crypto/sha256 +crypto/md5 crypto/cipher -vendor/golang.org/x/crypto/poly1305 +crypto/sha1 crypto/ed25519/internal/edwards25519 -golang.org/x/sys/unix +crypto/sha256 encoding/pem -crypto/des -vendor/golang.org/x/crypto/chacha20 +fmt crypto/aes path/filepath -fmt -os/signal -runtime/debug +crypto/des net -github.com/minio/sha256-simd -vendor/golang.org/x/crypto/chacha20poly1305 +vendor/golang.org/x/crypto/chacha20 +vendor/golang.org/x/crypto/poly1305 io/ioutil +golang.org/x/sys/unix +runtime/debug +vendor/golang.org/x/crypto/chacha20poly1305 +github.com/minio/sha256-simd os/exec -encoding/hex +os/signal compress/flate -net/url +encoding/json +math/big +encoding/hex log +net/url +compress/gzip +github.com/bmatsuo/lmdb-go/lmdb vendor/golang.org/x/crypto/curve25519 -encoding/json +vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/net/http2/hpack -math/big -github.com/pmezard/go-difflib/difflib -github.com/pkg/errors -net/http/internal +vendor/golang.org/x/text/unicode/norm +vendor/golang.org/x/text/secure/bidirule mime mime/quotedprintable -vendor/golang.org/x/text/unicode/norm +net/http/internal +crypto/dsa +crypto/elliptic +encoding/asn1 +crypto/rand +github.com/pkg/errors +vendor/golang.org/x/net/idna +crypto/ed25519 +crypto/rsa +github.com/sirupsen/logrus +vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix github.com/davecgh/go-spew/spew +github.com/pmezard/go-difflib/difflib +github.com/stretchr/objx +crypto/ecdsa gopkg.in/yaml.v3 -vendor/golang.org/x/text/unicode/bidi flag -github.com/bmatsuo/lmdb-go/lmdb golang.org/x/text/unicode/bidi -golang.org/x/net/http2/hpack golang.org/x/text/unicode/norm +golang.org/x/net/http2/hpack os/user github.com/klauspost/compress/flate -compress/gzip -github.com/ungerik/go-sysfs -github.com/russross/blackfriday/v2 -text/template/parse -vendor/golang.org/x/text/secure/bidirule -github.com/mendersoftware/mender/system/testing -runtime/trace -golang.org/x/term golang.org/x/text/secure/bidirule -testing -vendor/golang.org/x/net/idna -github.com/sirupsen/logrus github.com/mendersoftware/mender-artifact/utils -github.com/stretchr/objx -golang.org/x/crypto/ssh/terminal +github.com/ungerik/go-sysfs +github.com/mendersoftware/mender/system golang.org/x/net/idna -text/template -crypto/dsa -crypto/elliptic -encoding/asn1 -crypto/rand +crypto/x509 +net/textproto +vendor/golang.org/x/net/http/httpproxy github.com/klauspost/pgzip -github.com/cpuguy83/go-md2man/v2/md2man -github.com/mendersoftware/mender/system github.com/mendersoftware/mender/utils -crypto/ed25519 -crypto/rsa -crypto/x509/pkix -vendor/golang.org/x/crypto/cryptobyte -github.com/urfave/cli -crypto/ecdsa -archive/tar +vendor/golang.org/x/net/http/httpguts +mime/multipart +golang.org/x/net/http/httpguts +github.com/russross/blackfriday/v2 log/syslog -vendor/golang.org/x/net/http/httpproxy -net/textproto -crypto/x509 +text/template/parse github.com/sirupsen/logrus/hooks/syslog +golang.org/x/term github.com/mendersoftware/mender/log/syslog -vendor/golang.org/x/net/http/httpguts -golang.org/x/net/http/httpguts -mime/multipart -github.com/mendersoftware/mender-artifact/artifact +github.com/mendersoftware/mender/system/testing crypto/tls +golang.org/x/crypto/ssh/terminal +runtime/trace +github.com/cpuguy83/go-md2man/v2/md2man +testing +text/template +archive/tar +github.com/urfave/cli +github.com/mendersoftware/mender-artifact/artifact +net/http/httptrace github.com/mendersoftware/mender-artifact/handlers +net/http github.com/mendersoftware/mender-artifact/areader github.com/mendersoftware/mender-artifact/awriter -net/http/httptrace -net/http net/http/httptest github.com/mendersoftware/openssl golang.org/x/net/http2 @@ -821,9 +887,9 @@ github.com/mendersoftware/mender/store github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/client -github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/client/test +github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/device @@ -834,7 +900,7 @@ debian/rules override_dh_auto_test make[1]: Entering directory '/build/mender-client-2.4.1' dh_auto_test || true - cd obj-i686-linux-gnu && go test -vet=off -v -p 16 github.com/mendersoftware/mender github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/device github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/system github.com/mendersoftware/mender/system/testing github.com/mendersoftware/mender/tests github.com/mendersoftware/mender/utils + cd obj-i686-linux-gnu && go test -vet=off -v -p 7 github.com/mendersoftware/mender github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/device github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/system github.com/mendersoftware/mender/system/testing github.com/mendersoftware/mender/tests 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=] @@ -876,30 +942,30 @@ main_test.go:48: Skip TestBinarySize test, non applicable on Debian build --- SKIP: TestBinarySize (0.00s) PASS -ok github.com/mendersoftware/mender 0.007s +ok github.com/mendersoftware/mender 0.029s === RUN TestNewAuthManager --- PASS: TestNewAuthManager (0.00s) === RUN TestAuthManager ---- PASS: TestAuthManager (1.72s) +--- PASS: TestAuthManager (1.87s) === RUN TestAuthManagerRequest ---- PASS: TestAuthManagerRequest (0.57s) +--- PASS: TestAuthManagerRequest (1.79s) === RUN TestAuthManagerResponse --- PASS: TestAuthManagerResponse (0.00s) === RUN TestDaemon -time="2022-08-29T11:29:00Z" level=info msg="State transition: init [none] -> init [none]" +time="2021-07-27T05:19:32Z" level=info msg="State transition: init [none] -> init [none]" --- PASS: TestDaemon (0.00s) === RUN TestDaemonCleanup daemon_test.go:182: PASS: Close() -time="2022-08-29T11:29:00Z" level=error msg="Failed to close data store: foo" +time="2021-07-27T05:19:32Z" level=error msg="Failed to close data store: foo" daemon_test.go:190: PASS: Close() --- PASS: TestDaemonCleanup (0.00s) === RUN TestDaemonRun === RUN TestDaemonRun/Testrun_daemon daemon_test.go:239: poke count: 6 === RUN TestDaemonRun/testing_state_machine_interrupt_functionality_-_updateCheck_state -time="2022-08-29T11:31:31Z" level=info msg="Forcing state machine to: update-check" +time="2021-07-27T05:22:03Z" level=info msg="Forcing state machine to: update-check" === RUN TestDaemonRun/testing_state_machine_interrupt_functionality_-_inventoryUpdate_state -time="2022-08-29T11:31:32Z" level=info msg="Forcing state machine to: inventory-update" +time="2021-07-27T05:22:04Z" level=info msg="Forcing state machine to: inventory-update" --- PASS: TestDaemonRun (152.00s) --- PASS: TestDaemonRun/Testrun_daemon (150.00s) --- PASS: TestDaemonRun/testing_state_machine_interrupt_functionality_-_updateCheck_state (1.00s) @@ -909,2841 +975,2845 @@ === RUN TestLogManagerInit --- PASS: TestLogManagerInit (0.00s) === RUN TestLogManagerCheckEnableDisable -time="2022-08-29T11:31:32Z" level=info msg="Running Mender client version: unknown" +time="2021-07-27T05:22:04Z" level=info msg="Running Mender client version: unknown" --- PASS: TestLogManagerCheckEnableDisable (0.00s) === RUN TestLogManagerCheckLogging -time="2022-08-29T11:31:32Z" level=info msg="Running Mender client version: unknown" ---- PASS: TestLogManagerCheckLogging (0.00s) +time="2021-07-27T05:22:04Z" level=info msg="Running Mender client version: unknown" +--- PASS: TestLogManagerCheckLogging (0.01s) === RUN TestLogManagerLogRotation -time="2022-08-29T11:31:32Z" level=info msg="Running Mender client version: unknown" -time="2022-08-29T11:31:32Z" level=info msg="Running Mender client version: unknown" +time="2021-07-27T05:22:04Z" level=info msg="Running Mender client version: unknown" +time="2021-07-27T05:22:04Z" level=info msg="Running Mender client version: unknown" --- PASS: TestLogManagerLogRotation (0.00s) === RUN TestEnabligLogsNoSpceForStoringLogs --- PASS: TestEnabligLogsNoSpceForStoringLogs (0.00s) === RUN TestDeploymentLoggingHook -time="2022-08-29T11:31:32Z" level=info msg=test1 -time="2022-08-29T11:31:32Z" level=info msg="Running Mender client version: unknown" -time="2022-08-29T11:31:32Z" level=debug msg=test2 -time="2022-08-29T11:31:32Z" level=info msg=test3 -time="2022-08-29T11:31:32Z" level=info msg="{\"level\":\"info\",\"message\":\"Running Mender client version: unknown\",\"timestamp\":\"2022-08-29T11:31:32Z\"}\n{\"level\":\"debug\",\"message\":\"test2\",\"timestamp\":\"2022-08-29T11:31:32Z\"}\n" +time="2021-07-27T05:22:04Z" level=info msg=test1 +time="2021-07-27T05:22:04Z" level=info msg="Running Mender client version: unknown" +time="2021-07-27T05:22:04Z" level=debug msg=test2 +time="2021-07-27T05:22:04Z" level=info msg=test3 +time="2021-07-27T05:22:04Z" level=info msg="{\"level\":\"info\",\"message\":\"Running Mender client version: unknown\",\"timestamp\":\"2021-07-27T05:22:04Z\"}\n{\"level\":\"debug\",\"message\":\"test2\",\"timestamp\":\"2021-07-27T05:22:04Z\"}\n" --- PASS: TestDeploymentLoggingHook (0.01s) === RUN TestGetLogs -time="2022-08-29T11:31:32Z" level=info msg="Running Mender client version: unknown" +time="2021-07-27T05:22:04Z" level=info msg="Running Mender client version: unknown" --- PASS: TestGetLogs (0.00s) === RUN TestFindLogFiles --- PASS: TestFindLogFiles (0.00s) === RUN TestMenderError --- PASS: TestMenderError (0.00s) === RUN Test_getArtifactName_noArtifactNameInFile_returnsEmptyName -time="2022-08-29T11:31:32Z" level=debug msg="Private key does not exist" -time="2022-08-29T11:31:32Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:32Z" level=debug msg="Returning artifact name from artifact_info file." -time="2022-08-29T11:31:32Z" level=debug msg="Reading data from the device manifest file: artifact_info" ---- PASS: Test_getArtifactName_noArtifactNameInFile_returnsEmptyName (0.00s) +time="2021-07-27T05:22:04Z" level=debug msg="Private key does not exist" +time="2021-07-27T05:22:04Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:04Z" level=debug msg="Returning artifact name from artifact_info file." +time="2021-07-27T05:22:04Z" level=debug msg="Reading data from the device manifest file: artifact_info" +--- PASS: Test_getArtifactName_noArtifactNameInFile_returnsEmptyName (0.01s) === RUN Test_getArtifactName_malformedArtifactNameLine_returnsError -time="2022-08-29T11:31:32Z" level=debug msg="Private key does not exist" -time="2022-08-29T11:31:32Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:32Z" level=debug msg="Returning artifact name from artifact_info file." -time="2022-08-29T11:31:32Z" level=debug msg="Reading data from the device manifest file: artifact_info" -time="2022-08-29T11:31:32Z" level=debug msg=artifact_name -time="2022-08-29T11:31:32Z" level=error msg="Broken device manifest file: ([artifact_name])" ---- PASS: Test_getArtifactName_malformedArtifactNameLine_returnsError (0.00s) +time="2021-07-27T05:22:04Z" level=debug msg="Private key does not exist" +time="2021-07-27T05:22:04Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:04Z" level=debug msg="Returning artifact name from artifact_info file." +time="2021-07-27T05:22:04Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2021-07-27T05:22:04Z" level=debug msg=artifact_name +time="2021-07-27T05:22:04Z" level=error msg="Broken device manifest file: ([artifact_name])" +--- PASS: Test_getArtifactName_malformedArtifactNameLine_returnsError (0.01s) === RUN Test_getArtifactName_haveArtifactName_returnsName -time="2022-08-29T11:31:32Z" level=debug msg="Private key does not exist" -time="2022-08-29T11:31:32Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:32Z" level=debug msg="Returning artifact name from artifact_info file." -time="2022-08-29T11:31:32Z" level=debug msg="Reading data from the device manifest file: artifact_info" -time="2022-08-29T11:31:32Z" level=debug msg="artifact_name=mender-image" -time="2022-08-29T11:31:32Z" level=debug msg="Current manifest data: mender-image" ---- PASS: Test_getArtifactName_haveArtifactName_returnsName (0.00s) +time="2021-07-27T05:22:04Z" level=debug msg="Private key does not exist" +time="2021-07-27T05:22:04Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:04Z" level=debug msg="Returning artifact name from artifact_info file." +time="2021-07-27T05:22:04Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2021-07-27T05:22:04Z" level=debug msg="artifact_name=mender-image" +time="2021-07-27T05:22:04Z" level=debug msg="Current manifest data: mender-image" +--- PASS: Test_getArtifactName_haveArtifactName_returnsName (0.01s) === RUN Test_ForceBootstrap -time="2022-08-29T11:31:32Z" level=debug msg="Private key does not exist" -time="2022-08-29T11:31:32Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:32Z" level=debug msg="Needs keys" -time="2022-08-29T11:31:32Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2022-08-29T11:31:34Z" level=info msg="Device keys not present or bootstrap forced, generating" ---- PASS: Test_ForceBootstrap (1.88s) +time="2021-07-27T05:22:04Z" level=debug msg="Private key does not exist" +time="2021-07-27T05:22:04Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:04Z" level=debug msg="Needs keys" +time="2021-07-27T05:22:04Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2021-07-27T05:22:04Z" level=info msg="Device keys not present or bootstrap forced, generating" +--- PASS: Test_ForceBootstrap (6.63s) === RUN Test_Bootstrap -time="2022-08-29T11:31:34Z" level=debug msg="Private key does not exist" -time="2022-08-29T11:31:34Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:34Z" level=debug msg="Needs keys" -time="2022-08-29T11:31:34Z" level=debug msg="Needs keys" -time="2022-08-29T11:31:34Z" level=info msg="Device keys not present or bootstrap forced, generating" ---- PASS: Test_Bootstrap (1.79s) +time="2021-07-27T05:22:11Z" level=debug msg="Private key does not exist" +time="2021-07-27T05:22:11Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:11Z" level=debug msg="Needs keys" +time="2021-07-27T05:22:11Z" level=debug msg="Needs keys" +time="2021-07-27T05:22:11Z" level=info msg="Device keys not present or bootstrap forced, generating" +--- PASS: Test_Bootstrap (2.25s) === RUN Test_BootstrappedHaveKeys -time="2022-08-29T11:31:37Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" ---- PASS: Test_BootstrappedHaveKeys (0.85s) +time="2021-07-27T05:22:15Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +--- PASS: Test_BootstrappedHaveKeys (2.23s) === RUN Test_BootstrapError -time="2022-08-29T11:31:37Z" level=error msg="Failed to load device keys: disabled" -time="2022-08-29T11:31:37Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:37Z" level=error msg="Error loading authentication for HTTP client: fatal error: failed to cache authorization code: failed to read auth token data: disabled" -time="2022-08-29T11:31:37Z" level=debug msg="Private key does not exist" -time="2022-08-29T11:31:37Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:37Z" level=debug msg="Needs keys" -time="2022-08-29T11:31:37Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2022-08-29T11:31:37Z" level=error msg="Failed to save device key: read only" ---- PASS: Test_BootstrapError (0.39s) +time="2021-07-27T05:22:15Z" level=error msg="Failed to load device keys: disabled" +time="2021-07-27T05:22:15Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:15Z" level=error msg="Error loading authentication for HTTP client: fatal error: failed to cache authorization code: failed to read auth token data: disabled" +time="2021-07-27T05:22:15Z" level=debug msg="Private key does not exist" +time="2021-07-27T05:22:15Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:15Z" level=debug msg="Needs keys" +time="2021-07-27T05:22:15Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2021-07-27T05:22:17Z" level=error msg="Failed to save device key: read only" +--- PASS: Test_BootstrapError (1.67s) === RUN Test_CheckUpdateSimple -time="2022-08-29T11:31:37Z" level=debug msg="Private key does not exist" -time="2022-08-29T11:31:37Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:37Z" level=debug msg="Returning artifact name from file." -time="2022-08-29T11:31:37Z" level=error msg="could not get the current Artifact name" -time="2022-08-29T11:31:37Z" level=debug msg="Private key does not exist" -time="2022-08-29T11:31:37Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:37Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-077658043/artifact_info file." -time="2022-08-29T11:31:37Z" level=error msg="could not get the current Artifact name" -time="2022-08-29T11:31:37Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-077658043/artifact_info file." -time="2022-08-29T11:31:37Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-077658043/artifact_info" -time="2022-08-29T11:31:37Z" level=debug msg="artifact_name=fake-id" -time="2022-08-29T11:31:37Z" level=debug msg="Current manifest data: fake-id" -time="2022-08-29T11:31:37Z" level=debug msg="DEVICE_TYPE=hammer" -time="2022-08-29T11:31:37Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-077658043/artifact_info file." -time="2022-08-29T11:31:37Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-077658043/artifact_info" -time="2022-08-29T11:31:37Z" level=debug msg="artifact_name=fake-id" -time="2022-08-29T11:31:37Z" level=debug msg="Current manifest data: fake-id" -time="2022-08-29T11:31:37Z" level=debug msg="DEVICE_TYPE=hammer" -time="2022-08-29T11:31:37Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-077658043/device_type" -time="2022-08-29T11:31:37Z" level=debug msg="device_type=hammer" -time="2022-08-29T11:31:37Z" level=debug msg="Current manifest data: hammer" -time="2022-08-29T11:31:37Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[50] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x987a120 50 [] false 127.0.0.1:41773 map[] map[] map[] 127.0.0.1:60518 /api/devices/v1/deployments/device/deployments/next 0x9c8c040}" -time="2022-08-29T11:31:37Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2022-08-29T11:31:37Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:41773 map[] map[] map[] 127.0.0.1:60520 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x9c8c360}" -time="2022-08-29T11:31:37Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:41773 map[] map[] map[] 127.0.0.1:60520 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x9c8c360}" -time="2022-08-29T11:31:37Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" -time="2022-08-29T11:31:37Z" level=debug msg="Received response:200 OK" -time="2022-08-29T11:31:37Z" level=debug msg="Have update available" -time="2022-08-29T11:31:37Z" level=info msg="Correct request for getting image from: http://127.0.0.1:41773/download [name: fake-id; devices: [vexpress]]" -time="2022-08-29T11:31:37Z" level=debug msg="Received update response: {{{http://127.0.0.1:41773/download } [vexpress] [] fake-id map[]} foo [] 0 false}" -time="2022-08-29T11:31:37Z" level=info msg="Attempting to upgrade to currently installed artifact name, not performing upgrade." -time="2022-08-29T11:31:37Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-077658043/artifact_info file." -time="2022-08-29T11:31:37Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-077658043/artifact_info" -time="2022-08-29T11:31:37Z" level=debug msg="artifact_name=fake-id" -time="2022-08-29T11:31:37Z" level=debug msg="Current manifest data: fake-id" -time="2022-08-29T11:31:37Z" level=debug msg="DEVICE_TYPE=hammer" -time="2022-08-29T11:31:37Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-077658043/device_type" -time="2022-08-29T11:31:37Z" level=debug msg="device_type=hammer" -time="2022-08-29T11:31:37Z" level=debug msg="Current manifest data: hammer" -time="2022-08-29T11:31:37Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[50] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9db2150 50 [] false 127.0.0.1:41773 map[] map[] map[] 127.0.0.1:60520 /api/devices/v1/deployments/device/deployments/next 0x9db0380}" -time="2022-08-29T11:31:37Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2022-08-29T11:31:37Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:41773 map[] map[] map[] 127.0.0.1:60522 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x9db05e0}" -time="2022-08-29T11:31:37Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:41773 map[] map[] map[] 127.0.0.1:60522 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x9db05e0}" -time="2022-08-29T11:31:37Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" -time="2022-08-29T11:31:37Z" level=debug msg="Received response:200 OK" -time="2022-08-29T11:31:37Z" level=debug msg="Have update available" -time="2022-08-29T11:31:37Z" level=info msg="Correct request for getting image from: http://127.0.0.1:41773/download [name: fake-id-fake; devices: [vexpress]]" -time="2022-08-29T11:31:37Z" level=debug msg="Received update response: {{{http://127.0.0.1:41773/download } [vexpress] [] fake-id-fake map[]} foo [] 0 false}" -time="2022-08-29T11:31:37Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-077658043/artifact_info file." -time="2022-08-29T11:31:37Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-077658043/artifact_info" -time="2022-08-29T11:31:37Z" level=debug msg="artifact_name=fake-id" -time="2022-08-29T11:31:37Z" level=debug msg="Current manifest data: fake-id" -time="2022-08-29T11:31:37Z" level=debug msg="DEVICE_TYPE=hammer" -time="2022-08-29T11:31:37Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-077658043/device_type" -time="2022-08-29T11:31:37Z" level=debug msg="device_type=hammer" -time="2022-08-29T11:31:37Z" level=debug msg="Current manifest data: hammer" -time="2022-08-29T11:31:37Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[50] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9954e70 50 [] false 127.0.0.1:41773 map[] map[] map[] 127.0.0.1:60522 /api/devices/v1/deployments/device/deployments/next 0x99d8ea0}" -time="2022-08-29T11:31:37Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2022-08-29T11:31:37Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:41773 map[] map[] map[] 127.0.0.1:60524 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x99d90e0}" -time="2022-08-29T11:31:37Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:41773 map[] map[] map[] 127.0.0.1:60524 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x99d90e0}" -time="2022-08-29T11:31:37Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" -time="2022-08-29T11:31:37Z" level=debug msg="Received response:204 No Content" -time="2022-08-29T11:31:37Z" level=debug msg="No update available" -time="2022-08-29T11:31:37Z" level=debug msg="no updates available" ---- PASS: Test_CheckUpdateSimple (0.00s) +time="2021-07-27T05:22:17Z" level=debug msg="Private key does not exist" +time="2021-07-27T05:22:17Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:17Z" level=debug msg="Returning artifact name from file." +time="2021-07-27T05:22:17Z" level=error msg="could not get the current Artifact name" +time="2021-07-27T05:22:17Z" level=debug msg="Private key does not exist" +time="2021-07-27T05:22:17Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:17Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-255079260/artifact_info file." +time="2021-07-27T05:22:17Z" level=error msg="could not get the current Artifact name" +time="2021-07-27T05:22:17Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-255079260/artifact_info file." +time="2021-07-27T05:22:17Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-255079260/artifact_info" +time="2021-07-27T05:22:17Z" level=debug msg="artifact_name=fake-id" +time="2021-07-27T05:22:17Z" level=debug msg="Current manifest data: fake-id" +time="2021-07-27T05:22:17Z" level=debug msg="DEVICE_TYPE=hammer" +time="2021-07-27T05:22:17Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-255079260/artifact_info file." +time="2021-07-27T05:22:17Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-255079260/artifact_info" +time="2021-07-27T05:22:17Z" level=debug msg="artifact_name=fake-id" +time="2021-07-27T05:22:17Z" level=debug msg="Current manifest data: fake-id" +time="2021-07-27T05:22:17Z" level=debug msg="DEVICE_TYPE=hammer" +time="2021-07-27T05:22:17Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-255079260/device_type" +time="2021-07-27T05:22:17Z" level=debug msg="device_type=hammer" +time="2021-07-27T05:22:17Z" level=debug msg="Current manifest data: hammer" +time="2021-07-27T05:22:17Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[50] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9eee090 50 [] false 127.0.0.1:44973 map[] map[] map[] 127.0.0.1:39216 /api/devices/v1/deployments/device/deployments/next 0x9ee5b60}" +time="2021-07-27T05:22:17Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2021-07-27T05:22:17Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:44973 map[] map[] map[] 127.0.0.1:39218 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x9ee5e80}" +time="2021-07-27T05:22:17Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:44973 map[] map[] map[] 127.0.0.1:39218 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x9ee5e80}" +time="2021-07-27T05:22:17Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" +time="2021-07-27T05:22:17Z" level=debug msg="Received response:200 OK" +time="2021-07-27T05:22:17Z" level=debug msg="Have update available" +time="2021-07-27T05:22:17Z" level=info msg="Correct request for getting image from: http://127.0.0.1:44973/download [name: fake-id; devices: [vexpress]]" +time="2021-07-27T05:22:17Z" level=debug msg="Received update response: {{{http://127.0.0.1:44973/download } [vexpress] [] fake-id map[]} foo [] 0 false}" +time="2021-07-27T05:22:17Z" level=info msg="Attempting to upgrade to currently installed artifact name, not performing upgrade." +time="2021-07-27T05:22:17Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-255079260/artifact_info file." +time="2021-07-27T05:22:17Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-255079260/artifact_info" +time="2021-07-27T05:22:17Z" level=debug msg="artifact_name=fake-id" +time="2021-07-27T05:22:17Z" level=debug msg="Current manifest data: fake-id" +time="2021-07-27T05:22:17Z" level=debug msg="DEVICE_TYPE=hammer" +time="2021-07-27T05:22:17Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-255079260/device_type" +time="2021-07-27T05:22:17Z" level=debug msg="device_type=hammer" +time="2021-07-27T05:22:17Z" level=debug msg="Current manifest data: hammer" +time="2021-07-27T05:22:17Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[50] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9cb21b0 50 [] false 127.0.0.1:44973 map[] map[] map[] 127.0.0.1:39218 /api/devices/v1/deployments/device/deployments/next 0xa170360}" +time="2021-07-27T05:22:17Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2021-07-27T05:22:17Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:44973 map[] map[] map[] 127.0.0.1:39220 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xa098960}" +time="2021-07-27T05:22:17Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:44973 map[] map[] map[] 127.0.0.1:39220 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xa098960}" +time="2021-07-27T05:22:17Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" +time="2021-07-27T05:22:17Z" level=debug msg="Received response:200 OK" +time="2021-07-27T05:22:17Z" level=debug msg="Have update available" +time="2021-07-27T05:22:17Z" level=info msg="Correct request for getting image from: http://127.0.0.1:44973/download [name: fake-id-fake; devices: [vexpress]]" +time="2021-07-27T05:22:17Z" level=debug msg="Received update response: {{{http://127.0.0.1:44973/download } [vexpress] [] fake-id-fake map[]} foo [] 0 false}" +time="2021-07-27T05:22:17Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-255079260/artifact_info file." +time="2021-07-27T05:22:17Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-255079260/artifact_info" +time="2021-07-27T05:22:17Z" level=debug msg="artifact_name=fake-id" +time="2021-07-27T05:22:17Z" level=debug msg="Current manifest data: fake-id" +time="2021-07-27T05:22:17Z" level=debug msg="DEVICE_TYPE=hammer" +time="2021-07-27T05:22:17Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-255079260/device_type" +time="2021-07-27T05:22:17Z" level=debug msg="device_type=hammer" +time="2021-07-27T05:22:17Z" level=debug msg="Current manifest data: hammer" +time="2021-07-27T05:22:17Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[50] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xa12e120 50 [] false 127.0.0.1:44973 map[] map[] map[] 127.0.0.1:39220 /api/devices/v1/deployments/device/deployments/next 0xa1283e0}" +time="2021-07-27T05:22:17Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2021-07-27T05:22:17Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:44973 map[] map[] map[] 127.0.0.1:39222 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x9feade0}" +time="2021-07-27T05:22:17Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:44973 map[] map[] map[] 127.0.0.1:39222 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x9feade0}" +time="2021-07-27T05:22:17Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" +time="2021-07-27T05:22:17Z" level=debug msg="Received response:204 No Content" +time="2021-07-27T05:22:17Z" level=debug msg="No update available" +time="2021-07-27T05:22:17Z" level=debug msg="no updates available" +--- PASS: Test_CheckUpdateSimple (0.03s) === RUN TestMenderGetUpdatePollInterval -time="2022-08-29T11:31:37Z" level=debug msg="Private key does not exist" -time="2022-08-29T11:31:37Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:17Z" level=debug msg="Private key does not exist" +time="2021-07-27T05:22:17Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" --- PASS: TestMenderGetUpdatePollInterval (0.00s) === RUN TestMenderGetInventoryPollInterval -time="2022-08-29T11:31:37Z" level=debug msg="Private key does not exist" -time="2022-08-29T11:31:37Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:17Z" level=debug msg="Private key does not exist" +time="2021-07-27T05:22:17Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" --- PASS: TestMenderGetInventoryPollInterval (0.00s) === RUN TestMenderAuthorize -time="2022-08-29T11:31:37Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:37Z" level=debug msg="Needs keys" -time="2022-08-29T11:31:37Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2022-08-29T11:31:37Z" level=error msg="Empty server list! Make sure at least one serveris specified in /etc/mender/mender.conf" -time="2022-08-29T11:31:37Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2022-08-29T11:31:37Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2022-08-29T11:31:37Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2022-08-29T11:31:37Z" level=debug msg="Needs keys" -time="2022-08-29T11:31:37Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2022-08-29T11:31:37Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40725" -time="2022-08-29T11:31:37Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[0] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[]] {} 0 [] false 127.0.0.1:40725 map[] map[] map[] 127.0.0.1:54014 /api/devices/v1/authentication/auth_requests 0x99d94e0}" -time="2022-08-29T11:31:37Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 29 Aug 2022 11:31:37 GMT]] 0x980ebb0 0 [] false false map[] 0x98e2200 }" -time="2022-08-29T11:31:37Z" level=debug msg="Needs keys" -time="2022-08-29T11:31:37Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2022-08-29T11:31:37Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40725" -time="2022-08-29T11:31:37Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[0] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[]] {} 0 [] false 127.0.0.1:40725 map[] map[] map[] 127.0.0.1:54014 /api/devices/v1/authentication/auth_requests 0x9db0aa0}" -time="2022-08-29T11:31:37Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[6] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 29 Aug 2022 11:31:37 GMT]] 0x980ed20 6 [] false false map[] 0x9cb8780 }" -time="2022-08-29T11:31:37Z" level=debug msg="Receive response data" -time="2022-08-29T11:31:37Z" level=debug msg="Received response data: [102 111 111 98 97 114]" -time="2022-08-29T11:31:37Z" level=debug msg="Needs keys" -time="2022-08-29T11:31:37Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2022-08-29T11:31:37Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40725" -time="2022-08-29T11:31:37Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[0] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[]] {} 0 [] false 127.0.0.1:40725 map[] map[] map[] 127.0.0.1:54014 /api/devices/v1/authentication/auth_requests 0x99d9620}" -time="2022-08-29T11:31:37Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[6] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 29 Aug 2022 11:31:37 GMT]] 0x9db4410 6 [] false false map[] 0x9cb8880 }" -time="2022-08-29T11:31:37Z" level=debug msg="Receive response data" -time="2022-08-29T11:31:37Z" level=debug msg="Received response data: [102 111 111 98 97 114]" -time="2022-08-29T11:31:37Z" level=info msg="successfully received new authorization data" ---- PASS: TestMenderAuthorize (0.00s) +time="2021-07-27T05:22:17Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:17Z" level=debug msg="Needs keys" +time="2021-07-27T05:22:17Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2021-07-27T05:22:17Z" level=error msg="Empty server list! Make sure at least one serveris specified in /etc/mender/mender.conf" +time="2021-07-27T05:22:17Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2021-07-27T05:22:17Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2021-07-27T05:22:17Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2021-07-27T05:22:17Z" level=debug msg="Needs keys" +time="2021-07-27T05:22:17Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2021-07-27T05:22:17Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:38119" +time="2021-07-27T05:22:17Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[0] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[]] {} 0 [] false 127.0.0.1:38119 map[] map[] map[] 127.0.0.1:54504 /api/devices/v1/authentication/auth_requests 0xa099480}" +time="2021-07-27T05:22:17Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Tue, 27 Jul 2021 05:22:17 GMT]] 0xa11e2c0 0 [] false false map[] 0xa110780 }" +time="2021-07-27T05:22:17Z" level=debug msg="Needs keys" +time="2021-07-27T05:22:17Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2021-07-27T05:22:17Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:38119" +time="2021-07-27T05:22:17Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[0] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[]] {} 0 [] false 127.0.0.1:38119 map[] map[] map[] 127.0.0.1:54504 /api/devices/v1/authentication/auth_requests 0x9febbc0}" +time="2021-07-27T05:22:17Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[6] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 27 Jul 2021 05:22:17 GMT]] 0x9efc9a0 6 [] false false map[] 0xa204180 }" +time="2021-07-27T05:22:17Z" level=debug msg="Receive response data" +time="2021-07-27T05:22:17Z" level=debug msg="Received response data: [102 111 111 98 97 114]" +time="2021-07-27T05:22:17Z" level=debug msg="Needs keys" +time="2021-07-27T05:22:17Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2021-07-27T05:22:17Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:38119" +time="2021-07-27T05:22:17Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[0] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[]] {} 0 [] false 127.0.0.1:38119 map[] map[] map[] 127.0.0.1:54504 /api/devices/v1/authentication/auth_requests 0xa1288e0}" +time="2021-07-27T05:22:17Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[6] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 27 Jul 2021 05:22:17 GMT]] 0xa0d35d0 6 [] false false map[] 0x9cbec80 }" +time="2021-07-27T05:22:17Z" level=debug msg="Receive response data" +time="2021-07-27T05:22:17Z" level=debug msg="Received response data: [102 111 111 98 97 114]" +time="2021-07-27T05:22:17Z" level=info msg="successfully received new authorization data" +--- PASS: TestMenderAuthorize (0.01s) === RUN TestMenderReportStatus -time="2022-08-29T11:31:37Z" level=debug msg="Private key does not exist" -time="2022-08-29T11:31:37Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:37Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2022-08-29T11:31:37Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9955470 21 [] false 127.0.0.1:39041 map[] map[] map[] 127.0.0.1:49518 /api/devices/v1/deployments/device/deployments/foobar/status 0x99d9880}" -time="2022-08-29T11:31:37Z" level=info msg="request for foobar/status" -time="2022-08-29T11:31:37Z" level=info msg="got status request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9955470 21 [] false 127.0.0.1:39041 map[] map[] map[] 127.0.0.1:49518 /api/devices/v1/deployments/device/deployments/foobar/status 0x99d9880}" -time="2022-08-29T11:31:37Z" level=debug msg="Status reported, response 204 No Content" -time="2022-08-29T11:31:37Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x987aa20 21 [] false 127.0.0.1:39041 map[] map[] map[] 127.0.0.1:49518 /api/devices/v1/deployments/device/deployments/foobar/status 0x9c8dae0}" -time="2022-08-29T11:31:37Z" level=info msg="request for foobar/status" -time="2022-08-29T11:31:37Z" level=info msg="got status request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x987aa20 21 [] false 127.0.0.1:39041 map[] map[] map[] 127.0.0.1:49518 /api/devices/v1/deployments/device/deployments/foobar/status 0x9c8dae0}" -time="2022-08-29T11:31:37Z" level=error msg="bad token, got Bearer tokendata expected footoken" -time="2022-08-29T11:31:37Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2022-08-29T11:31:37Z" level=debug msg="Needs keys" -time="2022-08-29T11:31:37Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2022-08-29T11:31:38Z" level=debug msg="Tenant token: " -time="2022-08-29T11:31:38Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2mHsJiPJMSxbmd7FgFRu\nBRF6OxYkXg/tUlI80QlCRZCAxHj8WsygdcMP7+B+Y4SeILTJtWaOYgX5+KFvaNvk\nuDyhGXD3tgXzDEZVuOgCzTVMkJda+rATZq4eEErxatNC0Z7XrgyxFWSDnjvsC907\nVpiOhunMWX4cGMZNmB1i8O/G9BNuzfStRMD5tBCNd2ZcnyqsageUCBKud4GplqbV\nNKeo3u/zBqs8VQBvQQ7X4WqhK8W45iG7tSuef6l6nZeiU1PgB88g8t1dKvoruhUy\n8sG3dzwbLbRhQsduukzcku+rxhCGpgd97WLfzNyHji5opyiF6W5GG5Fq91pMn1HZ\nz7B986f/jSCxGOovZKCv6Wgli1aqTh+2HVRamvNAAU/tMNGbJgak6mhn5maLXdsT\nUMCwx+d3j/nGvx0hmKROAlxQGpOu82Hd3p33V4JPWP8mPHl6dZMYQ37UETj+KtsE\n1uo3ZVAThAdi84IVSD81jPToyQQVAxKYz4P7W1+ls1jFAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2022-08-29T11:31:38Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:39041" -time="2022-08-29T11:31:38Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[I7HFvZQWQyxEOJ94pMUb4NJLDlLjJ6wR9WaRNAQm1Gvkf1rI1RwZFe1Cn5FhCO2Tnj+vVew9/TLIECGJ4KtsrwFvXow9rl0ZJBFV8j1s01WarzkuyGn+Rkh0u++lzQdIn7dzYtQyjKoWA/oQ/kKzBazehYQTYF+NGBw7A214WWPFef0/o2XD4svxx+/hqPr0Dyi/BlL/u8oxceHanR0CStsuBNUTn15uS+HJTvZHSX31vs8ypJHJoUyPfjIzRb6DekFqlOIxt0hIOwy5MhCbVI6S92HguzHITlZ44hutz5FzAQsDf4Ley+lmrfidYR9rh6WFX/05nZn5n5P8NwusczqA7INp+2L7Xb3AGu2FLeD2yKyXFZ80XLChd9xpaV4DnjrzmPEMgqUBNlsBA5QbuEvtAePnCpzkO7bPCVmX4I7FCu5V4/oBICPqBscjI6NaS6q9uebRurkGF6kzAfwoQQPtPCaPR/7cidwFyRhy19ABxwKlx5ZOkQgF4Vm63cwh]] 0x987ac00 701 [] false 127.0.0.1:39041 map[] map[] map[] 127.0.0.1:49518 /api/devices/v1/authentication/auth_requests 0x9c8dd40}" -time="2022-08-29T11:31:38Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 29 Aug 2022 11:31:38 GMT]] 0x980f180 0 [] false false map[] 0x98e2480 }" -time="2022-08-29T11:31:38Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" -time="2022-08-29T11:31:38Z" level=error msg="Got unexpected HTTP status when reporting status: 401" -time="2022-08-29T11:31:38Z" level=error msg="error reporting update status: (request_id: ): reporting status failed, bad status 401 server error message: failed to parse server response: EOF" -time="2022-08-29T11:31:38Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9955680 21 [] false 127.0.0.1:39041 map[] map[] map[] 127.0.0.1:49518 /api/devices/v1/deployments/device/deployments/foobar/status 0x99d9b00}" -time="2022-08-29T11:31:38Z" level=info msg="request for foobar/status" -time="2022-08-29T11:31:38Z" level=info msg="got status request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9955680 21 [] false 127.0.0.1:39041 map[] map[] map[] 127.0.0.1:49518 /api/devices/v1/deployments/device/deployments/foobar/status 0x99d9b00}" -time="2022-08-29T11:31:38Z" level=error msg="bad authorization value: Bearer" -time="2022-08-29T11:31:38Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2022-08-29T11:31:38Z" level=debug msg="Tenant token: " -time="2022-08-29T11:31:38Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2mHsJiPJMSxbmd7FgFRu\nBRF6OxYkXg/tUlI80QlCRZCAxHj8WsygdcMP7+B+Y4SeILTJtWaOYgX5+KFvaNvk\nuDyhGXD3tgXzDEZVuOgCzTVMkJda+rATZq4eEErxatNC0Z7XrgyxFWSDnjvsC907\nVpiOhunMWX4cGMZNmB1i8O/G9BNuzfStRMD5tBCNd2ZcnyqsageUCBKud4GplqbV\nNKeo3u/zBqs8VQBvQQ7X4WqhK8W45iG7tSuef6l6nZeiU1PgB88g8t1dKvoruhUy\n8sG3dzwbLbRhQsduukzcku+rxhCGpgd97WLfzNyHji5opyiF6W5GG5Fq91pMn1HZ\nz7B986f/jSCxGOovZKCv6Wgli1aqTh+2HVRamvNAAU/tMNGbJgak6mhn5maLXdsT\nUMCwx+d3j/nGvx0hmKROAlxQGpOu82Hd3p33V4JPWP8mPHl6dZMYQ37UETj+KtsE\n1uo3ZVAThAdi84IVSD81jPToyQQVAxKYz4P7W1+ls1jFAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2022-08-29T11:31:38Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:39041" -time="2022-08-29T11:31:38Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[I7HFvZQWQyxEOJ94pMUb4NJLDlLjJ6wR9WaRNAQm1Gvkf1rI1RwZFe1Cn5FhCO2Tnj+vVew9/TLIECGJ4KtsrwFvXow9rl0ZJBFV8j1s01WarzkuyGn+Rkh0u++lzQdIn7dzYtQyjKoWA/oQ/kKzBazehYQTYF+NGBw7A214WWPFef0/o2XD4svxx+/hqPr0Dyi/BlL/u8oxceHanR0CStsuBNUTn15uS+HJTvZHSX31vs8ypJHJoUyPfjIzRb6DekFqlOIxt0hIOwy5MhCbVI6S92HguzHITlZ44hutz5FzAQsDf4Ley+lmrfidYR9rh6WFX/05nZn5n5P8NwusczqA7INp+2L7Xb3AGu2FLeD2yKyXFZ80XLChd9xpaV4DnjrzmPEMgqUBNlsBA5QbuEvtAePnCpzkO7bPCVmX4I7FCu5V4/oBICPqBscjI6NaS6q9uebRurkGF6kzAfwoQQPtPCaPR/7cidwFyRhy19ABxwKlx5ZOkQgF4Vm63cwh]] 0x98e0600 701 [] false 127.0.0.1:39041 map[] map[] map[] 127.0.0.1:49518 /api/devices/v1/authentication/auth_requests 0x98e72a0}" -time="2022-08-29T11:31:38Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[9] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 29 Aug 2022 11:31:38 GMT]] 0x98d8740 9 [] false false map[] 0x991ae80 }" -time="2022-08-29T11:31:38Z" level=debug msg="Receive response data" -time="2022-08-29T11:31:38Z" level=debug msg="Received response data: [116 111 107 101 110 100 97 116 97]" -time="2022-08-29T11:31:38Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x98e0840 21 [] false 127.0.0.1:39041 map[] map[] map[] 127.0.0.1:49518 /api/devices/v1/deployments/device/deployments/foobar/status 0x98e7680}" -time="2022-08-29T11:31:38Z" level=info msg="request for foobar/status" -time="2022-08-29T11:31:38Z" level=info msg="got status request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x98e0840 21 [] false 127.0.0.1:39041 map[] map[] map[] 127.0.0.1:49518 /api/devices/v1/deployments/device/deployments/foobar/status 0x98e7680}" -time="2022-08-29T11:31:38Z" level=warning msg="Status report rejected, deployment aborted at the backend" -time="2022-08-29T11:31:38Z" level=error msg="error reporting update status: (request_id: ): deployment was aborted server error message: failed to parse server response: EOF" ---- PASS: TestMenderReportStatus (0.98s) +time="2021-07-27T05:22:17Z" level=debug msg="Private key does not exist" +time="2021-07-27T05:22:17Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:17Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2021-07-27T05:22:17Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9c2c150 21 [] false 127.0.0.1:38209 map[] map[] map[] 127.0.0.1:57730 /api/devices/v1/deployments/device/deployments/foobar/status 0xa128220}" +time="2021-07-27T05:22:17Z" level=info msg="request for foobar/status" +time="2021-07-27T05:22:17Z" level=info msg="got status request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9c2c150 21 [] false 127.0.0.1:38209 map[] map[] map[] 127.0.0.1:57730 /api/devices/v1/deployments/device/deployments/foobar/status 0xa128220}" +time="2021-07-27T05:22:17Z" level=debug msg="Status reported, response 204 No Content" +time="2021-07-27T05:22:17Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xa0dc090 21 [] false 127.0.0.1:38209 map[] map[] map[] 127.0.0.1:57730 /api/devices/v1/deployments/device/deployments/foobar/status 0x9fea280}" +time="2021-07-27T05:22:17Z" level=info msg="request for foobar/status" +time="2021-07-27T05:22:17Z" level=info msg="got status request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xa0dc090 21 [] false 127.0.0.1:38209 map[] map[] map[] 127.0.0.1:57730 /api/devices/v1/deployments/device/deployments/foobar/status 0x9fea280}" +time="2021-07-27T05:22:17Z" level=error msg="bad token, got Bearer tokendata expected footoken" +time="2021-07-27T05:22:17Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2021-07-27T05:22:17Z" level=debug msg="Needs keys" +time="2021-07-27T05:22:17Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2021-07-27T05:22:20Z" level=debug msg="Tenant token: " +time="2021-07-27T05:22:20Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAo1XCnuPLFdEqaPf5g269\nzj5t/SjJfKEqxrqztSF4hk9QuPf5iYNWwTpbu2kecgGpDXjIGAcqxmAwGiJqwUUo\n7jv0gMkO1P44fgaa5ctM9il0coXrf+tc7zkFczJ7QkNV+vna7lhJLwBsloK6IG+/\n38yl5250omMJ7iobsE0rRV3DzgqYRvanpF6APBMiYJKYN5shd3DGX3oL2S3qRwJb\nODPeskOq6ivvf/+k3jOI0IsXpHzBP53LiO+fFoue05G/fwxFgpD3hWBQeAvsmJFM\nDLW2eTYPO4hvg1IFjbcxvusEn6nBfEkQystskVe+MEyYpGrtHYD//aqVBf8GNMCe\n/ya4/6i2UOiz0oJShMYcbFctMdDbVheW3YujFJCjWXIqMOSdW+9OCbTo6AZ2dQ8q\nRcWgWW7wud6wb6bPf2Vn1NTPpT4KmcAV7QCFL0qQ1Jl8kHVYuws3oNrS8qWuLnad\n7b+8w1+W08wAKfs8+Aux8cI2b5pWIPlPbQMhJtVBlP5nAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2021-07-27T05:22:20Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:38209" +time="2021-07-27T05:22:20Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[dJgpFUNKuHrILYYGsbeJyM8m+9bQLUR0O5YeEFIMKVPEUO8h+MrGtiv2+bYFc9Yx7j2pRebXkLHr2alE+andTmWXetLIJncWudPMrcvBT1KC9tcK0QL+4lznBAbEht6X53iuO+71u1dq98IY8UHO7a5hNlf/bCN17NHbOmbvN1N8im1hwOWd9GgfvbxBtXbxWxZrdTPj26yg+4ERXG+oVBUedccmG7KwMGXMXDMrEqlgUCcloPstyUoCQn0a2k0qejfs9I4chAvKXsmmbnleSSXIURdx1iCmf5wbGvNaz6LBqGW9GY/Vxu7tukFCuncGjY/6wjjn3Ndt5V0/W1c3QF5k2VwDCpwDT0bqJdDN5yRWTtWNdNE3nSSuPSBi2k9EmXKkl/CrxU8eZ03fLgiWy9hXUEffpieDFR4+tDwhMAVkgJWA+096vdU4i412fmCalzh7mGjkekk1IF3hiyR9Bt8NXbUnOrZkXHislJNxgHLWtUBg7lUNDxZHiLJmsO9q]] 0x9eee2d0 701 [] false 127.0.0.1:38209 map[] map[] map[] 127.0.0.1:57730 /api/devices/v1/authentication/auth_requests 0xa0987c0}" +time="2021-07-27T05:22:20Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Tue, 27 Jul 2021 05:22:20 GMT]] 0xa11e2d0 0 [] false false map[] 0xa110300 }" +time="2021-07-27T05:22:20Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" +time="2021-07-27T05:22:20Z" level=error msg="Got unexpected HTTP status when reporting status: 401" +time="2021-07-27T05:22:20Z" level=error msg="error reporting update status: (request_id: ): reporting status failed, bad status 401 server error message: failed to parse server response: EOF" +time="2021-07-27T05:22:20Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9c2c3c0 21 [] false 127.0.0.1:38209 map[] map[] map[] 127.0.0.1:57730 /api/devices/v1/deployments/device/deployments/foobar/status 0xa1289a0}" +time="2021-07-27T05:22:20Z" level=info msg="request for foobar/status" +time="2021-07-27T05:22:20Z" level=info msg="got status request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9c2c3c0 21 [] false 127.0.0.1:38209 map[] map[] map[] 127.0.0.1:57730 /api/devices/v1/deployments/device/deployments/foobar/status 0xa1289a0}" +time="2021-07-27T05:22:20Z" level=error msg="bad authorization value: Bearer" +time="2021-07-27T05:22:20Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2021-07-27T05:22:20Z" level=debug msg="Tenant token: " +time="2021-07-27T05:22:20Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAo1XCnuPLFdEqaPf5g269\nzj5t/SjJfKEqxrqztSF4hk9QuPf5iYNWwTpbu2kecgGpDXjIGAcqxmAwGiJqwUUo\n7jv0gMkO1P44fgaa5ctM9il0coXrf+tc7zkFczJ7QkNV+vna7lhJLwBsloK6IG+/\n38yl5250omMJ7iobsE0rRV3DzgqYRvanpF6APBMiYJKYN5shd3DGX3oL2S3qRwJb\nODPeskOq6ivvf/+k3jOI0IsXpHzBP53LiO+fFoue05G/fwxFgpD3hWBQeAvsmJFM\nDLW2eTYPO4hvg1IFjbcxvusEn6nBfEkQystskVe+MEyYpGrtHYD//aqVBf8GNMCe\n/ya4/6i2UOiz0oJShMYcbFctMdDbVheW3YujFJCjWXIqMOSdW+9OCbTo6AZ2dQ8q\nRcWgWW7wud6wb6bPf2Vn1NTPpT4KmcAV7QCFL0qQ1Jl8kHVYuws3oNrS8qWuLnad\n7b+8w1+W08wAKfs8+Aux8cI2b5pWIPlPbQMhJtVBlP5nAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2021-07-27T05:22:20Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:38209" +time="2021-07-27T05:22:20Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[dJgpFUNKuHrILYYGsbeJyM8m+9bQLUR0O5YeEFIMKVPEUO8h+MrGtiv2+bYFc9Yx7j2pRebXkLHr2alE+andTmWXetLIJncWudPMrcvBT1KC9tcK0QL+4lznBAbEht6X53iuO+71u1dq98IY8UHO7a5hNlf/bCN17NHbOmbvN1N8im1hwOWd9GgfvbxBtXbxWxZrdTPj26yg+4ERXG+oVBUedccmG7KwMGXMXDMrEqlgUCcloPstyUoCQn0a2k0qejfs9I4chAvKXsmmbnleSSXIURdx1iCmf5wbGvNaz6LBqGW9GY/Vxu7tukFCuncGjY/6wjjn3Ndt5V0/W1c3QF5k2VwDCpwDT0bqJdDN5yRWTtWNdNE3nSSuPSBi2k9EmXKkl/CrxU8eZ03fLgiWy9hXUEffpieDFR4+tDwhMAVkgJWA+096vdU4i412fmCalzh7mGjkekk1IF3hiyR9Bt8NXbUnOrZkXHislJNxgHLWtUBg7lUNDxZHiLJmsO9q]] 0x9eee3f0 701 [] false 127.0.0.1:38209 map[] map[] map[] 127.0.0.1:57730 /api/devices/v1/authentication/auth_requests 0xa098960}" +time="2021-07-27T05:22:20Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[9] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 27 Jul 2021 05:22:20 GMT]] 0x9efc3f0 9 [] false false map[] 0xa262080 }" +time="2021-07-27T05:22:20Z" level=debug msg="Receive response data" +time="2021-07-27T05:22:20Z" level=debug msg="Received response data: [116 111 107 101 110 100 97 116 97]" +time="2021-07-27T05:22:20Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xa0dc390 21 [] false 127.0.0.1:38209 map[] map[] map[] 127.0.0.1:57730 /api/devices/v1/deployments/device/deployments/foobar/status 0x9fea8e0}" +time="2021-07-27T05:22:20Z" level=info msg="request for foobar/status" +time="2021-07-27T05:22:20Z" level=info msg="got status request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xa0dc390 21 [] false 127.0.0.1:38209 map[] map[] map[] 127.0.0.1:57730 /api/devices/v1/deployments/device/deployments/foobar/status 0x9fea8e0}" +time="2021-07-27T05:22:20Z" level=warning msg="Status report rejected, deployment aborted at the backend" +time="2021-07-27T05:22:20Z" level=error msg="error reporting update status: (request_id: ): deployment was aborted server error message: failed to parse server response: EOF" +--- PASS: TestMenderReportStatus (3.17s) === RUN TestMenderLogUpload -time="2022-08-29T11:31:38Z" level=debug msg="Private key does not exist" -time="2022-08-29T11:31:38Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:38Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2022-08-29T11:31:38Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/log HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[136] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x99559b0 136 [] false 127.0.0.1:45173 map[] map[] map[] 127.0.0.1:53110 /api/devices/v1/deployments/device/deployments/foobar/log 0x9b262a0}" -time="2022-08-29T11:31:38Z" level=info msg="request for foobar/log" -time="2022-08-29T11:31:38Z" level=info msg="got log request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/log HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[136] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x99559b0 136 [] false 127.0.0.1:45173 map[] map[] map[] 127.0.0.1:53110 /api/devices/v1/deployments/device/deployments/foobar/log 0x9b262a0}" -time="2022-08-29T11:31:38Z" level=info msg="got logs: [123 32 34 109 101 115 115 97 103 101 115 34 58 10 91 123 32 34 116 105 109 101 34 58 32 34 49 50 58 49 50 58 49 50 34 44 32 34 108 101 118 101 108 34 58 32 34 101 114 114 111 114 34 44 32 34 109 115 103 34 58 32 34 108 111 103 32 102 111 111 34 32 125 44 10 123 32 34 116 105 109 101 34 58 32 34 49 50 58 49 50 58 49 51 34 44 32 34 108 101 118 101 108 34 58 32 34 100 101 98 117 103 34 44 32 34 109 115 103 34 58 32 34 108 111 103 32 98 97 114 34 32 125 93 10 125]" -time="2022-08-29T11:31:38Z" level=debug msg="Logs uploaded, response &{204 No Content 204 HTTP/1.1 1 1 map[Date:[Mon, 29 Aug 2022 11:31:38 GMT]] 0x9933c60 0 [] false false map[] 0x98e2980 }" -time="2022-08-29T11:31:38Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/log HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[136] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x98e0b70 136 [] false 127.0.0.1:45173 map[] map[] map[] 127.0.0.1:53110 /api/devices/v1/deployments/device/deployments/foobar/log 0x98e7da0}" -time="2022-08-29T11:31:38Z" level=info msg="request for foobar/log" -time="2022-08-29T11:31:38Z" level=info msg="got log request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/log HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[136] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x98e0b70 136 [] false 127.0.0.1:45173 map[] map[] map[] 127.0.0.1:53110 /api/devices/v1/deployments/device/deployments/foobar/log 0x98e7da0}" -time="2022-08-29T11:31:38Z" level=error msg="bad token, got Bearer tokendata expected footoken" -time="2022-08-29T11:31:38Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2022-08-29T11:31:38Z" level=debug msg="Needs keys" -time="2022-08-29T11:31:38Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2022-08-29T11:31:39Z" level=debug msg="Tenant token: " -time="2022-08-29T11:31:39Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAvRvTndhxNgVu3Lb2vINn\nbDIOZlel8QgNb9WznRFJgttD64doO/lonI01QVkCqbZueEweCvaqOiyyWmIGVxaE\nKyDx2ztvXe//PQfiSfj0PUq57bhauxxk7jESp5qvhuE/lM8nkwOQSuMT9dwVvqHc\nAgnaYMV9Kgxq+bGZmU476+6V/xaDSZbCT4xWOuVHQ8ttsZ9CRKqZwijp7QBDccHI\n8DC9/v/Yx2klrlkLtQFNTvSsigWOX9dTJAqPcAenKbKRUlurEAQ31YnpuPHe/fS3\nSKb7JavK0Rbg0NKdA4AgLV/xSP8N7uLYIUmE4p/3ZuzMCxW16VZ8ZPO3BHcZaA0k\nmP33fNtpopChAPxo67ocxq+Ap6K67A5RqISTK+NhY/B/gEU4VGMYnJQcRH6QQFbr\nlv4dO72OGAsyTa3qlPToV33913Z03POGk0yfRHoReV3XVnyJPfe47lApaW2w3zYr\n2zI6/kk88iSGPWj9A/Jkz0ah0VtkeHHTdOp8QtganGxdAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2022-08-29T11:31:39Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:45173" -time="2022-08-29T11:31:39Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[GOTb9tMTd1AhXgANiRB9kejG3jyCWbd64T3KkHpQ4CTrHKhRRjWR5R60Km6gjFGjv45bcRa26fsSFIuts+Spz029eezD8FHpJDManHwR3JS4nbs5nWaOPrpewi83hJs+3H3Wu/kv5nhl3C+fWXA+a/dfAfGZG83osxRaj2tEEKmXl3QPsK3w1imLXlULvii+X52T2mzaisWeI7Lat24vdyvWZQMqchph1BQHOB0s+AkyIeE75MGm/+4vwQ7+TtSJV6jLEPP4E6gtvgz6CCakVL0nAWazg8Yi2vWynZ4VmUcIEB5ffosAIBXOJ14ymNAOjLtOL1v3RkAUC7hyFLDPHc/SfgJBwKOLiA9gR19e/6ahG8wBK931Nnqvax6/5pIJEulBTOA8wO1w7sg3jX6CUugNRTOlrBodcWdPCu4VLeJ/jA4Pm+doGU/x+zTsSDH4gjgasHq4kOIJ/KFnk9tJuuSkUKLvaQuEZWOx1TAC8mCw1oaB57cDK78VR9S7Vs39]] 0x9955d10 701 [] false 127.0.0.1:45173 map[] map[] map[] 127.0.0.1:53110 /api/devices/v1/authentication/auth_requests 0x9b26840}" -time="2022-08-29T11:31:39Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 29 Aug 2022 11:31:39 GMT]] 0x9db4860 0 [] false false map[] 0x9a80680 }" -time="2022-08-29T11:31:39Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" -time="2022-08-29T11:31:39Z" level=error msg="Got unexpected HTTP status when uploading log: 401" -time="2022-08-29T11:31:39Z" level=error msg="error uploading logs: (request_id: ): uploading logs failed, bad status 401 server error message: failed to parse server response: EOF" ---- PASS: TestMenderLogUpload (1.41s) +time="2021-07-27T05:22:20Z" level=debug msg="Private key does not exist" +time="2021-07-27T05:22:20Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:20Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2021-07-27T05:22:20Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/log HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[136] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9cb2270 136 [] false 127.0.0.1:46835 map[] map[] map[] 127.0.0.1:41226 /api/devices/v1/deployments/device/deployments/foobar/log 0xa170a40}" +time="2021-07-27T05:22:20Z" level=info msg="request for foobar/log" +time="2021-07-27T05:22:20Z" level=info msg="got log request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/log HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[136] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9cb2270 136 [] false 127.0.0.1:46835 map[] map[] map[] 127.0.0.1:41226 /api/devices/v1/deployments/device/deployments/foobar/log 0xa170a40}" +time="2021-07-27T05:22:20Z" level=info msg="got logs: [123 32 34 109 101 115 115 97 103 101 115 34 58 10 91 123 32 34 116 105 109 101 34 58 32 34 49 50 58 49 50 58 49 50 34 44 32 34 108 101 118 101 108 34 58 32 34 101 114 114 111 114 34 44 32 34 109 115 103 34 58 32 34 108 111 103 32 102 111 111 34 32 125 44 10 123 32 34 116 105 109 101 34 58 32 34 49 50 58 49 50 58 49 51 34 44 32 34 108 101 118 101 108 34 58 32 34 100 101 98 117 103 34 44 32 34 109 115 103 34 58 32 34 108 111 103 32 98 97 114 34 32 125 93 10 125]" +time="2021-07-27T05:22:20Z" level=debug msg="Logs uploaded, response &{204 No Content 204 HTTP/1.1 1 1 map[Date:[Tue, 27 Jul 2021 05:22:20 GMT]] 0xa11e640 0 [] false false map[] 0xa262280 }" +time="2021-07-27T05:22:20Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/log HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[136] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9cb2510 136 [] false 127.0.0.1:46835 map[] map[] map[] 127.0.0.1:41226 /api/devices/v1/deployments/device/deployments/foobar/log 0xa170ce0}" +time="2021-07-27T05:22:20Z" level=info msg="request for foobar/log" +time="2021-07-27T05:22:20Z" level=info msg="got log request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/log HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[136] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9cb2510 136 [] false 127.0.0.1:46835 map[] map[] map[] 127.0.0.1:41226 /api/devices/v1/deployments/device/deployments/foobar/log 0xa170ce0}" +time="2021-07-27T05:22:20Z" level=error msg="bad token, got Bearer tokendata expected footoken" +time="2021-07-27T05:22:20Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2021-07-27T05:22:20Z" level=debug msg="Needs keys" +time="2021-07-27T05:22:20Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2021-07-27T05:22:23Z" level=debug msg="Tenant token: " +time="2021-07-27T05:22:23Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA1POHGscPHqo1c4qqqg21\nqHy9AlMiKIG4AA95ZqRoMQWSar07pfj7WpFmDbP/WXuyt4h593Bc+60NoEotpxsZ\nW/kFJO+PgT2t5eqsAiOil3tWVT3JpLGJXAzdzWX5Kdm52GgOTyZMvThmmSldVtMY\n4/SGQSh39dJipe5KTST2UpVxy1aR7Ex5LulEZDyUgRZntiTijDSzEaP+6loxqU/F\ni9GGjEbZwu3VREkPiNDgBVFFbHovFm50DDTkc/8GkBBBwCP40qpF1qn1xT/m0dkB\nIA+B3TpB/jv3YL/9mz3hO7SbyD4C35qhdqjp8pKB3I/0M/Co4Td0Bgc2qxW3q4N2\nMEO6MkA4zgrKV6/4VJGVd1wS/B1wXSHYt2ANhJ0J7KcYA14UvphyIaIQTHXn4dSU\nY8+Y0Cfos+iYGiSMquo2WfbAKlQ/LiBF5shk2/FyN9s/4BesvLBzSrrotntM7XqN\nFz8xCPNvCS25kUVE+LcW8rAGQMOumI0GxUKjQiA1YgW/AgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2021-07-27T05:22:23Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:46835" +time="2021-07-27T05:22:23Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[g9yHluw9JPh+oQ8sqUS+2la7W4hUIGTIBu7+afCH0ty//MFXWGvcCl8DJP3wvpiHvupJqSFIgFXWCg5VmorJBcARPj+5Otn/JjFb6/SXz+2R1ox/vho8eh6bFcBq27dQ0LwMND7EoR8imbYH618Iw7PO+CJDFo0oYf4ryEKnEIhkvJ/q2ws23EAyiX6df6wVtEAwEvQclCiY4gX38OtfSW6l672CBjX4hCS7fkHGwV/sc5Fm+Cs6Q3e03JWqIXLS+sidSPsDdRm57zWbQZzqZ5KbQOVJ7ROgXblZyurKmDYM5D0EQNW9etD82D4PaWODevoFqcWUnPBoPWJif6dLaacquIyT49MFMVVYRgBrXSE1eW18FXDFMVJcu4Qr6RopJO5c4mPiBVzSKDR881zFQv97sRRHlZgdDS6JGzlqw9ntYKea09i6Sfk+e6D7mpTMZCDItpItDVoe9IdR6NrynGRJMXtEJ3pihi+DyGQtkHbbLJ41bmdEOCVjPKUG45P3]] 0x9c2c5d0 701 [] false 127.0.0.1:46835 map[] map[] map[] 127.0.0.1:41226 /api/devices/v1/authentication/auth_requests 0xa128ce0}" +time="2021-07-27T05:22:23Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Tue, 27 Jul 2021 05:22:23 GMT]] 0xa11e780 0 [] false false map[] 0xa262700 }" +time="2021-07-27T05:22:23Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" +time="2021-07-27T05:22:23Z" level=error msg="Got unexpected HTTP status when uploading log: 401" +time="2021-07-27T05:22:23Z" level=error msg="error uploading logs: (request_id: ): uploading logs failed, bad status 401 server error message: failed to parse server response: EOF" +--- PASS: TestMenderLogUpload (2.86s) === RUN TestAuthToken -time="2022-08-29T11:31:39Z" level=debug msg="Private key does not exist" -time="2022-08-29T11:31:39Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:39Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-432188382/artifact_info file." -time="2022-08-29T11:31:39Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-432188382/artifact_info" -time="2022-08-29T11:31:39Z" level=debug msg="artifact_name=fake-id" -time="2022-08-29T11:31:39Z" level=debug msg="Current manifest data: fake-id" -time="2022-08-29T11:31:39Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-432188382/device_type" -time="2022-08-29T11:31:39Z" level=debug msg="device_type=foo-bar" -time="2022-08-29T11:31:39Z" level=debug msg="Current manifest data: foo-bar" -time="2022-08-29T11:31:39Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[51] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x987aea0 51 [] false 127.0.0.1:34739 map[] map[] map[] 127.0.0.1:52546 /api/devices/v1/deployments/device/deployments/next 0x9a22340}" -time="2022-08-29T11:31:39Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2022-08-29T11:31:39Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:34739 map[] map[] map[] 127.0.0.1:52548 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0x9ae62c0}" -time="2022-08-29T11:31:39Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:34739 map[] map[] map[] 127.0.0.1:52548 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0x9ae62c0}" -time="2022-08-29T11:31:39Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[foo-bar]]" -time="2022-08-29T11:31:39Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2022-08-29T11:31:39Z" level=debug msg="Needs keys" -time="2022-08-29T11:31:39Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2022-08-29T11:31:42Z" level=debug msg="Tenant token: " -time="2022-08-29T11:31:42Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAszspFLEbJfP9Hm8QVyTM\n2ukAzID9QiOArfSVLFyLBF/K6AEI4yygTcHvfUXXk+wEaujYJzY3Xc9b+Mk34wnM\n61GEW+mBJfH9mPkCGhGG2aYta7Rp5aGCZCE4ZF8S0iZr4jlq7ag1qkBMuUikwcTk\nq4q7SdJdB4x+GP46854Z/zssZfN1BzrnqxNbop9nLxSnrAhqMgMwG8pLrOpnnTP+\nTjjkQLlJ6zHyg58nE1apxGtO/7KU30lY6brwCQZsBoMQcgoOc7aelkLBAshhW8Gi\ng1jpid471Px0jyeS305RQcnjfZq2OxhojGu43NpmXGaInuK4rFaC6Wf8yusqepY3\n8X1tWV+GQ4srrDTIv/vsFjz6g5RHqGxZqIjLqg3pd1M2IfEhpTECWc730n19cThu\nsO/NoXKbLqmiMfKByGsQBCUVYMiw1549T+J0lOLE5gp/ug8fWda1HWvDipItT7Tb\ne5Y/O0QJ9FizjKUEFDZwvSAPdJ9EkCq2FtmRDvPWTJd1AgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2022-08-29T11:31:42Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:34739" -time="2022-08-29T11:31:42Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[QNO8y5nenTml2uxGzaKWo8nu/eyLy+iVL9Eug9htKvwr6yI7vjZCCr0iY/IZupuVNEYGbxsNSZp8eCzipGB+v3/oDcLec1YCNNxfSZgQT/D8nTOPSU4LKW9OS5ocUnefvnKikQSepLK5DwfQT+KfITKkpQTbj7D8T2MDg/9joceusTJi68q/w1b2WuTJmXI0r6N9TQ0oHbiTtsoN2vLhad88S67nmT1OYK9LFMhfdVKdUm+YiPlrvL2vSbTn7d/IuefMQaLim4dZhlcfG/QkHTwi0K4A9hS9/hYUIon5UJT2QgCB5V+CN+rwEAlJLDImWU8vW24ymADh0qF/QoK5yIXf1gxYM81IhsrpyXVQZHZ3Cz1JyWSjq15wkCjuMIWPdsGuKUeHp9TTmeQ/OzsZB7FS0VBQ9Js+kVMDKt2no7WSKs0EYKPE3uR24lhGow34rYSCNUr8RTTZ4CwekMB61b3vmUgc6M+SAyMi6TeJI91J4d54ZMUI4ecTzX5EB6ke]] 0x9955f50 701 [] false 127.0.0.1:34739 map[] map[] map[] 127.0.0.1:52548 /api/devices/v1/authentication/auth_requests 0x9b27080}" -time="2022-08-29T11:31:42Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 29 Aug 2022 11:31:42 GMT]] 0x9b381d0 0 [] false false map[] 0x991b580 }" -time="2022-08-29T11:31:42Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" -time="2022-08-29T11:31:42Z" level=debug msg="Received response:401 Unauthorized" -time="2022-08-29T11:31:42Z" level=warning msg="Client not authorized to get update schedule." -time="2022-08-29T11:31:42Z" level=error msg="Error receiving scheduled update data: (request_id: ): client not authorized server error message: failed to parse server response: EOF" ---- PASS: TestAuthToken (2.35s) +time="2021-07-27T05:22:23Z" level=debug msg="Private key does not exist" +time="2021-07-27T05:22:23Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:23Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-445709579/artifact_info file." +time="2021-07-27T05:22:23Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-445709579/artifact_info" +time="2021-07-27T05:22:23Z" level=debug msg="artifact_name=fake-id" +time="2021-07-27T05:22:23Z" level=debug msg="Current manifest data: fake-id" +time="2021-07-27T05:22:23Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-445709579/device_type" +time="2021-07-27T05:22:23Z" level=debug msg="device_type=foo-bar" +time="2021-07-27T05:22:23Z" level=debug msg="Current manifest data: foo-bar" +time="2021-07-27T05:22:23Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[51] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9cb2720 51 [] false 127.0.0.1:44917 map[] map[] map[] 127.0.0.1:58494 /api/devices/v1/deployments/device/deployments/next 0xa171380}" +time="2021-07-27T05:22:23Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2021-07-27T05:22:23Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:44917 map[] map[] map[] 127.0.0.1:58496 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0xa171500}" +time="2021-07-27T05:22:23Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:44917 map[] map[] map[] 127.0.0.1:58496 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0xa171500}" +time="2021-07-27T05:22:23Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[foo-bar]]" +time="2021-07-27T05:22:23Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2021-07-27T05:22:23Z" level=debug msg="Needs keys" +time="2021-07-27T05:22:23Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2021-07-27T05:22:24Z" level=debug msg="Tenant token: " +time="2021-07-27T05:22:24Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAu0dOFnZd5doFNlFtm7LV\nZIwaw/vWUo94qJjjcIOJYgk/o5YdQ19eLey+d5D4/6Ys6NgDGMEVrxpV0ohAVAaQ\nXQTbrlyKkjJirE43t6AeSEw4L/XHKeK6RjZdFqInck4/aWdLXAnSJzrCj6eDM8ko\nOteWrQykmGEkxU914Gi8AOerdNayzoC2XbmL93Z5lkiuDPgzi7HjQEV42TAq56ZA\np0IxlfEyq9upQUnomJPPglpDggNs0q9lWRF+m4gzqmH56kYTkVM83SiCPPTM+SCx\ns9fn8Ap+2NZIMIs7UmBSOhf3BGqVKDUUYUvC4wus09hUAJNdGopBItVs4wiBlvUQ\nUPEJ8UtyTgi/0twOgQ0aSHrm3/SgttScDG3Z5exgrEKE0xpGlaOqD5HqTSXL9w+1\nQUomC66GGEBgLqurPMRY4vRuq2cn6doZ9/vz6dyOiPDDsWf2kBgQ6PV7ORaATwgk\nXMqyULDmjqddoIGTZi7Uvh5wDKMIlPhAC5RxFYNDbgW5AgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2021-07-27T05:22:24Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:44917" +time="2021-07-27T05:22:24Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[cy0nAxzD5aP0FEVrSqwQHpxdm7F4YKwNBYEWsMb2VDHK4qLcYt529jb+tVt02HUhHJkJUDp1X2J3oe3fgcvMxcHdYLydtVPs8MA8PCb83UNmQgZfsL4Re5nwY9HSshNAs6IJ/95Nk8iwCnJgEk1VcRbots4dQZVYp6KV1eew1xO9U/oZtYfBXLM1ELsLAxCR4EN6LW1FSxmADwUZ8mBal62X6S9P+YM2hYPdj+dgHw2jZ1xnH9CrVHdZYkx8Ipqwno1ww2aOB2VgP9fRx4q5bw6DfaTVfdAl0mJGT88NriN3odxBVbCYLj9g2tdQ+tejqojpS/tmp9WVCTB895uA5LCIwdUEXVOmPPKQmH4N+LrEAy8h/b3198K1/C+Y+dJnzYg6ytoY4D0+K3reLKx7Ox9fL5khmXygWiDtYTROqBXmg/AlljvUsIaB6FZXoF0UccXDK21Q5ic3/MbSHEfG16HdO7087ttwZ602MQQFXW0Kr4D3WdQ8FJNf/Dlur5Il]] 0x9eee8a0 701 [] false 127.0.0.1:44917 map[] map[] map[] 127.0.0.1:58496 /api/devices/v1/authentication/auth_requests 0xa099240}" +time="2021-07-27T05:22:24Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Tue, 27 Jul 2021 05:22:24 GMT]] 0xa0d2ac0 0 [] false false map[] 0xa038c00 }" +time="2021-07-27T05:22:24Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" +time="2021-07-27T05:22:24Z" level=debug msg="Received response:401 Unauthorized" +time="2021-07-27T05:22:24Z" level=warning msg="Client not authorized to get update schedule." +time="2021-07-27T05:22:24Z" level=error msg="Error receiving scheduled update data: (request_id: ): client not authorized server error message: failed to parse server response: EOF" +--- PASS: TestAuthToken (1.37s) === RUN TestMenderInventoryRefresh -time="2022-08-29T11:31:42Z" level=debug msg="Private key does not exist" -time="2022-08-29T11:31:42Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:42Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2022-08-29T11:31:42Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-746776485/artifact_info file." -time="2022-08-29T11:31:42Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-746776485/artifact_info" -time="2022-08-29T11:31:42Z" level=debug msg="artifact_name=fake-id" -time="2022-08-29T11:31:42Z" level=debug msg="Current manifest data: fake-id" -time="2022-08-29T11:31:42Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-746776485/device_type" -time="2022-08-29T11:31:42Z" level=debug msg="device_type=foo-bar" -time="2022-08-29T11:31:42Z" level=debug msg="Current manifest data: foo-bar" -time="2022-08-29T11:31:42Z" level=info msg="got inventory request &{PATCH /api/devices/v1/inventory/device/attributes HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[137] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9b3e510 137 [] false 127.0.0.1:46359 map[] map[] map[] 127.0.0.1:56854 /api/devices/v1/inventory/device/attributes 0x9b27e00}" -time="2022-08-29T11:31:42Z" level=info msg="got attrs: [{mender_client_version unknown} {device_type foo-bar} {artifact_name fake-id}]" -time="2022-08-29T11:31:42Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 29 Aug 2022 11:31:42 GMT]] 0x9b386c0 0 [] false false map[] 0x991b880 }" -time="2022-08-29T11:31:42Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-746776485/artifact_info file." -time="2022-08-29T11:31:42Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-746776485/artifact_info" -time="2022-08-29T11:31:42Z" level=debug msg="artifact_name=fake-id" -time="2022-08-29T11:31:42Z" level=debug msg="Current manifest data: fake-id" -time="2022-08-29T11:31:42Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-746776485/device_type" -time="2022-08-29T11:31:42Z" level=debug msg="device_type=foo-bar" -time="2022-08-29T11:31:42Z" level=debug msg="Current manifest data: foo-bar" -time="2022-08-29T11:31:42Z" level=info msg="got inventory request &{PATCH /api/devices/v1/inventory/device/attributes HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[166] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9b3e6c0 166 [] false 127.0.0.1:46359 map[] map[] map[] 127.0.0.1:56854 /api/devices/v1/inventory/device/attributes 0x9b50240}" -time="2022-08-29T11:31:42Z" level=info msg="got attrs: [{mender_client_version unknown} {foo bar} {device_type foo-bar} {artifact_name fake-id}]" -time="2022-08-29T11:31:42Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 29 Aug 2022 11:31:42 GMT]] 0x9b38a00 0 [] false false map[] 0x9a80c80 }" -time="2022-08-29T11:31:42Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-746776485/artifact_info file." -time="2022-08-29T11:31:42Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-746776485/artifact_info" -time="2022-08-29T11:31:42Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-746776485/artifact_info file." -time="2022-08-29T11:31:42Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-746776485/artifact_info" ---- PASS: TestMenderInventoryRefresh (0.02s) +time="2021-07-27T05:22:24Z" level=debug msg="Private key does not exist" +time="2021-07-27T05:22:24Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:24Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2021-07-27T05:22:24Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-280047342/artifact_info file." +time="2021-07-27T05:22:24Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-280047342/artifact_info" +time="2021-07-27T05:22:24Z" level=debug msg="artifact_name=fake-id" +time="2021-07-27T05:22:24Z" level=debug msg="Current manifest data: fake-id" +time="2021-07-27T05:22:24Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-280047342/device_type" +time="2021-07-27T05:22:24Z" level=debug msg="device_type=foo-bar" +time="2021-07-27T05:22:24Z" level=debug msg="Current manifest data: foo-bar" +time="2021-07-27T05:22:24Z" level=info msg="got inventory request &{PATCH /api/devices/v1/inventory/device/attributes HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[137] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9c2c7e0 137 [] false 127.0.0.1:46773 map[] map[] map[] 127.0.0.1:57964 /api/devices/v1/inventory/device/attributes 0xa128fc0}" +time="2021-07-27T05:22:24Z" level=info msg="got attrs: [{device_type foo-bar} {artifact_name fake-id} {mender_client_version unknown}]" +time="2021-07-27T05:22:24Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Tue, 27 Jul 2021 05:22:24 GMT]] 0x9c0e810 0 [] false false map[] 0x9cbe800 }" +time="2021-07-27T05:22:24Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-280047342/artifact_info file." +time="2021-07-27T05:22:24Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-280047342/artifact_info" +time="2021-07-27T05:22:24Z" level=debug msg="artifact_name=fake-id" +time="2021-07-27T05:22:24Z" level=debug msg="Current manifest data: fake-id" +time="2021-07-27T05:22:24Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-280047342/device_type" +time="2021-07-27T05:22:24Z" level=debug msg="device_type=foo-bar" +time="2021-07-27T05:22:24Z" level=debug msg="Current manifest data: foo-bar" +time="2021-07-27T05:22:24Z" level=info msg="got inventory request &{PATCH /api/devices/v1/inventory/device/attributes HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[166] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9eeec90 166 [] false 127.0.0.1:46773 map[] map[] map[] 127.0.0.1:57964 /api/devices/v1/inventory/device/attributes 0xa099d40}" +time="2021-07-27T05:22:24Z" level=info msg="got attrs: [{foo bar} {device_type foo-bar} {artifact_name fake-id} {mender_client_version unknown}]" +time="2021-07-27T05:22:24Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Tue, 27 Jul 2021 05:22:24 GMT]] 0x9cae050 0 [] false false map[] 0xa110880 }" +time="2021-07-27T05:22:24Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-280047342/artifact_info file." +time="2021-07-27T05:22:24Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-280047342/artifact_info" +time="2021-07-27T05:22:24Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-280047342/artifact_info file." +time="2021-07-27T05:22:24Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-280047342/artifact_info" +--- PASS: TestMenderInventoryRefresh (0.01s) === RUN TestMenderStoreUpdate -time="2022-08-29T11:31:42Z" level=debug msg="Private key does not exist" -time="2022-08-29T11:31:42Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:42Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-873619743/device_type: no such file or directory" -time="2022-08-29T11:31:42Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:42Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2022-08-29T11:31:42Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-873619743/device_type: no such file or directory" -time="2022-08-29T11:31:42Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:42Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2022-08-29T11:31:42Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-873619743/device_type" -time="2022-08-29T11:31:42Z" level=debug msg="device_type=bogusdevicetype" -time="2022-08-29T11:31:42Z" level=debug msg="Current manifest data: bogusdevicetype" -time="2022-08-29T11:31:42Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:42Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2022-08-29T11:31:42Z" level=debug msg="Checking if device [bogusdevicetype] is on compatible device list: [vexpress-qemu]\n" -time="2022-08-29T11:31:42Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-873619743/device_type" -time="2022-08-29T11:31:42Z" level=debug msg="device_type=vexpress-qemu" -time="2022-08-29T11:31:42Z" level=debug msg="Current manifest data: vexpress-qemu" -time="2022-08-29T11:31:42Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:42Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2022-08-29T11:31:42Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2022-08-29T11:31:42Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" -time="2022-08-29T11:31:42Z" level=debug msg="Private key does not exist" -time="2022-08-29T11:31:42Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:42Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-873619743/device_type" -time="2022-08-29T11:31:42Z" level=debug msg="device_type=vexpress-qemu" -time="2022-08-29T11:31:42Z" level=debug msg="Current manifest data: vexpress-qemu" -time="2022-08-29T11:31:42Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:42Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2022-08-29T11:31:42Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2022-08-29T11:31:42Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" ---- PASS: TestMenderStoreUpdate (0.17s) +time="2021-07-27T05:22:24Z" level=debug msg="Private key does not exist" +time="2021-07-27T05:22:24Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:24Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-671094864/device_type: no such file or directory" +time="2021-07-27T05:22:24Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:24Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2021-07-27T05:22:24Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-671094864/device_type: no such file or directory" +time="2021-07-27T05:22:24Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:24Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2021-07-27T05:22:24Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-671094864/device_type" +time="2021-07-27T05:22:24Z" level=debug msg="device_type=bogusdevicetype" +time="2021-07-27T05:22:24Z" level=debug msg="Current manifest data: bogusdevicetype" +time="2021-07-27T05:22:24Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:24Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2021-07-27T05:22:24Z" level=debug msg="Checking if device [bogusdevicetype] is on compatible device list: [vexpress-qemu]\n" +time="2021-07-27T05:22:24Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-671094864/device_type" +time="2021-07-27T05:22:24Z" level=debug msg="device_type=vexpress-qemu" +time="2021-07-27T05:22:24Z" level=debug msg="Current manifest data: vexpress-qemu" +time="2021-07-27T05:22:24Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:24Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2021-07-27T05:22:24Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2021-07-27T05:22:24Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" +time="2021-07-27T05:22:24Z" level=debug msg="Private key does not exist" +time="2021-07-27T05:22:24Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:24Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-671094864/device_type" +time="2021-07-27T05:22:24Z" level=debug msg="device_type=vexpress-qemu" +time="2021-07-27T05:22:24Z" level=debug msg="Current manifest data: vexpress-qemu" +time="2021-07-27T05:22:24Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:24Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2021-07-27T05:22:24Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2021-07-27T05:22:24Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" +--- PASS: TestMenderStoreUpdate (0.08s) === RUN TestMenderFetchUpdate -time="2022-08-29T11:31:42Z" level=debug msg="Private key does not exist" -time="2022-08-29T11:31:42Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:42Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2022-08-29T11:31:42Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2022-08-29T11:31:42Z" level=info msg="got update download request &{GET /api/devices/v1/download HTTP/1.1 1 1 map[Accept-Encoding:[gzip] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:35483 map[] map[] map[] 127.0.0.1:59330 /api/devices/v1/download 0x98e6040}" -time="2022-08-29T11:31:42Z" level=debug msg="Received fetch update response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[8192] Content-Type:[application/octet-stream] Date:[Mon, 29 Aug 2022 11:31:42 GMT]] 0x9b385c0 8192 [] false false map[] 0x991a200 }+" ---- PASS: TestMenderFetchUpdate (0.01s) +time="2021-07-27T05:22:24Z" level=debug msg="Private key does not exist" +time="2021-07-27T05:22:24Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:24Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2021-07-27T05:22:24Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2021-07-27T05:22:24Z" level=info msg="got update download request &{GET /api/devices/v1/download HTTP/1.1 1 1 map[Accept-Encoding:[gzip] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:43887 map[] map[] map[] 127.0.0.1:43902 /api/devices/v1/download 0x9c9c9e0}" +time="2021-07-27T05:22:24Z" level=debug msg="Received fetch update response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[8192] Content-Type:[application/octet-stream] Date:[Tue, 27 Jul 2021 05:22:24 GMT]] 0xa11e100 8192 [] false false map[] 0x9cbe200 }+" +--- PASS: TestMenderFetchUpdate (0.00s) === RUN TestReauthorization -time="2022-08-29T11:31:42Z" level=debug msg="Private key does not exist" -time="2022-08-29T11:31:42Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:42Z" level=debug msg="Needs keys" -time="2022-08-29T11:31:42Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2022-08-29T11:31:44Z" level=debug msg="Tenant token: " -time="2022-08-29T11:31:44Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAvNdv3bv1S4WBBYc1qaqf\nd54bsQDBQar+9+bak1Xcw/riFnKz+uQOOeLCzxFn+vZ3dr3ALI5LPl7xyLLu98uF\nxtM1WMvVwCtxlXpVMtr3zTe8oQ9CgyrvmWho/mzZwpAoftdM5E13dkYlYYY/zbEQ\nZe3z69zmz4DiU9Ycf5tf/H9GQpsdyPBzZSD0YymVrraNnHsHA+tbS9EiwT+mC2FQ\nPOsqI4J4Riz3JWnmvoAGjtsriMjL+Bn8PmaukyIaxNyyqen+Jl8p3tq1rhoKUSH0\nsgBvMkUKDTSjtXfuLb6ZcNoqLJjlrXUEEbgzkoFev7oZ/hohwSt2quTG2tnt7lSV\nYy7OoQoghh19vUeUwd/bbBzTbqqD7rKy0KqzXjvGiYNl/ovml0VHogLPcSWXBiAE\n4/JYV9/yVzbeAkEP3b07YFxziIc4swBxNmNsfr6ieYi3XGFur8ulQ5bt5L03tIeJ\n9P6046RgoFuKdE9u+zPnJ1yulmYClBE1etGcv0KVfWRbAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2022-08-29T11:31:45Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:32815" -time="2022-08-29T11:31:45Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[ut0SRb358PuCCo3Ta2QA9uazF+BanYKAt27xBcesXJikVJVdtj7J+3nNrG6bBhzWg+XYQGPENh0oEQRqEFrSYNht3B9MA4pciC2ZWM0nhZWm5QYgIOsDY8A4eqF6uyOA+1RoNonjSWYfPVkIQ6w7gmu7nYGsYCeySTaviIoDkE8y2+iKQh2U5Y9a+U1sDTgcP7C+ROFO7NtUgnhsPh5ilVtIFfbysaZlRVzZbCLsEQk8ZwEckSERcOKOI6jXHSWxFweyZONBrSVtSkGqzi3C4NqlXJWEUMQ6bLsY0w6xHHCDQ5Q+K6TaooZlzbtXGaCOTZR/zvrBQIcDQD5Jfv7DREgWRttGv94uw2jE1OVAdzPsJ2f5wUijhpgN90CL1mQIoONNNITkrJjAqbvUyeYYkIJz9BN3k38Xt/GQuCFey62XlmuEj8draIlPv2S2ZxnHqzhueYF36zL4F/1w9BII1wDARYodfWDFi3VB3sGELx9D8ZjuLOPyf5RVCtOeTExe]] 0x987a0f0 701 [] false 127.0.0.1:32815 map[] map[] map[] 127.0.0.1:54472 /api/devices/v1/authentication/auth_requests 0x98e6240}" -time="2022-08-29T11:31:45Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 29 Aug 2022 11:31:45 GMT]] 0x980e130 3 [] false false map[] 0x9af2100 }" -time="2022-08-29T11:31:45Z" level=debug msg="Receive response data" -time="2022-08-29T11:31:45Z" level=debug msg="Received response data: [102 111 111]" -time="2022-08-29T11:31:45Z" level=info msg="successfully received new authorization data" -time="2022-08-29T11:31:45Z" level=debug msg="Returning artifact name from artifact_info file." -time="2022-08-29T11:31:45Z" level=debug msg="Reading data from the device manifest file: artifact_info" -time="2022-08-29T11:31:45Z" level=debug msg="artifact_name=mender-image" -time="2022-08-29T11:31:45Z" level=debug msg="Current manifest data: mender-image" -time="2022-08-29T11:31:45Z" level=debug msg="Reading data from the device manifest file: device_type" -time="2022-08-29T11:31:45Z" level=debug msg="device_type=dev" -time="2022-08-29T11:31:45Z" level=debug msg="Current manifest data: dev" -time="2022-08-29T11:31:45Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9c182a0 52 [] false 127.0.0.1:32815 map[] map[] map[] 127.0.0.1:54472 /api/devices/v1/deployments/device/deployments/next 0x9da4740}" -time="2022-08-29T11:31:45Z" level=error msg="bad token, got Bearer foo expected bar" -time="2022-08-29T11:31:45Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2022-08-29T11:31:45Z" level=debug msg="Tenant token: " -time="2022-08-29T11:31:45Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAvNdv3bv1S4WBBYc1qaqf\nd54bsQDBQar+9+bak1Xcw/riFnKz+uQOOeLCzxFn+vZ3dr3ALI5LPl7xyLLu98uF\nxtM1WMvVwCtxlXpVMtr3zTe8oQ9CgyrvmWho/mzZwpAoftdM5E13dkYlYYY/zbEQ\nZe3z69zmz4DiU9Ycf5tf/H9GQpsdyPBzZSD0YymVrraNnHsHA+tbS9EiwT+mC2FQ\nPOsqI4J4Riz3JWnmvoAGjtsriMjL+Bn8PmaukyIaxNyyqen+Jl8p3tq1rhoKUSH0\nsgBvMkUKDTSjtXfuLb6ZcNoqLJjlrXUEEbgzkoFev7oZ/hohwSt2quTG2tnt7lSV\nYy7OoQoghh19vUeUwd/bbBzTbqqD7rKy0KqzXjvGiYNl/ovml0VHogLPcSWXBiAE\n4/JYV9/yVzbeAkEP3b07YFxziIc4swBxNmNsfr6ieYi3XGFur8ulQ5bt5L03tIeJ\n9P6046RgoFuKdE9u+zPnJ1yulmYClBE1etGcv0KVfWRbAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2022-08-29T11:31:45Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:32815" -time="2022-08-29T11:31:45Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[ut0SRb358PuCCo3Ta2QA9uazF+BanYKAt27xBcesXJikVJVdtj7J+3nNrG6bBhzWg+XYQGPENh0oEQRqEFrSYNht3B9MA4pciC2ZWM0nhZWm5QYgIOsDY8A4eqF6uyOA+1RoNonjSWYfPVkIQ6w7gmu7nYGsYCeySTaviIoDkE8y2+iKQh2U5Y9a+U1sDTgcP7C+ROFO7NtUgnhsPh5ilVtIFfbysaZlRVzZbCLsEQk8ZwEckSERcOKOI6jXHSWxFweyZONBrSVtSkGqzi3C4NqlXJWEUMQ6bLsY0w6xHHCDQ5Q+K6TaooZlzbtXGaCOTZR/zvrBQIcDQD5Jfv7DREgWRttGv94uw2jE1OVAdzPsJ2f5wUijhpgN90CL1mQIoONNNITkrJjAqbvUyeYYkIJz9BN3k38Xt/GQuCFey62XlmuEj8draIlPv2S2ZxnHqzhueYF36zL4F/1w9BII1wDARYodfWDFi3VB3sGELx9D8ZjuLOPyf5RVCtOeTExe]] 0x9c183c0 701 [] false 127.0.0.1:32815 map[] map[] map[] 127.0.0.1:54472 /api/devices/v1/authentication/auth_requests 0x9da4a80}" -time="2022-08-29T11:31:45Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 29 Aug 2022 11:31:45 GMT]] 0x9b38070 3 [] false false map[] 0x991a400 }" -time="2022-08-29T11:31:45Z" level=debug msg="Receive response data" -time="2022-08-29T11:31:45Z" level=debug msg="Received response data: [98 97 114]" -time="2022-08-29T11:31:45Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer bar] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x987a270 52 [] false 127.0.0.1:32815 map[] map[] map[] 127.0.0.1:54472 /api/devices/v1/deployments/device/deployments/next 0x98e66e0}" -time="2022-08-29T11:31:45Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2022-08-29T11:31:45Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer bar] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:32815 map[] map[] map[] 127.0.0.1:54474 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x9b50440}" -time="2022-08-29T11:31:45Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer bar] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:32815 map[] map[] map[] 127.0.0.1:54474 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x9b50440}" -time="2022-08-29T11:31:45Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" -time="2022-08-29T11:31:45Z" level=debug msg="Received response:204 No Content" -time="2022-08-29T11:31:45Z" level=debug msg="No update available" -time="2022-08-29T11:31:45Z" level=debug msg="no updates available" -time="2022-08-29T11:31:45Z" level=debug msg="Returning artifact name from artifact_info file." -time="2022-08-29T11:31:45Z" level=debug msg="Reading data from the device manifest file: artifact_info" -time="2022-08-29T11:31:45Z" level=debug msg="artifact_name=mender-image" -time="2022-08-29T11:31:45Z" level=debug msg="Current manifest data: mender-image" -time="2022-08-29T11:31:45Z" level=debug msg="Reading data from the device manifest file: device_type" -time="2022-08-29T11:31:45Z" level=debug msg="device_type=dev" -time="2022-08-29T11:31:45Z" level=debug msg="Current manifest data: dev" -time="2022-08-29T11:31:45Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer bar] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9b3e4e0 52 [] false 127.0.0.1:32815 map[] map[] map[] 127.0.0.1:54474 /api/devices/v1/deployments/device/deployments/next 0x9b507c0}" -time="2022-08-29T11:31:45Z" level=error msg="bad token, got Bearer bar expected foo" -time="2022-08-29T11:31:45Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2022-08-29T11:31:45Z" level=debug msg="Tenant token: " -time="2022-08-29T11:31:45Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAvNdv3bv1S4WBBYc1qaqf\nd54bsQDBQar+9+bak1Xcw/riFnKz+uQOOeLCzxFn+vZ3dr3ALI5LPl7xyLLu98uF\nxtM1WMvVwCtxlXpVMtr3zTe8oQ9CgyrvmWho/mzZwpAoftdM5E13dkYlYYY/zbEQ\nZe3z69zmz4DiU9Ycf5tf/H9GQpsdyPBzZSD0YymVrraNnHsHA+tbS9EiwT+mC2FQ\nPOsqI4J4Riz3JWnmvoAGjtsriMjL+Bn8PmaukyIaxNyyqen+Jl8p3tq1rhoKUSH0\nsgBvMkUKDTSjtXfuLb6ZcNoqLJjlrXUEEbgzkoFev7oZ/hohwSt2quTG2tnt7lSV\nYy7OoQoghh19vUeUwd/bbBzTbqqD7rKy0KqzXjvGiYNl/ovml0VHogLPcSWXBiAE\n4/JYV9/yVzbeAkEP3b07YFxziIc4swBxNmNsfr6ieYi3XGFur8ulQ5bt5L03tIeJ\n9P6046RgoFuKdE9u+zPnJ1yulmYClBE1etGcv0KVfWRbAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2022-08-29T11:31:45Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:32815" -time="2022-08-29T11:31:45Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[ut0SRb358PuCCo3Ta2QA9uazF+BanYKAt27xBcesXJikVJVdtj7J+3nNrG6bBhzWg+XYQGPENh0oEQRqEFrSYNht3B9MA4pciC2ZWM0nhZWm5QYgIOsDY8A4eqF6uyOA+1RoNonjSWYfPVkIQ6w7gmu7nYGsYCeySTaviIoDkE8y2+iKQh2U5Y9a+U1sDTgcP7C+ROFO7NtUgnhsPh5ilVtIFfbysaZlRVzZbCLsEQk8ZwEckSERcOKOI6jXHSWxFweyZONBrSVtSkGqzi3C4NqlXJWEUMQ6bLsY0w6xHHCDQ5Q+K6TaooZlzbtXGaCOTZR/zvrBQIcDQD5Jfv7DREgWRttGv94uw2jE1OVAdzPsJ2f5wUijhpgN90CL1mQIoONNNITkrJjAqbvUyeYYkIJz9BN3k38Xt/GQuCFey62XlmuEj8draIlPv2S2ZxnHqzhueYF36zL4F/1w9BII1wDARYodfWDFi3VB3sGELx9D8ZjuLOPyf5RVCtOeTExe]] 0x9a1c000 701 [] false 127.0.0.1:32815 map[] map[] map[] 127.0.0.1:54474 /api/devices/v1/authentication/auth_requests 0x9c8c1e0}" -time="2022-08-29T11:31:45Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 29 Aug 2022 11:31:45 GMT]] 0x9932180 3 [] false false map[] 0x9a02080 }" -time="2022-08-29T11:31:45Z" level=debug msg="Receive response data" -time="2022-08-29T11:31:45Z" level=debug msg="Received response data: [102 111 111]" -time="2022-08-29T11:31:45Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9a1c270 52 [] false 127.0.0.1:32815 map[] map[] map[] 127.0.0.1:54474 /api/devices/v1/deployments/device/deployments/next 0x9c8c5e0}" -time="2022-08-29T11:31:45Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2022-08-29T11:31:45Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:32815 map[] map[] map[] 127.0.0.1:54476 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x99d8140}" -time="2022-08-29T11:31:45Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:32815 map[] map[] map[] 127.0.0.1:54476 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x99d8140}" -time="2022-08-29T11:31:45Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" -time="2022-08-29T11:31:45Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2022-08-29T11:31:45Z" level=debug msg="Tenant token: " -time="2022-08-29T11:31:45Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAvNdv3bv1S4WBBYc1qaqf\nd54bsQDBQar+9+bak1Xcw/riFnKz+uQOOeLCzxFn+vZ3dr3ALI5LPl7xyLLu98uF\nxtM1WMvVwCtxlXpVMtr3zTe8oQ9CgyrvmWho/mzZwpAoftdM5E13dkYlYYY/zbEQ\nZe3z69zmz4DiU9Ycf5tf/H9GQpsdyPBzZSD0YymVrraNnHsHA+tbS9EiwT+mC2FQ\nPOsqI4J4Riz3JWnmvoAGjtsriMjL+Bn8PmaukyIaxNyyqen+Jl8p3tq1rhoKUSH0\nsgBvMkUKDTSjtXfuLb6ZcNoqLJjlrXUEEbgzkoFev7oZ/hohwSt2quTG2tnt7lSV\nYy7OoQoghh19vUeUwd/bbBzTbqqD7rKy0KqzXjvGiYNl/ovml0VHogLPcSWXBiAE\n4/JYV9/yVzbeAkEP3b07YFxziIc4swBxNmNsfr6ieYi3XGFur8ulQ5bt5L03tIeJ\n9P6046RgoFuKdE9u+zPnJ1yulmYClBE1etGcv0KVfWRbAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2022-08-29T11:31:45Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:32815" -time="2022-08-29T11:31:45Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[ut0SRb358PuCCo3Ta2QA9uazF+BanYKAt27xBcesXJikVJVdtj7J+3nNrG6bBhzWg+XYQGPENh0oEQRqEFrSYNht3B9MA4pciC2ZWM0nhZWm5QYgIOsDY8A4eqF6uyOA+1RoNonjSWYfPVkIQ6w7gmu7nYGsYCeySTaviIoDkE8y2+iKQh2U5Y9a+U1sDTgcP7C+ROFO7NtUgnhsPh5ilVtIFfbysaZlRVzZbCLsEQk8ZwEckSERcOKOI6jXHSWxFweyZONBrSVtSkGqzi3C4NqlXJWEUMQ6bLsY0w6xHHCDQ5Q+K6TaooZlzbtXGaCOTZR/zvrBQIcDQD5Jfv7DREgWRttGv94uw2jE1OVAdzPsJ2f5wUijhpgN90CL1mQIoONNNITkrJjAqbvUyeYYkIJz9BN3k38Xt/GQuCFey62XlmuEj8draIlPv2S2ZxnHqzhueYF36zL4F/1w9BII1wDARYodfWDFi3VB3sGELx9D8ZjuLOPyf5RVCtOeTExe]] 0x9a1c420 701 [] false 127.0.0.1:32815 map[] map[] map[] 127.0.0.1:54476 /api/devices/v1/authentication/auth_requests 0x9c8cb60}" -time="2022-08-29T11:31:45Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 29 Aug 2022 11:31:45 GMT]] 0x9932580 3 [] false false map[] 0x9a02580 }" -time="2022-08-29T11:31:45Z" level=debug msg="Receive response data" -time="2022-08-29T11:31:45Z" level=debug msg="Received response data: [102 111 111]" -time="2022-08-29T11:31:45Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:32815 map[] map[] map[] 127.0.0.1:54476 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x9c8cf20}" -time="2022-08-29T11:31:45Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:32815 map[] map[] map[] 127.0.0.1:54476 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x9c8cf20}" -time="2022-08-29T11:31:45Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" -time="2022-08-29T11:31:45Z" level=debug msg="Received response:401 Unauthorized" -time="2022-08-29T11:31:45Z" level=warning msg="Client not authorized to get update schedule." -time="2022-08-29T11:31:45Z" level=error msg="Error receiving scheduled update data: (request_id: ): client not authorized server error message: failed to parse server response: EOF" ---- PASS: TestReauthorization (2.64s) +time="2021-07-27T05:22:24Z" level=debug msg="Private key does not exist" +time="2021-07-27T05:22:24Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:24Z" level=debug msg="Needs keys" +time="2021-07-27T05:22:24Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2021-07-27T05:22:25Z" level=debug msg="Tenant token: " +time="2021-07-27T05:22:25Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAyDiXtwKNYQbgssO5nnJs\nCieIuGtADUuD7hvsNEvuDsyHSUs3GQXfcPF8Cdgz/y0fCsZxrUgdIYlTUbnTkAvL\nVzBFNQTMMDZTyRQ8QSVVr8NFMOpHeGHQ+wDhSSUpyqxoIT9fe0sXg0Pb9UA32PJM\nj4OhSpdmc34Lqlfv/gOdsWPq1IZ8RKoF8ITNDgnUK27f/r3GiJk1gQf5LOa2Pkc1\n8Z6QQ/oeAFdv+3HLay5an8UEhnLy3s99mbXsh4fFKdrsp+42ZFo92IS/x0xyMUTK\njk6CBYM0yzpixIOT6BWFw6LU3+upieO4ogY29zc9CbIZEG0m4qqDBBnGBRm6K8eV\nfBgIZT6tk9E5MW8gJlZ7sA23Kh3GYqAb/G5+1I+emrN7ynBsZRF/XQUz2aOUwH+j\nmLP1CkVwdt1y0igtCcasHoi5hpQxOkRdhrDJxeRfM2UlzZuiLRFt5RWdjX4w0cz9\nPQnAW/sGjmnf3LVIj9WdlBzGUU4FrqQhVykcfBAlmj9pAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2021-07-27T05:22:25Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:41099" +time="2021-07-27T05:22:25Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[HfF1GXe2rawB5mZDn/nYnOrowI5hYGMC+r9AnVk6/KWGgEW4Dd28S7VRJuN978JtLVPMXFXngua3JpeltTAg1uZ+Zz9hob/saOg9z7KUxQI3tAqKHjcls58R10NlRWJytM6yDmjwJvq/u8+tPV+KFkRZeIAQO7fLPpkCvErm890UrDbtFe6V3jpQ2Bc3m2TDtnDeyeBy5FnyYRm4nKc1PN/6JRNdm8vGlYvLj6yWtB9Cfy39+C+eF4j7wCMWwwLxY561v90znfYDQGxmYKuI61AagQ0xpdrRUuU2FOsScpcKDqrt8/TScx9294UhZ5drfXpzkY4o9vGhSoVXPIYvGUJXLzXsfH7n1tAjRJYLADObVqfNGs8KxGcqottTsrSFv95Xccz0jELi37Wvu9m6d6bwRjWWDhForf4s73Pydy0kZR+BnAhwRBsR5qVuWtgh2Q9b3/gSrF3jUwgNRPh22EyF/cojxQm6Y437AT4+1Zr3LFOU38oQtK+hBUOjjZ3S]] 0x9eee630 701 [] false 127.0.0.1:41099 map[] map[] map[] 127.0.0.1:56612 /api/devices/v1/authentication/auth_requests 0xa098f40}" +time="2021-07-27T05:22:25Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 27 Jul 2021 05:22:25 GMT]] 0xa11e390 3 [] false false map[] 0x9e82200 }" +time="2021-07-27T05:22:25Z" level=debug msg="Receive response data" +time="2021-07-27T05:22:25Z" level=debug msg="Received response data: [102 111 111]" +time="2021-07-27T05:22:25Z" level=info msg="successfully received new authorization data" +time="2021-07-27T05:22:25Z" level=debug msg="Returning artifact name from artifact_info file." +time="2021-07-27T05:22:25Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2021-07-27T05:22:25Z" level=debug msg="artifact_name=mender-image" +time="2021-07-27T05:22:25Z" level=debug msg="Current manifest data: mender-image" +time="2021-07-27T05:22:25Z" level=debug msg="Reading data from the device manifest file: device_type" +time="2021-07-27T05:22:25Z" level=debug msg="device_type=dev" +time="2021-07-27T05:22:25Z" level=debug msg="Current manifest data: dev" +time="2021-07-27T05:22:25Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9f22030 52 [] false 127.0.0.1:41099 map[] map[] map[] 127.0.0.1:56612 /api/devices/v1/deployments/device/deployments/next 0xa0c6040}" +time="2021-07-27T05:22:25Z" level=error msg="bad token, got Bearer foo expected bar" +time="2021-07-27T05:22:25Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2021-07-27T05:22:25Z" level=debug msg="Tenant token: " +time="2021-07-27T05:22:25Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAyDiXtwKNYQbgssO5nnJs\nCieIuGtADUuD7hvsNEvuDsyHSUs3GQXfcPF8Cdgz/y0fCsZxrUgdIYlTUbnTkAvL\nVzBFNQTMMDZTyRQ8QSVVr8NFMOpHeGHQ+wDhSSUpyqxoIT9fe0sXg0Pb9UA32PJM\nj4OhSpdmc34Lqlfv/gOdsWPq1IZ8RKoF8ITNDgnUK27f/r3GiJk1gQf5LOa2Pkc1\n8Z6QQ/oeAFdv+3HLay5an8UEhnLy3s99mbXsh4fFKdrsp+42ZFo92IS/x0xyMUTK\njk6CBYM0yzpixIOT6BWFw6LU3+upieO4ogY29zc9CbIZEG0m4qqDBBnGBRm6K8eV\nfBgIZT6tk9E5MW8gJlZ7sA23Kh3GYqAb/G5+1I+emrN7ynBsZRF/XQUz2aOUwH+j\nmLP1CkVwdt1y0igtCcasHoi5hpQxOkRdhrDJxeRfM2UlzZuiLRFt5RWdjX4w0cz9\nPQnAW/sGjmnf3LVIj9WdlBzGUU4FrqQhVykcfBAlmj9pAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2021-07-27T05:22:25Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:41099" +time="2021-07-27T05:22:25Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[HfF1GXe2rawB5mZDn/nYnOrowI5hYGMC+r9AnVk6/KWGgEW4Dd28S7VRJuN978JtLVPMXFXngua3JpeltTAg1uZ+Zz9hob/saOg9z7KUxQI3tAqKHjcls58R10NlRWJytM6yDmjwJvq/u8+tPV+KFkRZeIAQO7fLPpkCvErm890UrDbtFe6V3jpQ2Bc3m2TDtnDeyeBy5FnyYRm4nKc1PN/6JRNdm8vGlYvLj6yWtB9Cfy39+C+eF4j7wCMWwwLxY561v90znfYDQGxmYKuI61AagQ0xpdrRUuU2FOsScpcKDqrt8/TScx9294UhZ5drfXpzkY4o9vGhSoVXPIYvGUJXLzXsfH7n1tAjRJYLADObVqfNGs8KxGcqottTsrSFv95Xccz0jELi37Wvu9m6d6bwRjWWDhForf4s73Pydy0kZR+BnAhwRBsR5qVuWtgh2Q9b3/gSrF3jUwgNRPh22EyF/cojxQm6Y437AT4+1Zr3LFOU38oQtK+hBUOjjZ3S]] 0x9c2c060 701 [] false 127.0.0.1:41099 map[] map[] map[] 127.0.0.1:56612 /api/devices/v1/authentication/auth_requests 0x9c18060}" +time="2021-07-27T05:22:25Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 27 Jul 2021 05:22:25 GMT]] 0x9c0e070 3 [] false false map[] 0x9cbe200 }" +time="2021-07-27T05:22:25Z" level=debug msg="Receive response data" +time="2021-07-27T05:22:25Z" level=debug msg="Received response data: [98 97 114]" +time="2021-07-27T05:22:25Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer bar] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9c2c2d0 52 [] false 127.0.0.1:41099 map[] map[] map[] 127.0.0.1:56612 /api/devices/v1/deployments/device/deployments/next 0x9c183a0}" +time="2021-07-27T05:22:25Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2021-07-27T05:22:25Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer bar] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:41099 map[] map[] map[] 127.0.0.1:56614 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x9ee4440}" +time="2021-07-27T05:22:25Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer bar] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:41099 map[] map[] map[] 127.0.0.1:56614 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x9ee4440}" +time="2021-07-27T05:22:25Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" +time="2021-07-27T05:22:25Z" level=debug msg="Received response:204 No Content" +time="2021-07-27T05:22:25Z" level=debug msg="No update available" +time="2021-07-27T05:22:25Z" level=debug msg="no updates available" +time="2021-07-27T05:22:25Z" level=debug msg="Returning artifact name from artifact_info file." +time="2021-07-27T05:22:25Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2021-07-27T05:22:25Z" level=debug msg="artifact_name=mender-image" +time="2021-07-27T05:22:25Z" level=debug msg="Current manifest data: mender-image" +time="2021-07-27T05:22:25Z" level=debug msg="Reading data from the device manifest file: device_type" +time="2021-07-27T05:22:25Z" level=debug msg="device_type=dev" +time="2021-07-27T05:22:25Z" level=debug msg="Current manifest data: dev" +time="2021-07-27T05:22:25Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer bar] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9eee3c0 52 [] false 127.0.0.1:41099 map[] map[] map[] 127.0.0.1:56614 /api/devices/v1/deployments/device/deployments/next 0x9ee4ca0}" +time="2021-07-27T05:22:25Z" level=error msg="bad token, got Bearer bar expected foo" +time="2021-07-27T05:22:25Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2021-07-27T05:22:25Z" level=debug msg="Tenant token: " +time="2021-07-27T05:22:25Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAyDiXtwKNYQbgssO5nnJs\nCieIuGtADUuD7hvsNEvuDsyHSUs3GQXfcPF8Cdgz/y0fCsZxrUgdIYlTUbnTkAvL\nVzBFNQTMMDZTyRQ8QSVVr8NFMOpHeGHQ+wDhSSUpyqxoIT9fe0sXg0Pb9UA32PJM\nj4OhSpdmc34Lqlfv/gOdsWPq1IZ8RKoF8ITNDgnUK27f/r3GiJk1gQf5LOa2Pkc1\n8Z6QQ/oeAFdv+3HLay5an8UEhnLy3s99mbXsh4fFKdrsp+42ZFo92IS/x0xyMUTK\njk6CBYM0yzpixIOT6BWFw6LU3+upieO4ogY29zc9CbIZEG0m4qqDBBnGBRm6K8eV\nfBgIZT6tk9E5MW8gJlZ7sA23Kh3GYqAb/G5+1I+emrN7ynBsZRF/XQUz2aOUwH+j\nmLP1CkVwdt1y0igtCcasHoi5hpQxOkRdhrDJxeRfM2UlzZuiLRFt5RWdjX4w0cz9\nPQnAW/sGjmnf3LVIj9WdlBzGUU4FrqQhVykcfBAlmj9pAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2021-07-27T05:22:25Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:41099" +time="2021-07-27T05:22:25Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[HfF1GXe2rawB5mZDn/nYnOrowI5hYGMC+r9AnVk6/KWGgEW4Dd28S7VRJuN978JtLVPMXFXngua3JpeltTAg1uZ+Zz9hob/saOg9z7KUxQI3tAqKHjcls58R10NlRWJytM6yDmjwJvq/u8+tPV+KFkRZeIAQO7fLPpkCvErm890UrDbtFe6V3jpQ2Bc3m2TDtnDeyeBy5FnyYRm4nKc1PN/6JRNdm8vGlYvLj6yWtB9Cfy39+C+eF4j7wCMWwwLxY561v90znfYDQGxmYKuI61AagQ0xpdrRUuU2FOsScpcKDqrt8/TScx9294UhZ5drfXpzkY4o9vGhSoVXPIYvGUJXLzXsfH7n1tAjRJYLADObVqfNGs8KxGcqottTsrSFv95Xccz0jELi37Wvu9m6d6bwRjWWDhForf4s73Pydy0kZR+BnAhwRBsR5qVuWtgh2Q9b3/gSrF3jUwgNRPh22EyF/cojxQm6Y437AT4+1Zr3LFOU38oQtK+hBUOjjZ3S]] 0xa0dc060 701 [] false 127.0.0.1:41099 map[] map[] map[] 127.0.0.1:56614 /api/devices/v1/authentication/auth_requests 0xa098280}" +time="2021-07-27T05:22:25Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 27 Jul 2021 05:22:25 GMT]] 0xa11e210 3 [] false false map[] 0x9f14200 }" +time="2021-07-27T05:22:25Z" level=debug msg="Receive response data" +time="2021-07-27T05:22:25Z" level=debug msg="Received response data: [102 111 111]" +time="2021-07-27T05:22:25Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9cb2330 52 [] false 127.0.0.1:41099 map[] map[] map[] 127.0.0.1:56614 /api/devices/v1/deployments/device/deployments/next 0xa1288a0}" +time="2021-07-27T05:22:25Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2021-07-27T05:22:25Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:41099 map[] map[] map[] 127.0.0.1:56616 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xa098980}" +time="2021-07-27T05:22:25Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:41099 map[] map[] map[] 127.0.0.1:56616 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xa098980}" +time="2021-07-27T05:22:25Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" +time="2021-07-27T05:22:25Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2021-07-27T05:22:25Z" level=debug msg="Tenant token: " +time="2021-07-27T05:22:25Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAyDiXtwKNYQbgssO5nnJs\nCieIuGtADUuD7hvsNEvuDsyHSUs3GQXfcPF8Cdgz/y0fCsZxrUgdIYlTUbnTkAvL\nVzBFNQTMMDZTyRQ8QSVVr8NFMOpHeGHQ+wDhSSUpyqxoIT9fe0sXg0Pb9UA32PJM\nj4OhSpdmc34Lqlfv/gOdsWPq1IZ8RKoF8ITNDgnUK27f/r3GiJk1gQf5LOa2Pkc1\n8Z6QQ/oeAFdv+3HLay5an8UEhnLy3s99mbXsh4fFKdrsp+42ZFo92IS/x0xyMUTK\njk6CBYM0yzpixIOT6BWFw6LU3+upieO4ogY29zc9CbIZEG0m4qqDBBnGBRm6K8eV\nfBgIZT6tk9E5MW8gJlZ7sA23Kh3GYqAb/G5+1I+emrN7ynBsZRF/XQUz2aOUwH+j\nmLP1CkVwdt1y0igtCcasHoi5hpQxOkRdhrDJxeRfM2UlzZuiLRFt5RWdjX4w0cz9\nPQnAW/sGjmnf3LVIj9WdlBzGUU4FrqQhVykcfBAlmj9pAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2021-07-27T05:22:25Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:41099" +time="2021-07-27T05:22:25Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[HfF1GXe2rawB5mZDn/nYnOrowI5hYGMC+r9AnVk6/KWGgEW4Dd28S7VRJuN978JtLVPMXFXngua3JpeltTAg1uZ+Zz9hob/saOg9z7KUxQI3tAqKHjcls58R10NlRWJytM6yDmjwJvq/u8+tPV+KFkRZeIAQO7fLPpkCvErm890UrDbtFe6V3jpQ2Bc3m2TDtnDeyeBy5FnyYRm4nKc1PN/6JRNdm8vGlYvLj6yWtB9Cfy39+C+eF4j7wCMWwwLxY561v90znfYDQGxmYKuI61AagQ0xpdrRUuU2FOsScpcKDqrt8/TScx9294UhZ5drfXpzkY4o9vGhSoVXPIYvGUJXLzXsfH7n1tAjRJYLADObVqfNGs8KxGcqottTsrSFv95Xccz0jELi37Wvu9m6d6bwRjWWDhForf4s73Pydy0kZR+BnAhwRBsR5qVuWtgh2Q9b3/gSrF3jUwgNRPh22EyF/cojxQm6Y437AT4+1Zr3LFOU38oQtK+hBUOjjZ3S]] 0xa0dc660 701 [] false 127.0.0.1:41099 map[] map[] map[] 127.0.0.1:56616 /api/devices/v1/authentication/auth_requests 0xa098cc0}" +time="2021-07-27T05:22:25Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 27 Jul 2021 05:22:25 GMT]] 0x9caeaa0 3 [] false false map[] 0x9cbe880 }" +time="2021-07-27T05:22:25Z" level=debug msg="Receive response data" +time="2021-07-27T05:22:25Z" level=debug msg="Received response data: [102 111 111]" +time="2021-07-27T05:22:25Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:41099 map[] map[] map[] 127.0.0.1:56616 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xa098e20}" +time="2021-07-27T05:22:25Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:41099 map[] map[] map[] 127.0.0.1:56616 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xa098e20}" +time="2021-07-27T05:22:25Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" +time="2021-07-27T05:22:25Z" level=debug msg="Received response:401 Unauthorized" +time="2021-07-27T05:22:25Z" level=warning msg="Client not authorized to get update schedule." +time="2021-07-27T05:22:25Z" level=error msg="Error receiving scheduled update data: (request_id: ): client not authorized server error message: failed to parse server response: EOF" +--- PASS: TestReauthorization (1.15s) === RUN TestFailoverServers -time="2022-08-29T11:31:45Z" level=debug msg="Private key does not exist" -time="2022-08-29T11:31:45Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:45Z" level=debug msg="Needs keys" -time="2022-08-29T11:31:45Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2022-08-29T11:31:47Z" level=debug msg="Tenant token: " -time="2022-08-29T11:31:47Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAssEKXuGd1v4fZ3B0PyqZ\nu/0/Gz9KRFB1oG9miOHKldatIpMWniYRNl8BRfAcsA4dHbziUFr4oC0bJyF8+2VB\nYOr7rwtzToEPviiWirj9961nSfxxFRW4Mlo6SeqXo0GKuqSV4LAHkSWHLOmSYjfN\nkrt4SBHmFQ3Zls8H5ORX2O4uF5Spxksz5P0q6Ds/jU02UIsQY8aamCfMZtCuWXkS\ndsw6AC7+onqkiAJysCmCraKV0L8f5Jr4nBaTPZCkicV/x/mraE49ry+RHd8x+nGz\nPztFxtv5Ejs97/IhU+2YNzzinDyHgX83qM9hsNReLf5AJXxbGDr6T2pux7WvQoj8\nuCc86fqeCFrIR/N0buKYzYuExEGTsDC/DyYddiPzl5rtRiYi6CxWw5fGKJQsWKHr\nFyIDEBMMtu6FHRSwdoZ4qRNzroDy8bkM2IqamXxHYGAye0Vh+ZJvHmdSccKGE9iF\nTtl8D2P+WuiWGd93JKL1GnN/2HG68y7Zg2oBzTik7tanAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2022-08-29T11:31:47Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:35197" -time="2022-08-29T11:31:47Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[BhMGK1fcEB+gs9Pms1Mh48lualYqo5/l4bi4wlBrFk3YhfBCb9D7lUfXPNvgjQ7IkcngItPLt6Lj5T02oVUlxiiyJGwySG9vAAQPfy2hj5jk/DyOUGp4vy3yGmsbUXoQTpT5PXWgu+55ViNNB8Xfw/jzMJk0fmXNCdTAoNMwKz+4bbr9y3zQ/cTpyClWX2nQ8PnZsNq1Xt7gvp6AYKkD/blPTgT/DrGODACue+xGje7wp4k+VeS0TLVxBLA1UIL2Z2VJUBFwrU3hZdfGq5hBqno8QlG0Tlx3EagKOqmwDN4KkJ9MEJuFjJLRk949IY/lZscZyy+MN8xC6UR7XDw8e57B2Zx5FsdrtbCur502B0OQ4pT7F2pP4wIEf6e33q3DcefQO4ZsLTYAlT5D08A0b64Ntb9NypS/wYxtc4/z0ECrgzLn+CkvBtUbqRKtDH/gM0wPfUh+mtsoh9XEVYd4Ihex8/dPBnu4GHg6ZFH1o1dM+jbnX/nHJtgGWgEbEtU4]] 0x9a8a300 701 [] false 127.0.0.1:35197 map[] map[] map[] 127.0.0.1:57542 /api/devices/v1/authentication/auth_requests 0x99d8680}" -time="2022-08-29T11:31:47Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 29 Aug 2022 11:31:47 GMT]] 0x9932960 0 [] false false map[] 0x9ba2080 }" -time="2022-08-29T11:31:47Z" level=warning msg="Failed to authorize \"http://127.0.0.1:35197\"; attempting \"http://127.0.0.1:40937\"." -time="2022-08-29T11:31:47Z" level=debug msg="Tenant token: " -time="2022-08-29T11:31:47Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAssEKXuGd1v4fZ3B0PyqZ\nu/0/Gz9KRFB1oG9miOHKldatIpMWniYRNl8BRfAcsA4dHbziUFr4oC0bJyF8+2VB\nYOr7rwtzToEPviiWirj9961nSfxxFRW4Mlo6SeqXo0GKuqSV4LAHkSWHLOmSYjfN\nkrt4SBHmFQ3Zls8H5ORX2O4uF5Spxksz5P0q6Ds/jU02UIsQY8aamCfMZtCuWXkS\ndsw6AC7+onqkiAJysCmCraKV0L8f5Jr4nBaTPZCkicV/x/mraE49ry+RHd8x+nGz\nPztFxtv5Ejs97/IhU+2YNzzinDyHgX83qM9hsNReLf5AJXxbGDr6T2pux7WvQoj8\nuCc86fqeCFrIR/N0buKYzYuExEGTsDC/DyYddiPzl5rtRiYi6CxWw5fGKJQsWKHr\nFyIDEBMMtu6FHRSwdoZ4qRNzroDy8bkM2IqamXxHYGAye0Vh+ZJvHmdSccKGE9iF\nTtl8D2P+WuiWGd93JKL1GnN/2HG68y7Zg2oBzTik7tanAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2022-08-29T11:31:47Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40937" -time="2022-08-29T11:31:47Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[BhMGK1fcEB+gs9Pms1Mh48lualYqo5/l4bi4wlBrFk3YhfBCb9D7lUfXPNvgjQ7IkcngItPLt6Lj5T02oVUlxiiyJGwySG9vAAQPfy2hj5jk/DyOUGp4vy3yGmsbUXoQTpT5PXWgu+55ViNNB8Xfw/jzMJk0fmXNCdTAoNMwKz+4bbr9y3zQ/cTpyClWX2nQ8PnZsNq1Xt7gvp6AYKkD/blPTgT/DrGODACue+xGje7wp4k+VeS0TLVxBLA1UIL2Z2VJUBFwrU3hZdfGq5hBqno8QlG0Tlx3EagKOqmwDN4KkJ9MEJuFjJLRk949IY/lZscZyy+MN8xC6UR7XDw8e57B2Zx5FsdrtbCur502B0OQ4pT7F2pP4wIEf6e33q3DcefQO4ZsLTYAlT5D08A0b64Ntb9NypS/wYxtc4/z0ECrgzLn+CkvBtUbqRKtDH/gM0wPfUh+mtsoh9XEVYd4Ihex8/dPBnu4GHg6ZFH1o1dM+jbnX/nHJtgGWgEbEtU4]] 0x9a8a480 701 [] false 127.0.0.1:40937 map[] map[] map[] 127.0.0.1:46232 /api/devices/v1/authentication/auth_requests 0x99d8920}" -time="2022-08-29T11:31:47Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 29 Aug 2022 11:31:47 GMT]] 0x9932b50 3 [] false false map[] 0x9a02a00 }" -time="2022-08-29T11:31:47Z" level=debug msg="Receive response data" -time="2022-08-29T11:31:47Z" level=debug msg="Received response data: [106 119 116]" -time="2022-08-29T11:31:47Z" level=info msg="successfully received new authorization data" -time="2022-08-29T11:31:47Z" level=debug msg="Returning artifact name from artifact_info file." -time="2022-08-29T11:31:47Z" level=debug msg="Reading data from the device manifest file: artifact_info" -time="2022-08-29T11:31:47Z" level=debug msg="artifact_name=mender-image" -time="2022-08-29T11:31:47Z" level=debug msg="Current manifest data: mender-image" -time="2022-08-29T11:31:47Z" level=debug msg="Reading data from the device manifest file: device_type" -time="2022-08-29T11:31:47Z" level=debug msg="device_type=dev" -time="2022-08-29T11:31:47Z" level=debug msg="Current manifest data: dev" -time="2022-08-29T11:31:47Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9a8a5d0 52 [] false 127.0.0.1:35197 map[] map[] map[] 127.0.0.1:57542 /api/devices/v1/deployments/device/deployments/next 0x99d8a80}" -time="2022-08-29T11:31:47Z" level=warning msg="Server \"http://127.0.0.1:35197\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:40937\"" -time="2022-08-29T11:31:47Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9b8e0c0 52 [] false 127.0.0.1:40937 map[] map[] map[] 127.0.0.1:46234 /api/devices/v1/deployments/device/deployments/next 0x9db0620}" -time="2022-08-29T11:31:47Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2022-08-29T11:31:47Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:35197 map[] map[] map[] 127.0.0.1:57548 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x9db0860}" -time="2022-08-29T11:31:47Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:35197 map[] map[] map[] 127.0.0.1:57548 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x9db0860}" -time="2022-08-29T11:31:47Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" -2022/08/29 11:31:47 http: panic serving 127.0.0.1:57548: runtime error: invalid memory address or nil pointer dereference -goroutine 277 [running]: -net/http.(*conn).serve.func1(0x9d18120) +time="2021-07-27T05:22:25Z" level=debug msg="Private key does not exist" +time="2021-07-27T05:22:25Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:25Z" level=debug msg="Needs keys" +time="2021-07-27T05:22:25Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2021-07-27T05:22:26Z" level=debug msg="Tenant token: " +time="2021-07-27T05:22:26Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAqfCuDhwVD+bFbi/nJtyh\nKN4lhpTp0o7wmmd0xtO3gIU5+rU904jchK/e3A8KCdWBmEamesseANp5pZozKxRP\nBdnavd2hXdIjYuktMSmoVzsNlTh9BUu7DRHPd9GUk96eWhpJf0X3TaKMLFJJ4LpY\npk8W+ecaWP83AbHOmSYO2W2NZaHFltC6BpcNd1YwRyl2B5t0lMT8GLn99sTt9nEo\nmYvgBhoTsqsqzGMhLvNDV2VnKfw8rNo3suA4DO1dMFv/0fKKsJ27xLsTy1RyZ6vW\nKdxpelrih1EnHBsmkZER311SfYRulCyZ7kOqjIcag27EaWR4WMV+pCz9LbjxQGYu\nSrXcXpWVhrxyW7zJZ0qwy22bRQ+zPCZJelPFkUu0iPU87NWg3UaYOEFmEEczcVOs\nA1o/BIhnuG6WfeRdkUj+IFOXFuUDgMqR1+kvup23tz9RUlyqTaq43BjsczeHKBa3\nDh8/SYz/FxwNoAxa0aEgSM3z+EkoqGvO05FpPwQbetvLAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2021-07-27T05:22:26Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:34793" +time="2021-07-27T05:22:26Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[e1AEB6eIWrsOYD7vRX67jAwwl2Nxg1lmSgbLNPqifZvrCwlWe/2hVpOw7iotPeq/R/Yn0JEyH9vSnXGzNvZ1vvOOmfRRrK3lqr1ER94oYJ544IfZWHsyB5JG2B/OuIT+WcgYluMqwA/uzHbW/wsUX1Ighn8ZPGfv3CFBfzpetBdUlGRXRCiXIXDN7bx1a7zbAhbtnoBakfKo02S5iVt3Cfzm/mBmbXWe7FGLtrje10/Sg2EY6aelBqyp/YQMsHrQeu/RTS5q9r3iHttKG7hx8WpeEzqMMkBFAacR1TUy2yMde4fYEygAPYqPiaaPU3goYfOgiIG/UnnuGHyYJlWG7ms/qbpswUh97+R/9jwDn9RwpYq+hP9sf/wK8qa7oITa4tgoidsYW90m0X/MODaPEvLqRlDrfr8tP+MI4KMrvZ4dR3hiegC8x09wAhCbLYl8Y3wjEUEH2dnKseh3xrX275v1+KOvCnLo5t2iwaEus4E/1prntbPmVLOKNWOx+mg4]] 0x9f22030 701 [] false 127.0.0.1:34793 map[] map[] map[] 127.0.0.1:55746 /api/devices/v1/authentication/auth_requests 0x9fea240}" +time="2021-07-27T05:22:26Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Tue, 27 Jul 2021 05:22:26 GMT]] 0x9caec60 0 [] false false map[] 0x9cbea80 }" +time="2021-07-27T05:22:26Z" level=warning msg="Failed to authorize \"http://127.0.0.1:34793\"; attempting \"http://127.0.0.1:45213\"." +time="2021-07-27T05:22:26Z" level=debug msg="Tenant token: " +time="2021-07-27T05:22:26Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAqfCuDhwVD+bFbi/nJtyh\nKN4lhpTp0o7wmmd0xtO3gIU5+rU904jchK/e3A8KCdWBmEamesseANp5pZozKxRP\nBdnavd2hXdIjYuktMSmoVzsNlTh9BUu7DRHPd9GUk96eWhpJf0X3TaKMLFJJ4LpY\npk8W+ecaWP83AbHOmSYO2W2NZaHFltC6BpcNd1YwRyl2B5t0lMT8GLn99sTt9nEo\nmYvgBhoTsqsqzGMhLvNDV2VnKfw8rNo3suA4DO1dMFv/0fKKsJ27xLsTy1RyZ6vW\nKdxpelrih1EnHBsmkZER311SfYRulCyZ7kOqjIcag27EaWR4WMV+pCz9LbjxQGYu\nSrXcXpWVhrxyW7zJZ0qwy22bRQ+zPCZJelPFkUu0iPU87NWg3UaYOEFmEEczcVOs\nA1o/BIhnuG6WfeRdkUj+IFOXFuUDgMqR1+kvup23tz9RUlyqTaq43BjsczeHKBa3\nDh8/SYz/FxwNoAxa0aEgSM3z+EkoqGvO05FpPwQbetvLAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2021-07-27T05:22:26Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:45213" +time="2021-07-27T05:22:26Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[e1AEB6eIWrsOYD7vRX67jAwwl2Nxg1lmSgbLNPqifZvrCwlWe/2hVpOw7iotPeq/R/Yn0JEyH9vSnXGzNvZ1vvOOmfRRrK3lqr1ER94oYJ544IfZWHsyB5JG2B/OuIT+WcgYluMqwA/uzHbW/wsUX1Ighn8ZPGfv3CFBfzpetBdUlGRXRCiXIXDN7bx1a7zbAhbtnoBakfKo02S5iVt3Cfzm/mBmbXWe7FGLtrje10/Sg2EY6aelBqyp/YQMsHrQeu/RTS5q9r3iHttKG7hx8WpeEzqMMkBFAacR1TUy2yMde4fYEygAPYqPiaaPU3goYfOgiIG/UnnuGHyYJlWG7ms/qbpswUh97+R/9jwDn9RwpYq+hP9sf/wK8qa7oITa4tgoidsYW90m0X/MODaPEvLqRlDrfr8tP+MI4KMrvZ4dR3hiegC8x09wAhCbLYl8Y3wjEUEH2dnKseh3xrX275v1+KOvCnLo5t2iwaEus4E/1prntbPmVLOKNWOx+mg4]] 0x9eee810 701 [] false 127.0.0.1:45213 map[] map[] map[] 127.0.0.1:45524 /api/devices/v1/authentication/auth_requests 0x9ee5be0}" +time="2021-07-27T05:22:26Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 27 Jul 2021 05:22:26 GMT]] 0x9caee50 3 [] false false map[] 0x9fc4180 }" +time="2021-07-27T05:22:26Z" level=debug msg="Receive response data" +time="2021-07-27T05:22:26Z" level=debug msg="Received response data: [106 119 116]" +time="2021-07-27T05:22:26Z" level=info msg="successfully received new authorization data" +time="2021-07-27T05:22:26Z" level=debug msg="Returning artifact name from artifact_info file." +time="2021-07-27T05:22:26Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2021-07-27T05:22:26Z" level=debug msg="artifact_name=mender-image" +time="2021-07-27T05:22:26Z" level=debug msg="Current manifest data: mender-image" +time="2021-07-27T05:22:26Z" level=debug msg="Reading data from the device manifest file: device_type" +time="2021-07-27T05:22:26Z" level=debug msg="device_type=dev" +time="2021-07-27T05:22:26Z" level=debug msg="Current manifest data: dev" +time="2021-07-27T05:22:26Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9f22180 52 [] false 127.0.0.1:34793 map[] map[] map[] 127.0.0.1:55746 /api/devices/v1/deployments/device/deployments/next 0x9fea6a0}" +time="2021-07-27T05:22:26Z" level=warning msg="Server \"http://127.0.0.1:34793\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:45213\"" +time="2021-07-27T05:22:26Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x9eeeba0 52 [] false 127.0.0.1:45213 map[] map[] map[] 127.0.0.1:45526 /api/devices/v1/deployments/device/deployments/next 0xa0c6620}" +time="2021-07-27T05:22:26Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2021-07-27T05:22:26Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:34793 map[] map[] map[] 127.0.0.1:55752 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x9c187e0}" +time="2021-07-27T05:22:26Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:34793 map[] map[] map[] 127.0.0.1:55752 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x9c187e0}" +time="2021-07-27T05:22:26Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" +2021/07/27 05:22:26 http: panic serving 127.0.0.1:55752: runtime error: invalid memory address or nil pointer dereference +goroutine 254 [running]: +net/http.(*conn).serve.func1(0x9cd1440) /usr/lib/go-1.15/src/net/http/server.go:1801 +0xed panic(0x844e000, 0x873df90) /usr/lib/go-1.15/src/runtime/panic.go:975 +0x408 -github.com/mendersoftware/mender/client/test.(*ClientTestServer).updateReq(0x99100d0, 0x853cfe0, 0x9bae1e0, 0x9ba2300) +github.com/mendersoftware/mender/client/test.(*ClientTestServer).updateReq(0x9eec1a0, 0x853cfe0, 0x9e861e0, 0x9cbf080) /build/mender-client-2.4.1/obj-i686-linux-gnu/src/github.com/mendersoftware/mender/client/test/server.go:385 +0x2c6 -net/http.HandlerFunc.ServeHTTP(0x9930a88, 0x853cfe0, 0x9bae1e0, 0x9ba2300) +net/http.HandlerFunc.ServeHTTP(0x9eea9c0, 0x853cfe0, 0x9e861e0, 0x9cbf080) /usr/lib/go-1.15/src/net/http/server.go:2042 +0x34 -net/http.(*ServeMux).ServeHTTP(0x9a1ca50, 0x853cfe0, 0x9bae1e0, 0x9ba2300) +net/http.(*ServeMux).ServeHTTP(0xa0dcb10, 0x853cfe0, 0x9e861e0, 0x9cbf080) /usr/lib/go-1.15/src/net/http/server.go:2417 +0x158 -net/http.serverHandler.ServeHTTP(0x9da81b0, 0x853cfe0, 0x9bae1e0, 0x9ba2300) +net/http.serverHandler.ServeHTTP(0xa08c3f0, 0x853cfe0, 0x9e861e0, 0x9cbf080) /usr/lib/go-1.15/src/net/http/server.go:2843 +0x7f -net/http.(*conn).serve(0x9d18120, 0x853d600, 0x9db07a0) +net/http.(*conn).serve(0x9cd1440, 0x853d600, 0xa0c67c0) /usr/lib/go-1.15/src/net/http/server.go:1925 +0x7b8 created by net/http.(*Server).Serve /usr/lib/go-1.15/src/net/http/server.go:2969 +0x2b9 -time="2022-08-29T11:31:47Z" level=warning msg="Server \"http://127.0.0.1:35197\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:40937\"" -time="2022-08-29T11:31:47Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:40937 map[] map[] map[] 127.0.0.1:46238 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x98e6c80}" -time="2022-08-29T11:31:47Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:40937 map[] map[] map[] 127.0.0.1:46238 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x98e6c80}" -time="2022-08-29T11:31:47Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" -time="2022-08-29T11:31:47Z" level=debug msg="Received response:200 OK" -time="2022-08-29T11:31:47Z" level=debug msg="Have update available" -time="2022-08-29T11:31:47Z" level=info msg="Correct request for getting image from: http://127.0.0.1:40937/download [name: foo; devices: [vexpress]]" -time="2022-08-29T11:31:47Z" level=debug msg="Received update response: {{{http://127.0.0.1:40937/download } [vexpress] [] foo map[]} foo [] 0 false}" ---- PASS: TestFailoverServers (2.68s) +time="2021-07-27T05:22:26Z" level=warning msg="Server \"http://127.0.0.1:34793\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:45213\"" +time="2021-07-27T05:22:26Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:45213 map[] map[] map[] 127.0.0.1:45530 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x9c9cd80}" +time="2021-07-27T05:22:26Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:45213 map[] map[] map[] 127.0.0.1:45530 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x9c9cd80}" +time="2021-07-27T05:22:26Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" +time="2021-07-27T05:22:26Z" level=debug msg="Received response:200 OK" +time="2021-07-27T05:22:26Z" level=debug msg="Have update available" +time="2021-07-27T05:22:26Z" level=info msg="Correct request for getting image from: http://127.0.0.1:45213/download [name: foo; devices: [vexpress]]" +time="2021-07-27T05:22:26Z" level=debug msg="Received update response: {{{http://127.0.0.1:45213/download } [vexpress] [] foo map[]} foo [] 0 false}" +--- PASS: TestFailoverServers (0.66s) === RUN TestMutualTLSClientConnection mender_test.go:1115: Error Trace: mender_test.go:1115 Error: Received unexpected error: open ../client/test/server.crt: no such file or directory Test: TestMutualTLSClientConnection ---- FAIL: TestMutualTLSClientConnection (0.00s) +--- FAIL: TestMutualTLSClientConnection (0.02s) === RUN Test_doManualUpdate_noParams_fail -time="2022-08-29T11:31:47Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:47Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:47Z" level=info msg="Start updating from local image file: []" -time="2022-08-29T11:31:47Z" level=debug msg="Fetching update from file results: [], 0, Not able to open image file: : open : no such file or directory\n" ---- PASS: Test_doManualUpdate_noParams_fail (0.00s) +time="2021-07-27T05:22:26Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:26Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:26Z" level=info msg="Start updating from local image file: []" +time="2021-07-27T05:22:26Z" level=debug msg="Fetching update from file results: [], 0, Not able to open image file: : open : no such file or directory\n" +--- PASS: Test_doManualUpdate_noParams_fail (0.04s) === RUN Test_doManualUpdate_invalidHttpsClientConfig_updateFails -time="2022-08-29T11:31:47Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:47Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:47Z" level=info msg="Performing remote update from: [https://update]." -time="2022-08-29T11:31:47Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (non-existing). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2022-08-29T11:31:47Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" -time="2022-08-29T11:31:47Z" level=debug msg="Client initialized. Start downloading image." -time="2022-08-29T11:31:47Z" level=error msg="Can not fetch update image: Get \"https://update\": dial tcp: lookup update on [::1]:53: read udp [::1]:50141->[::1]:53: read: connection refused" -time="2022-08-29T11:31:47Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"https://update\": dial tcp: lookup update on [::1]:53: read udp [::1]:50141->[::1]:53: read: connection refused]" ---- PASS: Test_doManualUpdate_invalidHttpsClientConfig_updateFails (0.11s) +time="2021-07-27T05:22:26Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:26Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:26Z" level=info msg="Performing remote update from: [https://update]." +time="2021-07-27T05:22:26Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (non-existing). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2021-07-27T05:22:26Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" +time="2021-07-27T05:22:26Z" level=debug msg="Client initialized. Start downloading image." +time="2021-07-27T05:22:26Z" level=error msg="Can not fetch update image: Get \"https://update\": dial tcp: lookup update on [::1]:53: read udp [::1]:52420->[::1]:53: read: connection refused" +time="2021-07-27T05:22:26Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"https://update\": dial tcp: lookup update on [::1]:53: read udp [::1]:52420->[::1]:53: read: connection refused]" +--- PASS: Test_doManualUpdate_invalidHttpsClientConfig_updateFails (0.33s) === RUN Test_doManualUpdate_nonExistingFile_fail -time="2022-08-29T11:31:47Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:47Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:47Z" level=info msg="Start updating from local image file: [non-existing]" -time="2022-08-29T11:31:47Z" level=debug msg="Fetching update from file results: [], 0, Not able to open image file: non-existing: open non-existing: no such file or directory\n" +time="2021-07-27T05:22:26Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:26Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:26Z" level=info msg="Start updating from local image file: [non-existing]" +time="2021-07-27T05:22:26Z" level=debug msg="Fetching update from file results: [], 0, Not able to open image file: non-existing: open non-existing: no such file or directory\n" --- PASS: Test_doManualUpdate_nonExistingFile_fail (0.00s) === RUN Test_doManualUpdate_networkUpdateNoClient_fail -time="2022-08-29T11:31:47Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:47Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:47Z" level=info msg="Performing remote update from: [http://non-existing]." -time="2022-08-29T11:31:47Z" level=debug msg="Client initialized. Start downloading image." -time="2022-08-29T11:31:47Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:38769->[::1]:53: read: connection refused" -time="2022-08-29T11:31:47Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:38769->[::1]:53: read: connection refused]" +time="2021-07-27T05:22:26Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:26Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:26Z" level=info msg="Performing remote update from: [http://non-existing]." +time="2021-07-27T05:22:26Z" level=debug msg="Client initialized. Start downloading image." +time="2021-07-27T05:22:26Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:48179->[::1]:53: read: connection refused" +time="2021-07-27T05:22:26Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:48179->[::1]:53: read: connection refused]" --- PASS: Test_doManualUpdate_networkUpdateNoClient_fail (0.00s) === RUN Test_doManualUpdate_networkClientExistsNoServer_fail -time="2022-08-29T11:31:47Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:47Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:47Z" level=info msg="Performing remote update from: [http://non-existing]." -time="2022-08-29T11:31:48Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2022-08-29T11:31:48Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" -time="2022-08-29T11:31:48Z" level=debug msg="Client initialized. Start downloading image." -time="2022-08-29T11:31:48Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:53779->[::1]:53: read: connection refused" -time="2022-08-29T11:31:48Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:53779->[::1]:53: read: connection refused]" ---- PASS: Test_doManualUpdate_networkClientExistsNoServer_fail (0.08s) +time="2021-07-27T05:22:26Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:26Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:26Z" level=info msg="Performing remote update from: [http://non-existing]." +time="2021-07-27T05:22:27Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2021-07-27T05:22:27Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" +time="2021-07-27T05:22:27Z" level=debug msg="Client initialized. Start downloading image." +time="2021-07-27T05:22:27Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:35795->[::1]:53: read: connection refused" +time="2021-07-27T05:22:27Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:35795->[::1]:53: read: connection refused]" +--- PASS: Test_doManualUpdate_networkClientExistsNoServer_fail (0.16s) === RUN Test_doManualUpdate_existingFile_updateSuccess -time="2022-08-29T11:31:48Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:48Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:48Z" level=info msg="Start updating from local image file: [/tmp/update293045418]" -time="2022-08-29T11:31:48Z" level=debug msg="Fetching update from file results: [&{0x98ea200}], 5120, " +time="2021-07-27T05:22:27Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:27Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:27Z" level=info msg="Start updating from local image file: [/tmp/update187969287]" +time="2021-07-27T05:22:27Z" level=debug msg="Fetching update from file results: [&{0x9ef6280}], 5120, " Installing Artifact of size 5120... -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/027063763" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:48Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2022-08-29T11:31:48Z" level=debug msg="Checking if device [] is on compatible device list: [vexpress-qemu]\n" -time="2022-08-29T11:31:48Z" level=error msg="Unknown device_type. Continuing with update" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" +time="2021-07-27T05:22:27Z" level=debug msg="Reading data from the device manifest file: /tmp/714684372" +time="2021-07-27T05:22:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:27Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:27Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2021-07-27T05:22:27Z" level=debug msg="Checking if device [] is on compatible device list: [vexpress-qemu]\n" +time="2021-07-27T05:22:27Z" level=error msg="Unknown device_type. Continuing with update" +time="2021-07-27T05:22:27Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" . 100% 5 KiB -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. ---- PASS: Test_doManualUpdate_existingFile_updateSuccess (0.02s) +--- PASS: Test_doManualUpdate_existingFile_updateSuccess (0.47s) === RUN TestDoManualUpdateArtifactV3Dependencies -time="2022-08-29T11:31:48Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:31:48Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:48Z" level=info msg="Start updating from local image file: [/tmp/update239286079]" -time="2022-08-29T11:31:48Z" level=debug msg="Fetching update from file results: [&{0x9b3c340}], 5120, " +time="2021-07-27T05:22:27Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:22:27Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:27Z" level=info msg="Start updating from local image file: [/tmp/update173271280]" +time="2021-07-27T05:22:27Z" level=debug msg="Fetching update from file results: [&{0x9ef61c0}], 5120, " Installing Artifact of size 5120... -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/039903084" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:48Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2022-08-29T11:31:48Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" -time="2022-08-29T11:31:48Z" level=error msg="Unknown device_type. Continuing with update" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" -time="2022-08-29T11:31:48Z" level=error msg="Artifact dependency \"testKey\" not satisfied by currently installed artifact (testValue != )." -time="2022-08-29T11:31:48Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:48Z" level=info msg="Start updating from local image file: [/tmp/update239286079]" -time="2022-08-29T11:31:48Z" level=debug msg="Fetching update from file results: [&{0x9b3c480}], 5120, " +time="2021-07-27T05:22:27Z" level=debug msg="Reading data from the device manifest file: /tmp/479653585" +time="2021-07-27T05:22:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:27Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:27Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2021-07-27T05:22:27Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" +time="2021-07-27T05:22:27Z" level=error msg="Unknown device_type. Continuing with update" +time="2021-07-27T05:22:27Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" +time="2021-07-27T05:22:27Z" level=error msg="Artifact dependency \"testKey\" not satisfied by currently installed artifact (testValue != )." +time="2021-07-27T05:22:27Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:27Z" level=info msg="Start updating from local image file: [/tmp/update173271280]" +time="2021-07-27T05:22:27Z" level=debug msg="Fetching update from file results: [&{0xa34c1c0}], 5120, " Installing Artifact of size 5120... -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/039903084" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:48Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2022-08-29T11:31:48Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" -time="2022-08-29T11:31:48Z" level=error msg="Unknown device_type. Continuing with update" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" -time="2022-08-29T11:31:48Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([testGroup] != )." -time="2022-08-29T11:31:48Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:48Z" level=info msg="Start updating from local image file: [/tmp/update239286079]" -time="2022-08-29T11:31:48Z" level=debug msg="Fetching update from file results: [&{0x9b3c980}], 5120, " +time="2021-07-27T05:22:27Z" level=debug msg="Reading data from the device manifest file: /tmp/479653585" +time="2021-07-27T05:22:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:27Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:27Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2021-07-27T05:22:27Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" +time="2021-07-27T05:22:27Z" level=error msg="Unknown device_type. Continuing with update" +time="2021-07-27T05:22:27Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" +time="2021-07-27T05:22:27Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([testGroup] != )." +time="2021-07-27T05:22:27Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:27Z" level=info msg="Start updating from local image file: [/tmp/update173271280]" +time="2021-07-27T05:22:27Z" level=debug msg="Fetching update from file results: [&{0xa34c880}], 5120, " Installing Artifact of size 5120... -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/039903084" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:48Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2022-08-29T11:31:48Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" -time="2022-08-29T11:31:48Z" level=error msg="Unknown device_type. Continuing with update" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" -time="2022-08-29T11:31:48Z" level=error msg="Artifact dependency \"testKey\" not satisfied by currently installed artifact (testValue != )." -time="2022-08-29T11:31:48Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:48Z" level=info msg="Start updating from local image file: [/tmp/update239286079]" -time="2022-08-29T11:31:48Z" level=debug msg="Fetching update from file results: [&{0x9b3cf00}], 5120, " +time="2021-07-27T05:22:27Z" level=debug msg="Reading data from the device manifest file: /tmp/479653585" +time="2021-07-27T05:22:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:27Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:27Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2021-07-27T05:22:27Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" +time="2021-07-27T05:22:27Z" level=error msg="Unknown device_type. Continuing with update" +time="2021-07-27T05:22:27Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" +time="2021-07-27T05:22:27Z" level=error msg="Artifact dependency \"testKey\" not satisfied by currently installed artifact (testValue != )." +time="2021-07-27T05:22:27Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:27Z" level=info msg="Start updating from local image file: [/tmp/update173271280]" +time="2021-07-27T05:22:27Z" level=debug msg="Fetching update from file results: [&{0x9ef62c0}], 5120, " Installing Artifact of size 5120... -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/039903084" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:48Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2022-08-29T11:31:48Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" -time="2022-08-29T11:31:48Z" level=error msg="Unknown device_type. Continuing with update" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" +time="2021-07-27T05:22:27Z" level=debug msg="Reading data from the device manifest file: /tmp/479653585" +time="2021-07-27T05:22:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:27Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:27Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2021-07-27T05:22:27Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" +time="2021-07-27T05:22:27Z" level=error msg="Unknown device_type. Continuing with update" +time="2021-07-27T05:22:27Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" . 100% 5 KiB -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. ---- PASS: TestDoManualUpdateArtifactV3Dependencies (0.05s) +--- PASS: TestDoManualUpdateArtifactV3Dependencies (0.24s) === RUN TestStandaloneModuleInstall === RUN TestStandaloneModuleInstall/Normal_install,_no_rollback -time="2022-08-29T11:31:48Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:48Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall363353033/artifact.mender]" -time="2022-08-29T11:31:48Z" level=debug msg="Fetching update from file results: [&{0x9a1a240}], 5632, " +time="2021-07-27T05:22:28Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:28Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall812502434/artifact.mender]" +time="2021-07-27T05:22:28Z" level=debug msg="Fetching update from file results: [&{0xa34c180}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall363353033/device_type" -time="2022-08-29T11:31:48Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:48Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:48Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:48Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall363353033/artifact_info file." -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall363353033/artifact_info" -time="2022-08-29T11:31:48Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:48Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall363353033/artifact_info" -time="2022-08-29T11:31:48Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall363353033/device_type" -time="2022-08-29T11:31:48Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:48Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall363353033/modules/test-type Download /tmp/TestStandaloneModuleInstall363353033/work/payloads/0000/tree" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall812502434/device_type" +time="2021-07-27T05:22:28Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:28Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:28Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:28Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:28Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:28Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:28Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall812502434/artifact_info file." +time="2021-07-27T05:22:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall812502434/artifact_info" +time="2021-07-27T05:22:28Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:28Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall812502434/artifact_info" +time="2021-07-27T05:22:28Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall812502434/device_type" +time="2021-07-27T05:22:28Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:28Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:28Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall812502434/modules/test-type Download /tmp/TestStandaloneModuleInstall812502434/work/payloads/0000/tree" +time="2021-07-27T05:22:28Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall363353033/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall363353033/work/payloads/0000/tree" -time="2022-08-29T11:31:48Z" level=debug msg="Update module output: No" -time="2022-08-29T11:31:48Z" level=debug msg="Module does not support rollback" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2022-08-29T11:31:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall363353033/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall363353033/work/payloads/0000/tree" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2022-08-29T11:31:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall363353033/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall363353033/work/payloads/0000/tree" -time="2022-08-29T11:31:48Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:48Z" level=debug msg="Module needs custom reboot" +time="2021-07-27T05:22:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:28Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:28Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall812502434/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall812502434/work/payloads/0000/tree" +time="2021-07-27T05:22:28Z" level=debug msg="Update module output: No" +time="2021-07-27T05:22:28Z" level=debug msg="Module does not support rollback" +time="2021-07-27T05:22:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:28Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:28Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2021-07-27T05:22:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall812502434/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall812502434/work/payloads/0000/tree" +time="2021-07-27T05:22:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:28Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:28Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2021-07-27T05:22:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall812502434/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall812502434/work/payloads/0000/tree" +time="2021-07-27T05:22:28Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:28Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2022-08-29T11:31:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall363353033/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall363353033/work/payloads/0000/tree" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall363353033/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall363353033/work/payloads/0000/tree" +time="2021-07-27T05:22:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:28Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:28Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2021-07-27T05:22:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall812502434/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall812502434/work/payloads/0000/tree" +time="2021-07-27T05:22:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:28Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:28Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall812502434/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall812502434/work/payloads/0000/tree" At least one payload requested a reboot of the device it updated. -time="2022-08-29T11:31:48Z" level=debug msg="Returning artifact name artifact-name from database." +time="2021-07-27T05:22:28Z" level=debug msg="Returning artifact name artifact-name from database." === RUN TestStandaloneModuleInstall/Normal_install -time="2022-08-29T11:31:48Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:48Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall264358630/artifact.mender]" -time="2022-08-29T11:31:48Z" level=debug msg="Fetching update from file results: [&{0x9dde600}], 5632, " +time="2021-07-27T05:22:28Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:28Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall065768499/artifact.mender]" +time="2021-07-27T05:22:28Z" level=debug msg="Fetching update from file results: [&{0x9fd21c0}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall264358630/device_type" -time="2022-08-29T11:31:48Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:48Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:48Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:48Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall264358630/artifact_info file." -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall264358630/artifact_info" -time="2022-08-29T11:31:48Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:48Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall264358630/artifact_info" -time="2022-08-29T11:31:48Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall264358630/device_type" -time="2022-08-29T11:31:48Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:48Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall264358630/modules/test-type Download /tmp/TestStandaloneModuleInstall264358630/work/payloads/0000/tree" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall065768499/device_type" +time="2021-07-27T05:22:28Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:28Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:28Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:28Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:28Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:28Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:28Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall065768499/artifact_info file." +time="2021-07-27T05:22:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall065768499/artifact_info" +time="2021-07-27T05:22:28Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:28Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall065768499/artifact_info" +time="2021-07-27T05:22:28Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall065768499/device_type" +time="2021-07-27T05:22:28Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:28Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:28Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall065768499/modules/test-type Download /tmp/TestStandaloneModuleInstall065768499/work/payloads/0000/tree" +time="2021-07-27T05:22:28Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall264358630/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall264358630/work/payloads/0000/tree" -time="2022-08-29T11:31:48Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:48Z" level=debug msg="Module supports rollback" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2022-08-29T11:31:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall264358630/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall264358630/work/payloads/0000/tree" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2022-08-29T11:31:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall264358630/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall264358630/work/payloads/0000/tree" -time="2022-08-29T11:31:48Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:48Z" level=debug msg="Module needs custom reboot" +time="2021-07-27T05:22:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:28Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:28Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall065768499/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall065768499/work/payloads/0000/tree" +time="2021-07-27T05:22:28Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:28Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:28Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:28Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2021-07-27T05:22:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall065768499/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall065768499/work/payloads/0000/tree" +time="2021-07-27T05:22:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:28Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:28Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2021-07-27T05:22:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall065768499/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall065768499/work/payloads/0000/tree" +time="2021-07-27T05:22:28Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:28Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. -time="2022-08-29T11:31:48Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall264358630/artifact_info file." -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall264358630/artifact_info" -time="2022-08-29T11:31:48Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:48Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:28Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall065768499/artifact_info file." +time="2021-07-27T05:22:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall065768499/artifact_info" +time="2021-07-27T05:22:28Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:28Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Normal_commit -time="2022-08-29T11:31:48Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:48Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall229340359/artifact.mender]" -time="2022-08-29T11:31:48Z" level=debug msg="Fetching update from file results: [&{0x98ea440}], 5632, " +time="2021-07-27T05:22:28Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:28Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall619351704/artifact.mender]" +time="2021-07-27T05:22:28Z" level=debug msg="Fetching update from file results: [&{0xa34c2c0}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall229340359/device_type" -time="2022-08-29T11:31:48Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:48Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:48Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:48Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall229340359/artifact_info file." -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall229340359/artifact_info" -time="2022-08-29T11:31:48Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:48Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall229340359/artifact_info" -time="2022-08-29T11:31:48Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall229340359/device_type" -time="2022-08-29T11:31:48Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:48Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall229340359/modules/test-type Download /tmp/TestStandaloneModuleInstall229340359/work/payloads/0000/tree" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall619351704/device_type" +time="2021-07-27T05:22:28Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:28Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:28Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:28Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:28Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:29Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:29Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall619351704/artifact_info file." +time="2021-07-27T05:22:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall619351704/artifact_info" +time="2021-07-27T05:22:29Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:29Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall619351704/artifact_info" +time="2021-07-27T05:22:29Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall619351704/device_type" +time="2021-07-27T05:22:29Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:29Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:29Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall619351704/modules/test-type Download /tmp/TestStandaloneModuleInstall619351704/work/payloads/0000/tree" +time="2021-07-27T05:22:29Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall229340359/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall229340359/work/payloads/0000/tree" -time="2022-08-29T11:31:48Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:48Z" level=debug msg="Module supports rollback" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2022-08-29T11:31:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall229340359/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall229340359/work/payloads/0000/tree" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2022-08-29T11:31:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall229340359/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall229340359/work/payloads/0000/tree" -time="2022-08-29T11:31:48Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:48Z" level=debug msg="Module needs custom reboot" +time="2021-07-27T05:22:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:29Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:29Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall619351704/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall619351704/work/payloads/0000/tree" +time="2021-07-27T05:22:29Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:29Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:29Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:29Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2021-07-27T05:22:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall619351704/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall619351704/work/payloads/0000/tree" +time="2021-07-27T05:22:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:29Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:29Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2021-07-27T05:22:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall619351704/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall619351704/work/payloads/0000/tree" +time="2021-07-27T05:22:29Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:29Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Committing Artifact... -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2022-08-29T11:31:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall229340359/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall229340359/work/payloads/0000/tree" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall229340359/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall229340359/work/payloads/0000/tree" -time="2022-08-29T11:31:48Z" level=debug msg="Returning artifact name artifact-name from database." +time="2021-07-27T05:22:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:29Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:29Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2021-07-27T05:22:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall619351704/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall619351704/work/payloads/0000/tree" +time="2021-07-27T05:22:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:29Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:29Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall619351704/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall619351704/work/payloads/0000/tree" +time="2021-07-27T05:22:29Z" level=debug msg="Returning artifact name artifact-name from database." === RUN TestStandaloneModuleInstall/Normal_rollback -time="2022-08-29T11:31:48Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:48Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall718601404/artifact.mender]" -time="2022-08-29T11:31:48Z" level=debug msg="Fetching update from file results: [&{0x9a1a1c0}], 5632, " +time="2021-07-27T05:22:29Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:29Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall154920289/artifact.mender]" +time="2021-07-27T05:22:29Z" level=debug msg="Fetching update from file results: [&{0x9ca4180}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall718601404/device_type" -time="2022-08-29T11:31:48Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:48Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:48Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:48Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall718601404/artifact_info file." -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall718601404/artifact_info" -time="2022-08-29T11:31:48Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:48Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall718601404/artifact_info" -time="2022-08-29T11:31:48Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall718601404/device_type" -time="2022-08-29T11:31:48Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:48Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall718601404/modules/test-type Download /tmp/TestStandaloneModuleInstall718601404/work/payloads/0000/tree" -time="2022-08-29T11:31:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall154920289/device_type" +time="2021-07-27T05:22:29Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:29Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:29Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:29Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:29Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:29Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:29Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall154920289/artifact_info file." +time="2021-07-27T05:22:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall154920289/artifact_info" +time="2021-07-27T05:22:29Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:29Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall154920289/artifact_info" +time="2021-07-27T05:22:29Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall154920289/device_type" +time="2021-07-27T05:22:29Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:29Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:29Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:29Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall154920289/modules/test-type Download /tmp/TestStandaloneModuleInstall154920289/work/payloads/0000/tree" +time="2021-07-27T05:22:29Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:48Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall718601404/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall718601404/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:49Z" level=debug msg="Module supports rollback" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall718601404/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall718601404/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall718601404/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall718601404/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:49Z" level=debug msg="Module needs custom reboot" +time="2021-07-27T05:22:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:29Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:29Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall154920289/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall154920289/work/payloads/0000/tree" +time="2021-07-27T05:22:29Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:29Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:29Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:29Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2021-07-27T05:22:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall154920289/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall154920289/work/payloads/0000/tree" +time="2021-07-27T05:22:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:29Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:29Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2021-07-27T05:22:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall154920289/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall154920289/work/payloads/0000/tree" +time="2021-07-27T05:22:29Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:29Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall718601404/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall718601404/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:49Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:29Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall154920289/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall154920289/work/payloads/0000/tree" +time="2021-07-27T05:22:29Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:29Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall718601404/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall718601404/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall718601404/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall718601404/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall718601404/artifact_info file." -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall718601404/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:29Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:29Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2021-07-27T05:22:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall154920289/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall154920289/work/payloads/0000/tree" +time="2021-07-27T05:22:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:29Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:29Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall154920289/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall154920289/work/payloads/0000/tree" +time="2021-07-27T05:22:29Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall154920289/artifact_info file." +time="2021-07-27T05:22:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall154920289/artifact_info" +time="2021-07-27T05:22:29Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:29Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download_Enter_00 -time="2022-08-29T11:31:49Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:49Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall805950549/artifact.mender]" -time="2022-08-29T11:31:49Z" level=debug msg="Fetching update from file results: [&{0x9da6480}], 5632, " +time="2021-07-27T05:22:29Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:29Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall078477406/artifact.mender]" +time="2021-07-27T05:22:29Z" level=debug msg="Fetching update from file results: [&{0x9df61c0}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall805950549/device_type" -time="2022-08-29T11:31:49Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:49Z" level=error msg="Download_Enter script failed: statescript: error executing 'Download_Enter_00': 1 : exit status 1" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: Download_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall805950549/artifact_info file." -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall805950549/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall078477406/device_type" +time="2021-07-27T05:22:29Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:29Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:29Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:29Z" level=error msg="Download_Enter script failed: statescript: error executing 'Download_Enter_00': 1 : exit status 1" +time="2021-07-27T05:22:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:29Z" level=debug msg="Executing script: Download_Error_00" +time="2021-07-27T05:22:30Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall078477406/artifact_info file." +time="2021-07-27T05:22:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall078477406/artifact_info" +time="2021-07-27T05:22:30Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:30Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download -time="2022-08-29T11:31:49Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:49Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall131034722/artifact.mender]" -time="2022-08-29T11:31:49Z" level=debug msg="Fetching update from file results: [&{0x9ad61c0}], 5632, " +time="2021-07-27T05:22:30Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:30Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall027687327/artifact.mender]" +time="2021-07-27T05:22:30Z" level=debug msg="Fetching update from file results: [&{0x9fd2840}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall131034722/device_type" -time="2022-08-29T11:31:49Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:49Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:49Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall131034722/artifact_info file." -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall131034722/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall131034722/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall131034722/device_type" -time="2022-08-29T11:31:49Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall131034722/modules/test-type Download /tmp/TestStandaloneModuleInstall131034722/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" -time="2022-08-29T11:31:49Z" level=error msg="Download failed: Update module terminated abnormally: exit status 1" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: Download_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall131034722/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall131034722/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall131034722/artifact_info file." -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall131034722/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall027687327/device_type" +time="2021-07-27T05:22:30Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:30Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:30Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:30Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:30Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:30Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:30Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall027687327/artifact_info file." +time="2021-07-27T05:22:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall027687327/artifact_info" +time="2021-07-27T05:22:30Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:30Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall027687327/artifact_info" +time="2021-07-27T05:22:30Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall027687327/device_type" +time="2021-07-27T05:22:30Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:30Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:30Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:30Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall027687327/modules/test-type Download /tmp/TestStandaloneModuleInstall027687327/work/payloads/0000/tree" +time="2021-07-27T05:22:30Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:30Z" level=error msg="Download failed: Update module terminated abnormally: exit status 1" +time="2021-07-27T05:22:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:30Z" level=debug msg="Executing script: Download_Error_00" +time="2021-07-27T05:22:30Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall027687327/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall027687327/work/payloads/0000/tree" +time="2021-07-27T05:22:30Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall027687327/artifact_info file." +time="2021-07-27T05:22:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall027687327/artifact_info" +time="2021-07-27T05:22:30Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:30Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download_Leave_00 -time="2022-08-29T11:31:49Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:49Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall646683123/artifact.mender]" -time="2022-08-29T11:31:49Z" level=debug msg="Fetching update from file results: [&{0x98ea340}], 5632, " +time="2021-07-27T05:22:31Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:31Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall274292852/artifact.mender]" +time="2021-07-27T05:22:31Z" level=debug msg="Fetching update from file results: [&{0xa16a180}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall646683123/device_type" -time="2022-08-29T11:31:49Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:49Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:49Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall646683123/artifact_info file." -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall646683123/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall646683123/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall646683123/device_type" -time="2022-08-29T11:31:49Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall646683123/modules/test-type Download /tmp/TestStandaloneModuleInstall646683123/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall274292852/device_type" +time="2021-07-27T05:22:31Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:31Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:31Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:31Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:31Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:31Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall274292852/artifact_info file." +time="2021-07-27T05:22:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall274292852/artifact_info" +time="2021-07-27T05:22:31Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:31Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall274292852/artifact_info" +time="2021-07-27T05:22:31Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall274292852/device_type" +time="2021-07-27T05:22:31Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:31Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall274292852/modules/test-type Download /tmp/TestStandaloneModuleInstall274292852/work/payloads/0000/tree" +time="2021-07-27T05:22:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:49Z" level=error msg="Download_Leave script failed: statescript: error executing 'Download_Leave_00': 1 : exit status 1" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: Download_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall646683123/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall646683123/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall646683123/artifact_info file." -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall646683123/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:31Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:31Z" level=error msg="Download_Leave script failed: statescript: error executing 'Download_Leave_00': 1 : exit status 1" +time="2021-07-27T05:22:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:31Z" level=debug msg="Executing script: Download_Error_00" +time="2021-07-27T05:22:31Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall274292852/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall274292852/work/payloads/0000/tree" +time="2021-07-27T05:22:31Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall274292852/artifact_info file." +time="2021-07-27T05:22:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall274292852/artifact_info" +time="2021-07-27T05:22:31Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:31Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Enter_00 -time="2022-08-29T11:31:49Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:49Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall716728664/artifact.mender]" -time="2022-08-29T11:31:49Z" level=debug msg="Fetching update from file results: [&{0x99d62c0}], 5632, " +time="2021-07-27T05:22:31Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:31Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall237879917/artifact.mender]" +time="2021-07-27T05:22:31Z" level=debug msg="Fetching update from file results: [&{0x9d1e340}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall716728664/device_type" -time="2022-08-29T11:31:49Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:49Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:49Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall716728664/artifact_info file." -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall716728664/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall716728664/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall716728664/device_type" -time="2022-08-29T11:31:49Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall716728664/modules/test-type Download /tmp/TestStandaloneModuleInstall716728664/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall237879917/device_type" +time="2021-07-27T05:22:31Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:31Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:31Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:31Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:31Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:31Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:31Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall237879917/artifact_info file." +time="2021-07-27T05:22:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall237879917/artifact_info" +time="2021-07-27T05:22:31Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:31Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall237879917/artifact_info" +time="2021-07-27T05:22:31Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall237879917/device_type" +time="2021-07-27T05:22:31Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:31Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall237879917/modules/test-type Download /tmp/TestStandaloneModuleInstall237879917/work/payloads/0000/tree" +time="2021-07-27T05:22:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall716728664/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall716728664/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:49Z" level=debug msg="Module supports rollback" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:49Z" level=error msg="ArtifactInstall_Enter script failed: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall716728664/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall716728664/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:49Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:31Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall237879917/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall237879917/work/payloads/0000/tree" +time="2021-07-27T05:22:31Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:31Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:31Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:31Z" level=error msg="ArtifactInstall_Enter script failed: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" +time="2021-07-27T05:22:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:31Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall237879917/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall237879917/work/payloads/0000/tree" +time="2021-07-27T05:22:31Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:31Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall716728664/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall716728664/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall716728664/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall716728664/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall716728664/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall716728664/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall716728664/artifact_info file." -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall716728664/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:31Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:31Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2021-07-27T05:22:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall237879917/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall237879917/work/payloads/0000/tree" +time="2021-07-27T05:22:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:31Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:31Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2021-07-27T05:22:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall237879917/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall237879917/work/payloads/0000/tree" +time="2021-07-27T05:22:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:31Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall237879917/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall237879917/work/payloads/0000/tree" +time="2021-07-27T05:22:31Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall237879917/artifact_info file." +time="2021-07-27T05:22:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall237879917/artifact_info" +time="2021-07-27T05:22:31Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:31Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall -time="2022-08-29T11:31:49Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:49Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall817397537/artifact.mender]" -time="2022-08-29T11:31:49Z" level=debug msg="Fetching update from file results: [&{0x9bf01c0}], 5632, " +time="2021-07-27T05:22:31Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:31Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall738896474/artifact.mender]" +time="2021-07-27T05:22:31Z" level=debug msg="Fetching update from file results: [&{0x9edc200}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall817397537/device_type" -time="2022-08-29T11:31:49Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:49Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:49Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall817397537/artifact_info file." -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall817397537/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall817397537/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall817397537/device_type" -time="2022-08-29T11:31:49Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall817397537/modules/test-type Download /tmp/TestStandaloneModuleInstall817397537/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall738896474/device_type" +time="2021-07-27T05:22:31Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:31Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:31Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:31Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:31Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:31Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:31Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall738896474/artifact_info file." +time="2021-07-27T05:22:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall738896474/artifact_info" +time="2021-07-27T05:22:31Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:31Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall738896474/artifact_info" +time="2021-07-27T05:22:31Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall738896474/device_type" +time="2021-07-27T05:22:31Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:31Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:31Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall738896474/modules/test-type Download /tmp/TestStandaloneModuleInstall738896474/work/payloads/0000/tree" +time="2021-07-27T05:22:32Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall817397537/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall817397537/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:49Z" level=debug msg="Module supports rollback" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall817397537/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall817397537/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2022-08-29T11:31:49Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall817397537/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall817397537/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:49Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:32Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall738896474/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall738896474/work/payloads/0000/tree" +time="2021-07-27T05:22:32Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:32Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:32Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:32Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2021-07-27T05:22:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall738896474/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall738896474/work/payloads/0000/tree" +time="2021-07-27T05:22:32Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2021-07-27T05:22:32Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" +time="2021-07-27T05:22:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:32Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall738896474/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall738896474/work/payloads/0000/tree" +time="2021-07-27T05:22:32Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:32Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall817397537/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall817397537/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall817397537/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall817397537/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall817397537/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall817397537/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall817397537/artifact_info file." -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall817397537/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:32Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:32Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2021-07-27T05:22:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall738896474/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall738896474/work/payloads/0000/tree" +time="2021-07-27T05:22:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:32Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:32Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2021-07-27T05:22:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall738896474/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall738896474/work/payloads/0000/tree" +time="2021-07-27T05:22:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:32Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:32Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall738896474/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall738896474/work/payloads/0000/tree" +time="2021-07-27T05:22:32Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall738896474/artifact_info file." +time="2021-07-27T05:22:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall738896474/artifact_info" +time="2021-07-27T05:22:32Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:32Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Leave_00 -time="2022-08-29T11:31:49Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:49Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall290798878/artifact.mender]" -time="2022-08-29T11:31:49Z" level=debug msg="Fetching update from file results: [&{0x99d6300}], 5632, " +time="2021-07-27T05:22:32Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:32Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall166230347/artifact.mender]" +time="2021-07-27T05:22:32Z" level=debug msg="Fetching update from file results: [&{0x9fd2180}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall290798878/device_type" -time="2022-08-29T11:31:49Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:49Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:49Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall290798878/artifact_info file." -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall290798878/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall290798878/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall290798878/device_type" -time="2022-08-29T11:31:49Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall290798878/modules/test-type Download /tmp/TestStandaloneModuleInstall290798878/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall166230347/device_type" +time="2021-07-27T05:22:32Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:32Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:32Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:32Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:33Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:33Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall166230347/artifact_info file." +time="2021-07-27T05:22:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall166230347/artifact_info" +time="2021-07-27T05:22:33Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:33Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall166230347/artifact_info" +time="2021-07-27T05:22:33Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall166230347/device_type" +time="2021-07-27T05:22:33Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:33Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:33Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall166230347/modules/test-type Download /tmp/TestStandaloneModuleInstall166230347/work/payloads/0000/tree" +time="2021-07-27T05:22:33Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall290798878/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall290798878/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:49Z" level=debug msg="Module supports rollback" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall290798878/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall290798878/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:49Z" level=error msg="ArtifactInstall_Leave script failed: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall290798878/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall290798878/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:49Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:33Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall166230347/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall166230347/work/payloads/0000/tree" +time="2021-07-27T05:22:33Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:33Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:33Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:33Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2021-07-27T05:22:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall166230347/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall166230347/work/payloads/0000/tree" +time="2021-07-27T05:22:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:33Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:33Z" level=error msg="ArtifactInstall_Leave script failed: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" +time="2021-07-27T05:22:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:33Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:33Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall166230347/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall166230347/work/payloads/0000/tree" +time="2021-07-27T05:22:33Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:33Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall290798878/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall290798878/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall290798878/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall290798878/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall290798878/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall290798878/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall290798878/artifact_info file." -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall290798878/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:33Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:33Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2021-07-27T05:22:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall166230347/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall166230347/work/payloads/0000/tree" +time="2021-07-27T05:22:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:33Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:33Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2021-07-27T05:22:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall166230347/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall166230347/work/payloads/0000/tree" +time="2021-07-27T05:22:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:33Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall166230347/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall166230347/work/payloads/0000/tree" +time="2021-07-27T05:22:33Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall166230347/artifact_info file." +time="2021-07-27T05:22:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall166230347/artifact_info" +time="2021-07-27T05:22:33Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:33Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00 -time="2022-08-29T11:31:49Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:49Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall662797151/artifact.mender]" -time="2022-08-29T11:31:49Z" level=debug msg="Fetching update from file results: [&{0x9bf0300}], 5632, " +time="2021-07-27T05:22:33Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:33Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall794388368/artifact.mender]" +time="2021-07-27T05:22:33Z" level=debug msg="Fetching update from file results: [&{0x9df60c0}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall662797151/device_type" -time="2022-08-29T11:31:49Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:49Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:49Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall662797151/artifact_info file." -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall662797151/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall662797151/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall662797151/device_type" -time="2022-08-29T11:31:49Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall662797151/modules/test-type Download /tmp/TestStandaloneModuleInstall662797151/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall794388368/device_type" +time="2021-07-27T05:22:33Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:33Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:33Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:33Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:33Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:33Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:33Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall794388368/artifact_info file." +time="2021-07-27T05:22:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall794388368/artifact_info" +time="2021-07-27T05:22:33Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:33Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall794388368/artifact_info" +time="2021-07-27T05:22:33Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall794388368/device_type" +time="2021-07-27T05:22:33Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:33Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:33Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall794388368/modules/test-type Download /tmp/TestStandaloneModuleInstall794388368/work/payloads/0000/tree" +time="2021-07-27T05:22:33Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall662797151/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall662797151/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:49Z" level=debug msg="Module supports rollback" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall662797151/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall662797151/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall662797151/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall662797151/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:49Z" level=debug msg="Module needs custom reboot" +time="2021-07-27T05:22:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:33Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall794388368/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall794388368/work/payloads/0000/tree" +time="2021-07-27T05:22:33Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:33Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:33Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:33Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2021-07-27T05:22:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall794388368/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall794388368/work/payloads/0000/tree" +time="2021-07-27T05:22:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:33Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2021-07-27T05:22:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall794388368/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall794388368/work/payloads/0000/tree" +time="2021-07-27T05:22:33Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:33Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Committing Artifact... -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:49Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall662797151/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall662797151/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:49Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:33Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:33Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" +time="2021-07-27T05:22:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:33Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:33Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall794388368/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall794388368/work/payloads/0000/tree" +time="2021-07-27T05:22:33Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:33Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall662797151/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall662797151/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall662797151/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall662797151/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall662797151/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall662797151/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall662797151/artifact_info file." -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall662797151/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:33Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:33Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2021-07-27T05:22:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall794388368/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall794388368/work/payloads/0000/tree" +time="2021-07-27T05:22:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:33Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:33Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2021-07-27T05:22:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall794388368/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall794388368/work/payloads/0000/tree" +time="2021-07-27T05:22:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:33Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall794388368/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall794388368/work/payloads/0000/tree" +time="2021-07-27T05:22:33Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall794388368/artifact_info file." +time="2021-07-27T05:22:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall794388368/artifact_info" +time="2021-07-27T05:22:33Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:33Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit -time="2022-08-29T11:31:49Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:49Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall050671924/artifact.mender]" -time="2022-08-29T11:31:49Z" level=debug msg="Fetching update from file results: [&{0x9c82180}], 5632, " +time="2021-07-27T05:22:33Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:33Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall689190329/artifact.mender]" +time="2021-07-27T05:22:33Z" level=debug msg="Fetching update from file results: [&{0xa01e280}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall050671924/device_type" -time="2022-08-29T11:31:49Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:49Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:49Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall050671924/artifact_info file." -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall050671924/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall050671924/artifact_info" -time="2022-08-29T11:31:49Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall050671924/device_type" -time="2022-08-29T11:31:49Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall050671924/modules/test-type Download /tmp/TestStandaloneModuleInstall050671924/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall689190329/device_type" +time="2021-07-27T05:22:33Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:33Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:33Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:33Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:33Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:34Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:34Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall689190329/artifact_info file." +time="2021-07-27T05:22:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall689190329/artifact_info" +time="2021-07-27T05:22:34Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:34Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall689190329/artifact_info" +time="2021-07-27T05:22:34Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall689190329/device_type" +time="2021-07-27T05:22:34Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:34Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:34Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall689190329/modules/test-type Download /tmp/TestStandaloneModuleInstall689190329/work/payloads/0000/tree" +time="2021-07-27T05:22:34Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall050671924/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall050671924/work/payloads/0000/tree" -time="2022-08-29T11:31:49Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:49Z" level=debug msg="Module supports rollback" -time="2022-08-29T11:31:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:49Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2022-08-29T11:31:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall050671924/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall050671924/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall050671924/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall050671924/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:50Z" level=debug msg="Module needs custom reboot" +time="2021-07-27T05:22:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:34Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:34Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall689190329/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall689190329/work/payloads/0000/tree" +time="2021-07-27T05:22:34Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:34Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:34Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:34Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2021-07-27T05:22:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall689190329/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall689190329/work/payloads/0000/tree" +time="2021-07-27T05:22:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:34Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:34Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2021-07-27T05:22:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall689190329/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall689190329/work/payloads/0000/tree" +time="2021-07-27T05:22:34Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:34Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Committing Artifact... -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall050671924/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall050671924/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2022-08-29T11:31:50Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall050671924/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall050671924/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:50Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:34Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:34Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2021-07-27T05:22:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall689190329/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall689190329/work/payloads/0000/tree" +time="2021-07-27T05:22:34Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2021-07-27T05:22:34Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" +time="2021-07-27T05:22:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:34Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:34Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall689190329/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall689190329/work/payloads/0000/tree" +time="2021-07-27T05:22:34Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:34Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall050671924/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall050671924/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall050671924/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall050671924/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall050671924/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall050671924/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall050671924/artifact_info file." -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall050671924/artifact_info" -time="2022-08-29T11:31:50Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:50Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:34Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:34Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2021-07-27T05:22:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall689190329/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall689190329/work/payloads/0000/tree" +time="2021-07-27T05:22:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:34Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:34Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2021-07-27T05:22:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall689190329/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall689190329/work/payloads/0000/tree" +time="2021-07-27T05:22:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:34Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:34Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall689190329/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall689190329/work/payloads/0000/tree" +time="2021-07-27T05:22:34Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall689190329/artifact_info file." +time="2021-07-27T05:22:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall689190329/artifact_info" +time="2021-07-27T05:22:34Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:34Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00 -time="2022-08-29T11:31:50Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:50Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall536336429/artifact.mender]" -time="2022-08-29T11:31:50Z" level=debug msg="Fetching update from file results: [&{0x9a1a340}], 5632, " +time="2021-07-27T05:22:34Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:34Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall381837718/artifact.mender]" +time="2021-07-27T05:22:34Z" level=debug msg="Fetching update from file results: [&{0xa16a100}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall536336429/device_type" -time="2022-08-29T11:31:50Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:50Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:50Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:50Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall536336429/artifact_info file." -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall536336429/artifact_info" -time="2022-08-29T11:31:50Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:50Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall536336429/artifact_info" -time="2022-08-29T11:31:50Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall536336429/device_type" -time="2022-08-29T11:31:50Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:50Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall536336429/modules/test-type Download /tmp/TestStandaloneModuleInstall536336429/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall381837718/device_type" +time="2021-07-27T05:22:34Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:34Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:34Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:34Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:34Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:34Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:34Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall381837718/artifact_info file." +time="2021-07-27T05:22:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall381837718/artifact_info" +time="2021-07-27T05:22:34Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:34Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall381837718/artifact_info" +time="2021-07-27T05:22:34Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall381837718/device_type" +time="2021-07-27T05:22:34Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:34Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:34Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall381837718/modules/test-type Download /tmp/TestStandaloneModuleInstall381837718/work/payloads/0000/tree" +time="2021-07-27T05:22:34Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall536336429/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall536336429/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:50Z" level=debug msg="Module supports rollback" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall536336429/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall536336429/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall536336429/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall536336429/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:50Z" level=debug msg="Module needs custom reboot" +time="2021-07-27T05:22:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:34Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:34Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall381837718/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall381837718/work/payloads/0000/tree" +time="2021-07-27T05:22:34Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:34Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:34Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:34Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2021-07-27T05:22:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall381837718/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall381837718/work/payloads/0000/tree" +time="2021-07-27T05:22:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:34Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:34Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2021-07-27T05:22:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall381837718/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall381837718/work/payloads/0000/tree" +time="2021-07-27T05:22:34Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:34Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Committing Artifact... -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall536336429/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall536336429/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:50Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall536336429/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall536336429/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2021-07-27T05:22:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:34Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:34Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2021-07-27T05:22:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall381837718/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall381837718/work/payloads/0000/tree" +time="2021-07-27T05:22:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:34Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:34Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" +time="2021-07-27T05:22:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:34Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:34Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall381837718/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall381837718/work/payloads/0000/tree" +time="2021-07-27T05:22:34Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00,_no_rollback -time="2022-08-29T11:31:50Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:50Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall662683418/artifact.mender]" -time="2022-08-29T11:31:50Z" level=debug msg="Fetching update from file results: [&{0x99d6180}], 5632, " +time="2021-07-27T05:22:34Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:34Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall568747831/artifact.mender]" +time="2021-07-27T05:22:34Z" level=debug msg="Fetching update from file results: [&{0xa34c300}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall662683418/device_type" -time="2022-08-29T11:31:50Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:50Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:50Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:50Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall662683418/artifact_info file." -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall662683418/artifact_info" -time="2022-08-29T11:31:50Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:50Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall662683418/artifact_info" -time="2022-08-29T11:31:50Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall662683418/device_type" -time="2022-08-29T11:31:50Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:50Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall662683418/modules/test-type Download /tmp/TestStandaloneModuleInstall662683418/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall568747831/device_type" +time="2021-07-27T05:22:34Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:34Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:34Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:34Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:34Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:35Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall568747831/artifact_info file." +time="2021-07-27T05:22:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall568747831/artifact_info" +time="2021-07-27T05:22:35Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:35Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall568747831/artifact_info" +time="2021-07-27T05:22:35Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall568747831/device_type" +time="2021-07-27T05:22:35Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:35Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall568747831/modules/test-type Download /tmp/TestStandaloneModuleInstall568747831/work/payloads/0000/tree" +time="2021-07-27T05:22:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall662683418/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall662683418/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Update module output: No" -time="2022-08-29T11:31:50Z" level=debug msg="Module does not support rollback" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall662683418/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall662683418/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall662683418/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall662683418/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:50Z" level=debug msg="Module needs custom reboot" +time="2021-07-27T05:22:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:35Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall568747831/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall568747831/work/payloads/0000/tree" +time="2021-07-27T05:22:35Z" level=debug msg="Update module output: No" +time="2021-07-27T05:22:35Z" level=debug msg="Module does not support rollback" +time="2021-07-27T05:22:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2021-07-27T05:22:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall568747831/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall568747831/work/payloads/0000/tree" +time="2021-07-27T05:22:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2021-07-27T05:22:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall568747831/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall568747831/work/payloads/0000/tree" +time="2021-07-27T05:22:35Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:35Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:50Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall662683418/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall662683418/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Update module output: No" -time="2022-08-29T11:31:50Z" level=debug msg="Module does not support rollback" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall662683418/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall662683418/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall662683418/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall662683418/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2021-07-27T05:22:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:35Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:35Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" +time="2021-07-27T05:22:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:35Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall568747831/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall568747831/work/payloads/0000/tree" +time="2021-07-27T05:22:35Z" level=debug msg="Update module output: No" +time="2021-07-27T05:22:35Z" level=debug msg="Module does not support rollback" +time="2021-07-27T05:22:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:35Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2021-07-27T05:22:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall568747831/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall568747831/work/payloads/0000/tree" +time="2021-07-27T05:22:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall568747831/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall568747831/work/payloads/0000/tree" +time="2021-07-27T05:22:35Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit,_no_rollback -time="2022-08-29T11:31:50Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:50Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall368765707/artifact.mender]" -time="2022-08-29T11:31:50Z" level=debug msg="Fetching update from file results: [&{0x9bf01c0}], 5632, " +time="2021-07-27T05:22:35Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall952722412/artifact.mender]" +time="2021-07-27T05:22:35Z" level=debug msg="Fetching update from file results: [&{0xa34c200}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall368765707/device_type" -time="2022-08-29T11:31:50Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:50Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:50Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:50Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall368765707/artifact_info file." -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall368765707/artifact_info" -time="2022-08-29T11:31:50Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:50Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall368765707/artifact_info" -time="2022-08-29T11:31:50Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall368765707/device_type" -time="2022-08-29T11:31:50Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:50Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall368765707/modules/test-type Download /tmp/TestStandaloneModuleInstall368765707/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall952722412/device_type" +time="2021-07-27T05:22:35Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:35Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:35Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall952722412/artifact_info file." +time="2021-07-27T05:22:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall952722412/artifact_info" +time="2021-07-27T05:22:35Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:35Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall952722412/artifact_info" +time="2021-07-27T05:22:35Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall952722412/device_type" +time="2021-07-27T05:22:35Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:35Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall952722412/modules/test-type Download /tmp/TestStandaloneModuleInstall952722412/work/payloads/0000/tree" +time="2021-07-27T05:22:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall368765707/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall368765707/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Update module output: No" -time="2022-08-29T11:31:50Z" level=debug msg="Module does not support rollback" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall368765707/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall368765707/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall368765707/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall368765707/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:50Z" level=debug msg="Module needs custom reboot" +time="2021-07-27T05:22:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:35Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall952722412/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall952722412/work/payloads/0000/tree" +time="2021-07-27T05:22:35Z" level=debug msg="Update module output: No" +time="2021-07-27T05:22:35Z" level=debug msg="Module does not support rollback" +time="2021-07-27T05:22:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2021-07-27T05:22:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall952722412/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall952722412/work/payloads/0000/tree" +time="2021-07-27T05:22:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2021-07-27T05:22:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall952722412/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall952722412/work/payloads/0000/tree" +time="2021-07-27T05:22:35Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:35Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall368765707/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall368765707/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2022-08-29T11:31:50Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall368765707/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall368765707/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Update module output: No" -time="2022-08-29T11:31:50Z" level=debug msg="Module does not support rollback" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall368765707/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall368765707/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall368765707/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall368765707/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2021-07-27T05:22:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:35Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:35Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2021-07-27T05:22:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall952722412/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall952722412/work/payloads/0000/tree" +time="2021-07-27T05:22:35Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2021-07-27T05:22:35Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" +time="2021-07-27T05:22:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:35Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall952722412/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall952722412/work/payloads/0000/tree" +time="2021-07-27T05:22:35Z" level=debug msg="Update module output: No" +time="2021-07-27T05:22:35Z" level=debug msg="Module does not support rollback" +time="2021-07-27T05:22:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:35Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2021-07-27T05:22:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall952722412/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall952722412/work/payloads/0000/tree" +time="2021-07-27T05:22:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall952722412/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall952722412/work/payloads/0000/tree" +time="2021-07-27T05:22:35Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00,_no_rollback -time="2022-08-29T11:31:50Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:50Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall113117776/artifact.mender]" -time="2022-08-29T11:31:50Z" level=debug msg="Fetching update from file results: [&{0x9cbc300}], 5632, " +time="2021-07-27T05:22:35Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall485783877/artifact.mender]" +time="2021-07-27T05:22:35Z" level=debug msg="Fetching update from file results: [&{0xa34c1c0}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall113117776/device_type" -time="2022-08-29T11:31:50Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:50Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:50Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:50Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall113117776/artifact_info file." -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall113117776/artifact_info" -time="2022-08-29T11:31:50Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:50Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall113117776/artifact_info" -time="2022-08-29T11:31:50Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall113117776/device_type" -time="2022-08-29T11:31:50Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:50Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall113117776/modules/test-type Download /tmp/TestStandaloneModuleInstall113117776/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall485783877/device_type" +time="2021-07-27T05:22:35Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:35Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:36Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall485783877/artifact_info file." +time="2021-07-27T05:22:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall485783877/artifact_info" +time="2021-07-27T05:22:36Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:36Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall485783877/artifact_info" +time="2021-07-27T05:22:36Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall485783877/device_type" +time="2021-07-27T05:22:36Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:36Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:36Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall485783877/modules/test-type Download /tmp/TestStandaloneModuleInstall485783877/work/payloads/0000/tree" +time="2021-07-27T05:22:36Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall113117776/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall113117776/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Update module output: No" -time="2022-08-29T11:31:50Z" level=debug msg="Module does not support rollback" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall113117776/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall113117776/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall113117776/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall113117776/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:50Z" level=debug msg="Module needs custom reboot" +time="2021-07-27T05:22:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:36Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall485783877/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall485783877/work/payloads/0000/tree" +time="2021-07-27T05:22:36Z" level=debug msg="Update module output: No" +time="2021-07-27T05:22:36Z" level=debug msg="Module does not support rollback" +time="2021-07-27T05:22:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:36Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2021-07-27T05:22:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall485783877/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall485783877/work/payloads/0000/tree" +time="2021-07-27T05:22:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:36Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2021-07-27T05:22:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall485783877/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall485783877/work/payloads/0000/tree" +time="2021-07-27T05:22:36Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:36Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall113117776/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall113117776/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:50Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall113117776/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall113117776/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2021-07-27T05:22:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:36Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2021-07-27T05:22:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall485783877/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall485783877/work/payloads/0000/tree" +time="2021-07-27T05:22:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:36Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:36Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" +time="2021-07-27T05:22:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:36Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:36Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall485783877/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall485783877/work/payloads/0000/tree" +time="2021-07-27T05:22:36Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Enter_00 -time="2022-08-29T11:31:50Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:50Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall663641977/artifact.mender]" -time="2022-08-29T11:31:50Z" level=debug msg="Fetching update from file results: [&{0x9b3c400}], 5632, " +time="2021-07-27T05:22:36Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:36Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall792907282/artifact.mender]" +time="2021-07-27T05:22:36Z" level=debug msg="Fetching update from file results: [&{0x9df6300}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall663641977/device_type" -time="2022-08-29T11:31:50Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:50Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:50Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:50Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall663641977/artifact_info file." -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall663641977/artifact_info" -time="2022-08-29T11:31:50Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:50Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall663641977/artifact_info" -time="2022-08-29T11:31:50Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall663641977/device_type" -time="2022-08-29T11:31:50Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:50Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall663641977/modules/test-type Download /tmp/TestStandaloneModuleInstall663641977/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall792907282/device_type" +time="2021-07-27T05:22:36Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:36Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:36Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:36Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:36Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:36Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall792907282/artifact_info file." +time="2021-07-27T05:22:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall792907282/artifact_info" +time="2021-07-27T05:22:36Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:36Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall792907282/artifact_info" +time="2021-07-27T05:22:36Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall792907282/device_type" +time="2021-07-27T05:22:36Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:36Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:36Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall792907282/modules/test-type Download /tmp/TestStandaloneModuleInstall792907282/work/payloads/0000/tree" +time="2021-07-27T05:22:36Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall663641977/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall663641977/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:50Z" level=debug msg="Module supports rollback" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall663641977/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall663641977/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall663641977/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall663641977/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:50Z" level=debug msg="Module needs custom reboot" +time="2021-07-27T05:22:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:36Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall792907282/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall792907282/work/payloads/0000/tree" +time="2021-07-27T05:22:36Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:36Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:36Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2021-07-27T05:22:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall792907282/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall792907282/work/payloads/0000/tree" +time="2021-07-27T05:22:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:36Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2021-07-27T05:22:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall792907282/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall792907282/work/payloads/0000/tree" +time="2021-07-27T05:22:36Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:36Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall663641977/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall663641977/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:50Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall792907282/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall792907282/work/payloads/0000/tree" +time="2021-07-27T05:22:36Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:36Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:50Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall663641977/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall663641977/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:50Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall663641977/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall663641977/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall663641977/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall663641977/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2021-07-27T05:22:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:36Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:36Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" +time="2021-07-27T05:22:36Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2021-07-27T05:22:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall792907282/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall792907282/work/payloads/0000/tree" +time="2021-07-27T05:22:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:36Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:36Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" +time="2021-07-27T05:22:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:36Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2021-07-27T05:22:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall792907282/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall792907282/work/payloads/0000/tree" +time="2021-07-27T05:22:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:36Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall792907282/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall792907282/work/payloads/0000/tree" +time="2021-07-27T05:22:36Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback -time="2022-08-29T11:31:50Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:50Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall474708054/artifact.mender]" -time="2022-08-29T11:31:50Z" level=debug msg="Fetching update from file results: [&{0x9da6500}], 5632, " +time="2021-07-27T05:22:36Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:36Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall933178211/artifact.mender]" +time="2021-07-27T05:22:36Z" level=debug msg="Fetching update from file results: [&{0xa030200}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall474708054/device_type" -time="2022-08-29T11:31:50Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:50Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:50Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:50Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall474708054/artifact_info file." -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall474708054/artifact_info" -time="2022-08-29T11:31:50Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:50Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall474708054/artifact_info" -time="2022-08-29T11:31:50Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall474708054/device_type" -time="2022-08-29T11:31:50Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:50Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall474708054/modules/test-type Download /tmp/TestStandaloneModuleInstall474708054/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall933178211/device_type" +time="2021-07-27T05:22:36Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:36Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:36Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:36Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:36Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:36Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:37Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall933178211/artifact_info file." +time="2021-07-27T05:22:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall933178211/artifact_info" +time="2021-07-27T05:22:37Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:37Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall933178211/artifact_info" +time="2021-07-27T05:22:37Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall933178211/device_type" +time="2021-07-27T05:22:37Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:37Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:37Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:37Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall933178211/modules/test-type Download /tmp/TestStandaloneModuleInstall933178211/work/payloads/0000/tree" +time="2021-07-27T05:22:37Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall474708054/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall474708054/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:50Z" level=debug msg="Module supports rollback" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall474708054/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall474708054/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall474708054/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall474708054/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:50Z" level=debug msg="Module needs custom reboot" +time="2021-07-27T05:22:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:37Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:37Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall933178211/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall933178211/work/payloads/0000/tree" +time="2021-07-27T05:22:37Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:37Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:37Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:37Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2021-07-27T05:22:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall933178211/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall933178211/work/payloads/0000/tree" +time="2021-07-27T05:22:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:37Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:37Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2021-07-27T05:22:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall933178211/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall933178211/work/payloads/0000/tree" +time="2021-07-27T05:22:37Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:37Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall474708054/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall474708054/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:50Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:37Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall933178211/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall933178211/work/payloads/0000/tree" +time="2021-07-27T05:22:37Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:37Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall474708054/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall474708054/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2022-08-29T11:31:50Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:50Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall474708054/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall474708054/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:50Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall474708054/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall474708054/work/payloads/0000/tree" -time="2022-08-29T11:31:50Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2021-07-27T05:22:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:37Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:37Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2021-07-27T05:22:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall933178211/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall933178211/work/payloads/0000/tree" +time="2021-07-27T05:22:37Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2021-07-27T05:22:37Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" +time="2021-07-27T05:22:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:37Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:37Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" +time="2021-07-27T05:22:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:37Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:37Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2021-07-27T05:22:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall933178211/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall933178211/work/payloads/0000/tree" +time="2021-07-27T05:22:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:37Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:37Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall933178211/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall933178211/work/payloads/0000/tree" +time="2021-07-27T05:22:37Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Leave_00 -time="2022-08-29T11:31:51Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:51Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall918117111/artifact.mender]" -time="2022-08-29T11:31:51Z" level=debug msg="Fetching update from file results: [&{0x9a1a200}], 5632, " +time="2021-07-27T05:22:37Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:37Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall592787848/artifact.mender]" +time="2021-07-27T05:22:37Z" level=debug msg="Fetching update from file results: [&{0x9ca4300}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall918117111/device_type" -time="2022-08-29T11:31:51Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:51Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:51Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:51Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall918117111/artifact_info file." -time="2022-08-29T11:31:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall918117111/artifact_info" -time="2022-08-29T11:31:51Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:51Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall918117111/artifact_info" -time="2022-08-29T11:31:51Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall918117111/device_type" -time="2022-08-29T11:31:51Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:51Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall918117111/modules/test-type Download /tmp/TestStandaloneModuleInstall918117111/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall592787848/device_type" +time="2021-07-27T05:22:37Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:37Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:37Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:37Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:37Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:37Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:37Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall592787848/artifact_info file." +time="2021-07-27T05:22:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall592787848/artifact_info" +time="2021-07-27T05:22:37Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:37Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall592787848/artifact_info" +time="2021-07-27T05:22:37Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall592787848/device_type" +time="2021-07-27T05:22:37Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:37Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:37Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:37Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall592787848/modules/test-type Download /tmp/TestStandaloneModuleInstall592787848/work/payloads/0000/tree" +time="2021-07-27T05:22:37Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall918117111/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall918117111/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:51Z" level=debug msg="Module supports rollback" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall918117111/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall918117111/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall918117111/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall918117111/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:51Z" level=debug msg="Module needs custom reboot" +time="2021-07-27T05:22:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:37Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:37Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall592787848/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall592787848/work/payloads/0000/tree" +time="2021-07-27T05:22:37Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:37Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:37Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:37Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2021-07-27T05:22:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall592787848/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall592787848/work/payloads/0000/tree" +time="2021-07-27T05:22:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:37Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:37Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2021-07-27T05:22:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall592787848/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall592787848/work/payloads/0000/tree" +time="2021-07-27T05:22:37Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:37Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall918117111/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall918117111/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:51Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:37Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall592787848/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall592787848/work/payloads/0000/tree" +time="2021-07-27T05:22:37Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:37Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall918117111/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall918117111/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:51Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" -time="2022-08-29T11:31:51Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall918117111/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall918117111/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall918117111/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall918117111/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2021-07-27T05:22:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:37Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:37Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2021-07-27T05:22:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall592787848/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall592787848/work/payloads/0000/tree" +time="2021-07-27T05:22:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:38Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:38Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" +time="2021-07-27T05:22:38Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" +time="2021-07-27T05:22:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:38Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:38Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2021-07-27T05:22:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall592787848/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall592787848/work/payloads/0000/tree" +time="2021-07-27T05:22:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:38Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:38Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall592787848/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall592787848/work/payloads/0000/tree" +time="2021-07-27T05:22:38Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Enter_00 -time="2022-08-29T11:31:51Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:51Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall621275308/artifact.mender]" -time="2022-08-29T11:31:51Z" level=debug msg="Fetching update from file results: [&{0x9bf0140}], 5632, " +time="2021-07-27T05:22:38Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:38Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall376357649/artifact.mender]" +time="2021-07-27T05:22:38Z" level=debug msg="Fetching update from file results: [&{0xa34c2c0}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall621275308/device_type" -time="2022-08-29T11:31:51Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:51Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:51Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:51Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall621275308/artifact_info file." -time="2022-08-29T11:31:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall621275308/artifact_info" -time="2022-08-29T11:31:51Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:51Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall621275308/artifact_info" -time="2022-08-29T11:31:51Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall621275308/device_type" -time="2022-08-29T11:31:51Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:51Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall621275308/modules/test-type Download /tmp/TestStandaloneModuleInstall621275308/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall376357649/device_type" +time="2021-07-27T05:22:38Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:38Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:38Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:38Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:38Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:38Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:38Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall376357649/artifact_info file." +time="2021-07-27T05:22:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall376357649/artifact_info" +time="2021-07-27T05:22:38Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:38Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall376357649/artifact_info" +time="2021-07-27T05:22:38Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall376357649/device_type" +time="2021-07-27T05:22:38Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:38Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:38Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall376357649/modules/test-type Download /tmp/TestStandaloneModuleInstall376357649/work/payloads/0000/tree" +time="2021-07-27T05:22:38Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall621275308/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall621275308/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:51Z" level=debug msg="Module supports rollback" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall621275308/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall621275308/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2022-08-29T11:31:51Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall621275308/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall621275308/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:51Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:38Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:38Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall376357649/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall376357649/work/payloads/0000/tree" +time="2021-07-27T05:22:38Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:38Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:38Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:38Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2021-07-27T05:22:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall376357649/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall376357649/work/payloads/0000/tree" +time="2021-07-27T05:22:38Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2021-07-27T05:22:38Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" +time="2021-07-27T05:22:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:38Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:38Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall376357649/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall376357649/work/payloads/0000/tree" +time="2021-07-27T05:22:38Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:38Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:51Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall621275308/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall621275308/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:51Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall621275308/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall621275308/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall621275308/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall621275308/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2021-07-27T05:22:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:38Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:38Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" +time="2021-07-27T05:22:38Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2021-07-27T05:22:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall376357649/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall376357649/work/payloads/0000/tree" +time="2021-07-27T05:22:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:38Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:38Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" +time="2021-07-27T05:22:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:38Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:38Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2021-07-27T05:22:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall376357649/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall376357649/work/payloads/0000/tree" +time="2021-07-27T05:22:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:38Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:38Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall376357649/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall376357649/work/payloads/0000/tree" +time="2021-07-27T05:22:38Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback -time="2022-08-29T11:31:51Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:51Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall068846853/artifact.mender]" -time="2022-08-29T11:31:51Z" level=debug msg="Fetching update from file results: [&{0x9da63c0}], 5632, " +time="2021-07-27T05:22:38Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:38Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall924934094/artifact.mender]" +time="2021-07-27T05:22:38Z" level=debug msg="Fetching update from file results: [&{0x9ef61c0}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall068846853/device_type" -time="2022-08-29T11:31:51Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:51Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:51Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:51Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall068846853/artifact_info file." -time="2022-08-29T11:31:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall068846853/artifact_info" -time="2022-08-29T11:31:51Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:51Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall068846853/artifact_info" -time="2022-08-29T11:31:51Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall068846853/device_type" -time="2022-08-29T11:31:51Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:51Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall068846853/modules/test-type Download /tmp/TestStandaloneModuleInstall068846853/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall924934094/device_type" +time="2021-07-27T05:22:38Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:38Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:38Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:38Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:38Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:38Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:38Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall924934094/artifact_info file." +time="2021-07-27T05:22:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall924934094/artifact_info" +time="2021-07-27T05:22:38Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:38Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall924934094/artifact_info" +time="2021-07-27T05:22:38Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall924934094/device_type" +time="2021-07-27T05:22:38Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:38Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:39Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:39Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall924934094/modules/test-type Download /tmp/TestStandaloneModuleInstall924934094/work/payloads/0000/tree" +time="2021-07-27T05:22:39Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall068846853/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall068846853/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:51Z" level=debug msg="Module supports rollback" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall068846853/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall068846853/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2022-08-29T11:31:51Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall068846853/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall068846853/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:51Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:39Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall924934094/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall924934094/work/payloads/0000/tree" +time="2021-07-27T05:22:39Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:39Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:39Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:39Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2021-07-27T05:22:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall924934094/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall924934094/work/payloads/0000/tree" +time="2021-07-27T05:22:39Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2021-07-27T05:22:39Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" +time="2021-07-27T05:22:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:39Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall924934094/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall924934094/work/payloads/0000/tree" +time="2021-07-27T05:22:39Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:39Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall068846853/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall068846853/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2022-08-29T11:31:51Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:51Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall068846853/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall068846853/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall068846853/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall068846853/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2021-07-27T05:22:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:39Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:39Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2021-07-27T05:22:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall924934094/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall924934094/work/payloads/0000/tree" +time="2021-07-27T05:22:39Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2021-07-27T05:22:39Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" +time="2021-07-27T05:22:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:39Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:39Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" +time="2021-07-27T05:22:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:39Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2021-07-27T05:22:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall924934094/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall924934094/work/payloads/0000/tree" +time="2021-07-27T05:22:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:39Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:39Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall924934094/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall924934094/work/payloads/0000/tree" +time="2021-07-27T05:22:39Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Leave_00 -time="2022-08-29T11:31:51Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:51Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall090092754/artifact.mender]" -time="2022-08-29T11:31:51Z" level=debug msg="Fetching update from file results: [&{0x9b3c2c0}], 5632, " +time="2021-07-27T05:22:39Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:39Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall964412367/artifact.mender]" +time="2021-07-27T05:22:39Z" level=debug msg="Fetching update from file results: [&{0x9ef6400}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall090092754/device_type" -time="2022-08-29T11:31:51Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:51Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:51Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:51Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall090092754/artifact_info file." -time="2022-08-29T11:31:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall090092754/artifact_info" -time="2022-08-29T11:31:51Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:51Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall090092754/artifact_info" -time="2022-08-29T11:31:51Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall090092754/device_type" -time="2022-08-29T11:31:51Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:51Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall090092754/modules/test-type Download /tmp/TestStandaloneModuleInstall090092754/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall964412367/device_type" +time="2021-07-27T05:22:39Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:39Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:39Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:39Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:39Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:40Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:40Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall964412367/artifact_info file." +time="2021-07-27T05:22:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall964412367/artifact_info" +time="2021-07-27T05:22:40Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:40Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall964412367/artifact_info" +time="2021-07-27T05:22:40Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall964412367/device_type" +time="2021-07-27T05:22:40Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:40Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:40Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall964412367/modules/test-type Download /tmp/TestStandaloneModuleInstall964412367/work/payloads/0000/tree" +time="2021-07-27T05:22:40Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall090092754/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall090092754/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:51Z" level=debug msg="Module supports rollback" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall090092754/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall090092754/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2022-08-29T11:31:51Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall090092754/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall090092754/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:51Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:40Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:40Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall964412367/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall964412367/work/payloads/0000/tree" +time="2021-07-27T05:22:40Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:40Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:40Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:40Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2021-07-27T05:22:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall964412367/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall964412367/work/payloads/0000/tree" +time="2021-07-27T05:22:40Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2021-07-27T05:22:40Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" +time="2021-07-27T05:22:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:40Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:40Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall964412367/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall964412367/work/payloads/0000/tree" +time="2021-07-27T05:22:40Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:40Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall090092754/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall090092754/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:51Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" -time="2022-08-29T11:31:51Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall090092754/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall090092754/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall090092754/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall090092754/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2021-07-27T05:22:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:40Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:40Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2021-07-27T05:22:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall964412367/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall964412367/work/payloads/0000/tree" +time="2021-07-27T05:22:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:40Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:40Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" +time="2021-07-27T05:22:40Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" +time="2021-07-27T05:22:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:40Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2021-07-27T05:22:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall964412367/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall964412367/work/payloads/0000/tree" +time="2021-07-27T05:22:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:40Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:40Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall964412367/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall964412367/work/payloads/0000/tree" +time="2021-07-27T05:22:40Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Hang_in_Download -time="2022-08-29T11:31:51Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:51Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall516731171/artifact.mender]" -time="2022-08-29T11:31:51Z" level=debug msg="Fetching update from file results: [&{0x99d6140}], 5632, " +time="2021-07-27T05:22:40Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:40Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall561653860/artifact.mender]" +time="2021-07-27T05:22:40Z" level=debug msg="Fetching update from file results: [&{0x9ef61c0}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall516731171/device_type" -time="2022-08-29T11:31:51Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:51Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:51Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:51Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:51Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall516731171/artifact_info file." -time="2022-08-29T11:31:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall516731171/artifact_info" -time="2022-08-29T11:31:51Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:51Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall516731171/artifact_info" -time="2022-08-29T11:31:51Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall516731171/device_type" -time="2022-08-29T11:31:51Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:51Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall516731171/modules/test-type Download /tmp/TestStandaloneModuleInstall516731171/work/payloads/0000/tree" -time="2022-08-29T11:31:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" -time="2022-08-29T11:31:56Z" level=error msg="Process 60208 timed out. Sending SIGTERM" -time="2022-08-29T11:31:56Z" level=error msg="Download failed: Update module terminated abnormally: signal: terminated" -time="2022-08-29T11:31:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:56Z" level=debug msg="Executing script: Download_Error_00" -time="2022-08-29T11:31:56Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:31:56Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall516731171/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall516731171/work/payloads/0000/tree" -time="2022-08-29T11:31:56Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall516731171/artifact_info file." -time="2022-08-29T11:31:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall516731171/artifact_info" -time="2022-08-29T11:31:56Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:56Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall561653860/device_type" +time="2021-07-27T05:22:40Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:40Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:40Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:40Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:40Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:40Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:40Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall561653860/artifact_info file." +time="2021-07-27T05:22:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall561653860/artifact_info" +time="2021-07-27T05:22:40Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:40Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall561653860/artifact_info" +time="2021-07-27T05:22:40Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall561653860/device_type" +time="2021-07-27T05:22:40Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:40Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:40Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:40Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall561653860/modules/test-type Download /tmp/TestStandaloneModuleInstall561653860/work/payloads/0000/tree" +time="2021-07-27T05:22:40Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:45Z" level=error msg="Process 2753 timed out. Sending SIGTERM" +time="2021-07-27T05:22:45Z" level=error msg="Download failed: Update module terminated abnormally: signal: terminated" +time="2021-07-27T05:22:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:45Z" level=debug msg="Executing script: Download_Error_00" +time="2021-07-27T05:22:45Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:45Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall561653860/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall561653860/work/payloads/0000/tree" +time="2021-07-27T05:22:45Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall561653860/artifact_info file." +time="2021-07-27T05:22:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall561653860/artifact_info" +time="2021-07-27T05:22:45Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:45Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Hang_in_ArtifactInstall -time="2022-08-29T11:31:56Z" level=debug msg="Starting device update." -time="2022-08-29T11:31:56Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall769027656/artifact.mender]" -time="2022-08-29T11:31:56Z" level=debug msg="Fetching update from file results: [&{0x99d6200}], 5632, " +time="2021-07-27T05:22:45Z" level=debug msg="Starting device update." +time="2021-07-27T05:22:45Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall093534493/artifact.mender]" +time="2021-07-27T05:22:45Z" level=debug msg="Fetching update from file results: [&{0x9ca44c0}], 5632, " Installing Artifact of size 5632... -time="2022-08-29T11:31:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall769027656/device_type" -time="2022-08-29T11:31:56Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:56Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:56Z" level=debug msg="Executing script: Download_Enter_00" -time="2022-08-29T11:31:56Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:31:56Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2022-08-29T11:31:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2022-08-29T11:31:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:31:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2022-08-29T11:31:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2022-08-29T11:31:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2022-08-29T11:31:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2022-08-29T11:31:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2022-08-29T11:31:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:31:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2022-08-29T11:31:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:31:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2022-08-29T11:31:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2022-08-29T11:31:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2022-08-29T11:31:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2022-08-29T11:31:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:31:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2022-08-29T11:31:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2022-08-29T11:31:56Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2022-08-29T11:31:56Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall769027656/artifact_info file." -time="2022-08-29T11:31:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall769027656/artifact_info" -time="2022-08-29T11:31:56Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:56Z" level=debug msg="Current manifest data: old_name" -time="2022-08-29T11:31:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall769027656/artifact_info" -time="2022-08-29T11:31:56Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:31:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall769027656/device_type" -time="2022-08-29T11:31:56Z" level=debug msg="device_type=test-device" -time="2022-08-29T11:31:56Z" level=debug msg="Current manifest data: test-device" -time="2022-08-29T11:31:59Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2022-08-29T11:31:59Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2022-08-29T11:31:59Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall769027656/modules/test-type Download /tmp/TestStandaloneModuleInstall769027656/work/payloads/0000/tree" -time="2022-08-29T11:31:59Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2021-07-27T05:22:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall093534493/device_type" +time="2021-07-27T05:22:45Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:45Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:45Z" level=debug msg="Executing script: Download_Enter_00" +time="2021-07-27T05:22:45Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:45Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2021-07-27T05:22:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2021-07-27T05:22:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2021-07-27T05:22:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2021-07-27T05:22:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2021-07-27T05:22:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2021-07-27T05:22:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2021-07-27T05:22:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2021-07-27T05:22:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2021-07-27T05:22:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2021-07-27T05:22:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2021-07-27T05:22:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2021-07-27T05:22:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2021-07-27T05:22:46Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2021-07-27T05:22:46Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall093534493/artifact_info file." +time="2021-07-27T05:22:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall093534493/artifact_info" +time="2021-07-27T05:22:46Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:46Z" level=debug msg="Current manifest data: old_name" +time="2021-07-27T05:22:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall093534493/artifact_info" +time="2021-07-27T05:22:46Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall093534493/device_type" +time="2021-07-27T05:22:46Z" level=debug msg="device_type=test-device" +time="2021-07-27T05:22:46Z" level=debug msg="Current manifest data: test-device" +time="2021-07-27T05:22:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2021-07-27T05:22:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2021-07-27T05:22:46Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall093534493/modules/test-type Download /tmp/TestStandaloneModuleInstall093534493/work/payloads/0000/tree" +time="2021-07-27T05:22:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2022-08-29T11:31:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:59Z" level=debug msg="Executing script: Download_Leave_00" -time="2022-08-29T11:31:59Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:31:59Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall769027656/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall769027656/work/payloads/0000/tree" -time="2022-08-29T11:31:59Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:31:59Z" level=debug msg="Module supports rollback" -time="2022-08-29T11:31:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:31:59Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2022-08-29T11:31:59Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2022-08-29T11:31:59Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall769027656/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall769027656/work/payloads/0000/tree" -time="2022-08-29T11:32:04Z" level=error msg="Process 60322 timed out. Sending SIGTERM" -time="2022-08-29T11:32:04Z" level=error msg="Update module terminated abnormally: signal: terminated" -time="2022-08-29T11:32:04Z" level=error msg="Installation failed: Update module terminated abnormally: signal: terminated" -time="2022-08-29T11:32:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:32:04Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2022-08-29T11:32:04Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2022-08-29T11:32:04Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall769027656/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall769027656/work/payloads/0000/tree" -time="2022-08-29T11:32:04Z" level=debug msg="Update module output: Yes" -time="2022-08-29T11:32:04Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:46Z" level=debug msg="Executing script: Download_Leave_00" +time="2021-07-27T05:22:46Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:46Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall093534493/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall093534493/work/payloads/0000/tree" +time="2021-07-27T05:22:46Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:46Z" level=debug msg="Module supports rollback" +time="2021-07-27T05:22:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:46Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2021-07-27T05:22:46Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2021-07-27T05:22:46Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall093534493/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall093534493/work/payloads/0000/tree" +time="2021-07-27T05:22:51Z" level=error msg="Process 3293 timed out. Sending SIGTERM" +time="2021-07-27T05:22:51Z" level=error msg="Update module terminated abnormally: signal: terminated" +time="2021-07-27T05:22:51Z" level=error msg="Installation failed: Update module terminated abnormally: signal: terminated" +time="2021-07-27T05:22:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:51Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2021-07-27T05:22:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2021-07-27T05:22:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall093534493/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall093534493/work/payloads/0000/tree" +time="2021-07-27T05:22:51Z" level=debug msg="Update module output: Yes" +time="2021-07-27T05:22:51Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2022-08-29T11:32:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:32:04Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2022-08-29T11:32:04Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2022-08-29T11:32:04Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall769027656/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall769027656/work/payloads/0000/tree" -time="2022-08-29T11:32:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:32:04Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2022-08-29T11:32:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:32:04Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2022-08-29T11:32:04Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2022-08-29T11:32:04Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall769027656/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall769027656/work/payloads/0000/tree" -time="2022-08-29T11:32:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:32:04Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2022-08-29T11:32:04Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2022-08-29T11:32:04Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall769027656/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall769027656/work/payloads/0000/tree" -time="2022-08-29T11:32:04Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall769027656/artifact_info file." -time="2022-08-29T11:32:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall769027656/artifact_info" -time="2022-08-29T11:32:04Z" level=debug msg="artifact_name=old_name" -time="2022-08-29T11:32:04Z" level=debug msg="Current manifest data: old_name" ---- PASS: TestStandaloneModuleInstall (16.04s) - --- PASS: TestStandaloneModuleInstall/Normal_install,_no_rollback (0.52s) - --- PASS: TestStandaloneModuleInstall/Normal_install (0.15s) - --- PASS: TestStandaloneModuleInstall/Normal_commit (0.15s) - --- PASS: TestStandaloneModuleInstall/Normal_rollback (0.15s) - --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Enter_00 (0.02s) - --- PASS: TestStandaloneModuleInstall/Fail_in_Download (0.11s) - --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Leave_00 (0.10s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Enter_00 (0.14s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall (0.14s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Leave_00 (0.16s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00 (0.17s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit (0.16s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00 (0.15s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00,_no_rollback (0.15s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit,_no_rollback (0.17s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00,_no_rollback (0.16s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Enter_00 (0.15s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback (0.16s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Leave_00 (0.14s) - --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Enter_00 (0.16s) - --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback (0.15s) - --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Leave_00 (0.15s) - --- PASS: TestStandaloneModuleInstall/Hang_in_Download (5.11s) - --- PASS: TestStandaloneModuleInstall/Hang_in_ArtifactInstall (7.41s) +time="2021-07-27T05:22:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2021-07-27T05:22:51Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2021-07-27T05:22:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall093534493/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall093534493/work/payloads/0000/tree" +time="2021-07-27T05:22:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2021-07-27T05:22:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2021-07-27T05:22:51Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2021-07-27T05:22:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall093534493/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall093534493/work/payloads/0000/tree" +time="2021-07-27T05:22:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:22:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2021-07-27T05:22:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2021-07-27T05:22:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall093534493/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall093534493/work/payloads/0000/tree" +time="2021-07-27T05:22:51Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall093534493/artifact_info file." +time="2021-07-27T05:22:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall093534493/artifact_info" +time="2021-07-27T05:22:51Z" level=debug msg="artifact_name=old_name" +time="2021-07-27T05:22:51Z" level=debug msg="Current manifest data: old_name" +--- PASS: TestStandaloneModuleInstall (23.47s) + --- PASS: TestStandaloneModuleInstall/Normal_install,_no_rollback (0.70s) + --- PASS: TestStandaloneModuleInstall/Normal_install (0.30s) + --- PASS: TestStandaloneModuleInstall/Normal_commit (0.55s) + --- PASS: TestStandaloneModuleInstall/Normal_rollback (0.57s) + --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Enter_00 (0.27s) + --- PASS: TestStandaloneModuleInstall/Fail_in_Download (0.78s) + --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Leave_00 (0.20s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Enter_00 (0.32s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall (1.03s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Leave_00 (0.79s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00 (0.59s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit (0.53s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00 (0.51s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00,_no_rollback (0.33s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit,_no_rollback (0.60s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00,_no_rollback (0.39s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Enter_00 (0.53s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback (0.59s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Leave_00 (0.90s) + --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Enter_00 (0.33s) + --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback (0.73s) + --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Leave_00 (0.93s) + --- PASS: TestStandaloneModuleInstall/Hang_in_Download (5.27s) + --- PASS: TestStandaloneModuleInstall/Hang_in_ArtifactInstall (5.73s) === RUN TestStandaloneStoreAndRestore -time="2022-08-29T11:32:04Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" - standalone_test.go:1053: Running test: {Persist ArtifactName 0x98e7220 []} -time="2022-08-29T11:32:04Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" - standalone_test.go:1053: Running test: {Persist ArtifactName and Artifact Group 0x98e7240 []} -time="2022-08-29T11:32:04Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" - standalone_test.go:1053: Running test: {Persist ArtifactName and Artifact Group and TypeInfo 0x98e7260 []} -time="2022-08-29T11:32:04Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" ---- PASS: TestStandaloneStoreAndRestore (0.01s) +time="2021-07-27T05:22:51Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" + standalone_test.go:1053: Running test: {Persist ArtifactName 0x9feb380 []} +time="2021-07-27T05:22:51Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" + standalone_test.go:1053: Running test: {Persist ArtifactName and Artifact Group 0x9feb3a0 []} +time="2021-07-27T05:22:51Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" + standalone_test.go:1053: Running test: {Persist ArtifactName and Artifact Group and TypeInfo 0x9feb3c0 []} +time="2021-07-27T05:22:51Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +--- PASS: TestStandaloneStoreAndRestore (0.52s) === RUN TestStateBase --- PASS: TestStateBase (0.00s) === RUN TestStateWait -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=info msg="Wait canceled" -time="2022-08-29T11:32:04Z" level=info msg="Forced wake-up from sleep" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:51Z" level=info msg="Wait canceled" +time="2021-07-27T05:22:51Z" level=info msg="Forced wake-up from sleep" --- PASS: TestStateWait (0.10s) === RUN TestStateError -time="2022-08-29T11:32:04Z" level=info msg="Handling error state, current error: transient error: foo" -time="2022-08-29T11:32:04Z" level=info msg="Handling error state, current error: fatal error: general error" +time="2021-07-27T05:22:51Z" level=info msg="Handling error state, current error: transient error: foo" +time="2021-07-27T05:22:51Z" level=info msg="Handling error state, current error: fatal error: general error" --- PASS: TestStateError (0.00s) === RUN TestStateUpdateReportStatus -time="2022-08-29T11:32:04Z" level=info msg="Running Mender client version: unknown" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2022-08-29T11:32:04Z" level=debug msg="Reporting complete" -time="2022-08-29T11:32:04Z" level=info msg="Running Mender client version: unknown" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=debug msg="Reporting complete" -time="2022-08-29T11:32:04Z" level=info msg="Running Mender client version: unknown" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send status to server: transient error: report failed" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2022-08-29T11:32:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2022-08-29T11:32:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2022-08-29T11:32:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2022-08-29T11:32:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2022-08-29T11:32:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2022-08-29T11:32:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2022-08-29T11:32:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2022-08-29T11:32:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2022-08-29T11:32:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2022-08-29T11:32:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2022-08-29T11:32:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send status to server: fatal error: deployment was aborted" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update status report state" -time="2022-08-29T11:32:04Z" level=error msg="Failed to send status to server: fatal error: deployment was aborted" ---- PASS: TestStateUpdateReportStatus (0.03s) +time="2021-07-27T05:22:51Z" level=info msg="Running Mender client version: unknown" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2021-07-27T05:22:51Z" level=debug msg="Reporting complete" +time="2021-07-27T05:22:51Z" level=info msg="Running Mender client version: unknown" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=debug msg="Reporting complete" +time="2021-07-27T05:22:51Z" level=info msg="Running Mender client version: unknown" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send status to server: transient error: report failed" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2021-07-27T05:22:51Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2021-07-27T05:22:51Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2021-07-27T05:22:51Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2021-07-27T05:22:51Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2021-07-27T05:22:51Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2021-07-27T05:22:51Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2021-07-27T05:22:51Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2021-07-27T05:22:51Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2021-07-27T05:22:51Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2021-07-27T05:22:51Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=debug msg="Wait complete" + state_test.go:369: + Error Trace: state_test.go:369 + Error: Max difference between 2021-07-27 05:22:51.915644178 +0000 UTC m=+203.222729423 and 2021-07-27 05:22:51.941700706 +0000 UTC m=+203.248785748 allowed is 25ms, but difference was -26.056325ms + Test: TestStateUpdateReportStatus +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2021-07-27T05:22:51Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send status to server: fatal error: deployment was aborted" +time="2021-07-27T05:22:51Z" level=debug msg="Handling update status report state" +time="2021-07-27T05:22:51Z" level=error msg="Failed to send status to server: fatal error: deployment was aborted" +--- FAIL: TestStateUpdateReportStatus (0.04s) === RUN TestStateIdle --- PASS: TestStateIdle (0.00s) === RUN TestStateAuthorize -time="2022-08-29T11:32:04Z" level=debug msg="Handle authorize state" -time="2022-08-29T11:32:04Z" level=debug msg="Handle authorize state" -time="2022-08-29T11:32:04Z" level=error msg="Authorize failed: transient error: auth fail temp" -time="2022-08-29T11:32:04Z" level=debug msg="Handle authorize state" -time="2022-08-29T11:32:04Z" level=error msg="Authorize failed: fatal error: auth error" +time="2021-07-27T05:22:51Z" level=debug msg="Handle authorize state" +time="2021-07-27T05:22:51Z" level=debug msg="Handle authorize state" +time="2021-07-27T05:22:51Z" level=error msg="Authorize failed: transient error: auth fail temp" +time="2021-07-27T05:22:51Z" level=debug msg="Handle authorize state" +time="2021-07-27T05:22:51Z" level=error msg="Authorize failed: fatal error: auth error" --- PASS: TestStateAuthorize (0.00s) === RUN TestStateUpdateCommit -time="2022-08-29T11:32:04Z" level=info msg="Running Mender client version: unknown" -time="2022-08-29T11:32:04Z" level=debug msg="Handle update commit state" -time="2022-08-29T11:32:04Z" level=debug msg="Committing new artifact name: TestName" -time="2022-08-29T11:32:04Z" level=debug msg="Committing new artifact group name: TestGroup" -time="2022-08-29T11:32:04Z" level=debug msg="Committing new artifact type-info provides" +time="2021-07-27T05:22:51Z" level=info msg="Running Mender client version: unknown" +time="2021-07-27T05:22:51Z" level=debug msg="Handle update commit state" +time="2021-07-27T05:22:51Z" level=debug msg="Committing new artifact name: TestName" +time="2021-07-27T05:22:51Z" level=debug msg="Committing new artifact group name: TestGroup" +time="2021-07-27T05:22:51Z" level=debug msg="Committing new artifact type-info provides" --- PASS: TestStateUpdateCommit (0.00s) === RUN TestStateInvetoryUpdate -time="2022-08-29T11:32:04Z" level=warning msg="Failed to refresh inventory: some err" -time="2022-08-29T11:32:04Z" level=debug msg="Inventory refresh complete" -time="2022-08-29T11:32:04Z" level=warning msg="Failed to refresh inventory: cannot determine current artifact name" +time="2021-07-27T05:22:51Z" level=warning msg="Failed to refresh inventory: some err" +time="2021-07-27T05:22:51Z" level=debug msg="Inventory refresh complete" +time="2021-07-27T05:22:51Z" level=warning msg="Failed to refresh inventory: cannot determine current artifact name" --- PASS: TestStateInvetoryUpdate (0.00s) === RUN TestStateAuthorizeWait -time="2022-08-29T11:32:04Z" level=debug msg="Handle authorize wait state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 0s before next authorization attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Handle authorize wait state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 99.956316ms before next authorization attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handle authorize wait state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 99.705586ms before next authorization attempt" -time="2022-08-29T11:32:04Z" level=info msg="Wait canceled" +time="2021-07-27T05:22:51Z" level=debug msg="Handle authorize wait state" +time="2021-07-27T05:22:51Z" level=debug msg="Wait 0s before next authorization attempt" +time="2021-07-27T05:22:51Z" level=debug msg="Handle authorize wait state" +time="2021-07-27T05:22:51Z" level=debug msg="Wait 99.910172ms before next authorization attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:52Z" level=debug msg="Handle authorize wait state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 99.412342ms before next authorization attempt" +time="2021-07-27T05:22:52Z" level=info msg="Wait canceled" --- PASS: TestStateAuthorizeWait (0.10s) === RUN TestStateUpdateCheckWait -time="2022-08-29T11:32:04Z" level=debug msg="Handle check wait state" -time="2022-08-29T11:32:04Z" level=debug msg="Check wait state; next checks: (update: 0001-01-01 00:00:00.01 +0000 UTC) (inventory: 0001-01-01 00:00:00 +0000 UTC)" -time="2022-08-29T11:32:04Z" level=debug msg="Next check: 0001-01-01 00:00:00 +0000 UTC:inventory-update, (2022-08-29 11:32:04.362818752 +0000 UTC m=+186.041425112)" -time="2022-08-29T11:32:04Z" level=debug msg="Check wait returned: inventory-update" -time="2022-08-29T11:32:04Z" level=debug msg="Handle check wait state" -time="2022-08-29T11:32:04Z" level=debug msg="Check wait state; next checks: (update: 0001-01-01 00:00:00.01 +0000 UTC) (inventory: 2022-08-29 11:32:04.3828747 +0000 UTC m=+186.061481037)" -time="2022-08-29T11:32:04Z" level=debug msg="Next check: 0001-01-01 00:00:00.01 +0000 UTC:update-check, (2022-08-29 11:32:04.362943819 +0000 UTC m=+186.041550174)" -time="2022-08-29T11:32:04Z" level=debug msg="Check wait returned: update-check" -time="2022-08-29T11:32:04Z" level=debug msg="Handle check wait state" -time="2022-08-29T11:32:04Z" level=debug msg="Check wait state; next checks: (update: 2022-08-29 11:32:04.372992296 +0000 UTC m=+186.051598631) (inventory: 2022-08-29 11:32:04.3828747 +0000 UTC m=+186.061481037)" -time="2022-08-29T11:32:04Z" level=debug msg="Next check: 2022-08-29 11:32:04.372992296 +0000 UTC m=+186.051598631:update-check, (2022-08-29 11:32:04.363059898 +0000 UTC m=+186.041666205)" -time="2022-08-29T11:32:04Z" level=debug msg="Waiting 9.932426ms for the next state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handle check wait state" -time="2022-08-29T11:32:04Z" level=debug msg="Check wait state; next checks: (update: 2022-08-29 11:32:04.383247784 +0000 UTC m=+186.061854123) (inventory: 2022-08-29 11:32:04.3828747 +0000 UTC m=+186.061481037)" -time="2022-08-29T11:32:04Z" level=debug msg="Next check: 2022-08-29 11:32:04.3828747 +0000 UTC m=+186.061481037:inventory-update, (2022-08-29 11:32:04.373331337 +0000 UTC m=+186.051937653)" -time="2022-08-29T11:32:04Z" level=debug msg="Waiting 9.543384ms for the next state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait complete" -time="2022-08-29T11:32:04Z" level=debug msg="Handle check wait state" -time="2022-08-29T11:32:04Z" level=debug msg="Check wait state; next checks: (update: 2022-08-29 11:32:04.473247784 +0000 UTC m=+186.151854123) (inventory: 2022-08-29 11:32:04.4828747 +0000 UTC m=+186.161481037)" -time="2022-08-29T11:32:04Z" level=debug msg="Next check: 2022-08-29 11:32:04.473247784 +0000 UTC m=+186.151854123:update-check, (2022-08-29 11:32:04.383228293 +0000 UTC m=+186.061834598)" -time="2022-08-29T11:32:04Z" level=debug msg="Waiting 90.019525ms for the next state" -time="2022-08-29T11:32:04Z" level=info msg="Wait canceled" +time="2021-07-27T05:22:52Z" level=debug msg="Handle check wait state" +time="2021-07-27T05:22:52Z" level=debug msg="Check wait state; next checks: (update: 0001-01-01 00:00:00.01 +0000 UTC) (inventory: 0001-01-01 00:00:00 +0000 UTC)" +time="2021-07-27T05:22:52Z" level=debug msg="Next check: 0001-01-01 00:00:00 +0000 UTC:inventory-update, (2021-07-27 05:22:52.045481745 +0000 UTC m=+203.352567207)" +time="2021-07-27T05:22:52Z" level=debug msg="Check wait returned: inventory-update" +time="2021-07-27T05:22:52Z" level=debug msg="Handle check wait state" +time="2021-07-27T05:22:52Z" level=debug msg="Check wait state; next checks: (update: 0001-01-01 00:00:00.01 +0000 UTC) (inventory: 2021-07-27 05:22:52.065600531 +0000 UTC m=+203.372686332)" +time="2021-07-27T05:22:52Z" level=debug msg="Next check: 0001-01-01 00:00:00.01 +0000 UTC:update-check, (2021-07-27 05:22:52.045770564 +0000 UTC m=+203.352856286)" +time="2021-07-27T05:22:52Z" level=debug msg="Check wait returned: update-check" +time="2021-07-27T05:22:52Z" level=debug msg="Handle check wait state" +time="2021-07-27T05:22:52Z" level=debug msg="Check wait state; next checks: (update: 2021-07-27 05:22:52.055887498 +0000 UTC m=+203.362972794) (inventory: 2021-07-27 05:22:52.065600531 +0000 UTC m=+203.372686332)" +time="2021-07-27T05:22:52Z" level=debug msg="Next check: 2021-07-27 05:22:52.055887498 +0000 UTC m=+203.362972794:update-check, (2021-07-27 05:22:52.046096092 +0000 UTC m=+203.353181474)" +time="2021-07-27T05:22:52Z" level=debug msg="Waiting 9.79132ms for the next state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:52Z" level=debug msg="Handle check wait state" +time="2021-07-27T05:22:52Z" level=debug msg="Check wait state; next checks: (update: 2021-07-27 05:22:52.066533281 +0000 UTC m=+203.373618859) (inventory: 2021-07-27 05:22:52.065600531 +0000 UTC m=+203.372686332)" +time="2021-07-27T05:22:52Z" level=debug msg="Next check: 2021-07-27 05:22:52.065600531 +0000 UTC m=+203.372686332:inventory-update, (2021-07-27 05:22:52.056694871 +0000 UTC m=+203.363780122)" +time="2021-07-27T05:22:52Z" level=debug msg="Waiting 8.90621ms for the next state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait complete" +time="2021-07-27T05:22:52Z" level=debug msg="Handle check wait state" +time="2021-07-27T05:22:52Z" level=debug msg="Check wait state; next checks: (update: 2021-07-27 05:22:52.156533281 +0000 UTC m=+203.463618859) (inventory: 2021-07-27 05:22:52.165600531 +0000 UTC m=+203.472686332)" +time="2021-07-27T05:22:52Z" level=debug msg="Next check: 2021-07-27 05:22:52.156533281 +0000 UTC m=+203.463618859:update-check, (2021-07-27 05:22:52.066278016 +0000 UTC m=+203.373362947)" +time="2021-07-27T05:22:52Z" level=debug msg="Waiting 90.255912ms for the next state" +time="2021-07-27T05:22:52Z" level=info msg="Wait canceled" --- PASS: TestStateUpdateCheckWait (0.02s) === RUN TestStateUpdateCheck -time="2022-08-29T11:32:04Z" level=debug msg="Handle update check state" -time="2022-08-29T11:32:04Z" level=debug msg="Handle update check state" -time="2022-08-29T11:32:04Z" level=error msg="Update check failed: transient error: check failed" -time="2022-08-29T11:32:04Z" level=debug msg="Handle update check state" +time="2021-07-27T05:22:52Z" level=debug msg="Handle update check state" +time="2021-07-27T05:22:52Z" level=debug msg="Handle update check state" +time="2021-07-27T05:22:52Z" level=error msg="Update check failed: transient error: check failed" +time="2021-07-27T05:22:52Z" level=debug msg="Handle update check state" --- PASS: TestStateUpdateCheck (0.00s) === RUN TestUpdateCheckSameImage -time="2022-08-29T11:32:04Z" level=debug msg="Handle update check state" +time="2021-07-27T05:22:52Z" level=debug msg="Handle update check state" --- PASS: TestUpdateCheckSameImage (0.00s) === RUN TestStateUpdateFetch -time="2022-08-29T11:32:04Z" level=info msg="Running Mender client version: unknown" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" -time="2022-08-29T11:32:04Z" level=error msg="Could not write state data to persistent storage: read only" -time="2022-08-29T11:32:04Z" level=error msg="fatal error: read only" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2021-07-27T05:22:52Z" level=info msg="Running Mender client version: unknown" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" +time="2021-07-27T05:22:52Z" level=error msg="Could not write state data to persistent storage: read only" +time="2021-07-27T05:22:52Z" level=error msg="fatal error: read only" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" --- PASS: TestStateUpdateFetch (0.00s) === RUN TestStateUpdateFetchRetry -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" --- PASS: TestStateUpdateFetchRetry (0.00s) === RUN TestStateUpdateStore -time="2022-08-29T11:32:04Z" level=error msg="fatal error: test failure" -time="2022-08-29T11:32:04Z" level=info msg="Running Mender client version: unknown" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2022-08-29T11:32:04Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" ---- PASS: TestStateUpdateStore (0.01s) +time="2021-07-27T05:22:52Z" level=error msg="fatal error: test failure" +time="2021-07-27T05:22:52Z" level=info msg="Running Mender client version: unknown" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2021-07-27T05:22:52Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +--- PASS: TestStateUpdateStore (0.06s) === RUN TestUpdateStoreDependencies -time="2022-08-29T11:32:04Z" level=info msg="Running Mender client version: unknown" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2022-08-29T11:32:04Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2022-08-29T11:32:04Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != )." -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2022-08-29T11:32:04Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2022-08-29T11:32:04Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != )." -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2022-08-29T11:32:04Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2022-08-29T11:32:04Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != )." -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2022-08-29T11:32:04Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2022-08-29T11:32:04Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != WrongGroup)." -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2022-08-29T11:32:04Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" ---- PASS: TestUpdateStoreDependencies (0.02s) +time="2021-07-27T05:22:52Z" level=info msg="Running Mender client version: unknown" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2021-07-27T05:22:52Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2021-07-27T05:22:52Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OtherArtifact] != )." +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2021-07-27T05:22:52Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2021-07-27T05:22:52Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OtherArtifact] != NonExistingArtie)." +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2021-07-27T05:22:52Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2021-07-27T05:22:52Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != )." +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2021-07-27T05:22:52Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2021-07-27T05:22:52Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != WrongGroup)." +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2021-07-27T05:22:52Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +--- PASS: TestUpdateStoreDependencies (0.08s) === RUN TestStateWrongArtifactNameFromServer -time="2022-08-29T11:32:04Z" level=info msg="Running Mender client version: unknown" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2022-08-29T11:32:04Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2022-08-29T11:32:04Z" level=error msg="Artifact name in artifact is not what the server claims (TestName != WrongName)." ---- PASS: TestStateWrongArtifactNameFromServer (0.01s) +time="2021-07-27T05:22:52Z" level=info msg="Running Mender client version: unknown" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2021-07-27T05:22:52Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2021-07-27T05:22:52Z" level=error msg="Artifact name in artifact is not what the server claims (TestName != WrongName)." +--- PASS: TestStateWrongArtifactNameFromServer (0.05s) === RUN TestStateUpdateInstallRetry -time="2022-08-29T11:32:04Z" level=info msg="Running Mender client version: unknown" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" -time="2022-08-29T11:32:04Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2022-08-29T11:32:04Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" -time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" -time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:32:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2022-08-29T11:32:04Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=info msg="Running Mender client version: unknown" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" +time="2021-07-27T05:22:52Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2021-07-27T05:22:52Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" +time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" +time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:22:52Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2021-07-27T05:22:52Z" level=debug msg="Handle fetch install retry state" --- PASS: TestStateUpdateInstallRetry (0.00s) === RUN TestStateFinal --- PASS: TestStateFinal (0.00s) === RUN TestStateData --- PASS: TestStateData (0.00s) === RUN TestStateReportError -time="2022-08-29T11:32:04Z" level=error msg="Handling report error state with status: success" -time="2022-08-29T11:32:04Z" level=error msg="Handling report error state with status: failure" -time="2022-08-29T11:32:04Z" level=error msg="Error while performing update: failure ({{{ } [] [] map[]} foobar [] 0 false})" -time="2022-08-29T11:32:04Z" level=error msg="Handling report error state with status: already-installed" +time="2021-07-27T05:22:52Z" level=error msg="Handling report error state with status: success" +time="2021-07-27T05:22:52Z" level=error msg="Handling report error state with status: failure" +time="2021-07-27T05:22:52Z" level=error msg="Error while performing update: failure ({{{ } [] [] map[]} foobar [] 0 false})" +time="2021-07-27T05:22:52Z" level=error msg="Handling report error state with status: already-installed" --- PASS: TestStateReportError (0.00s) === RUN TestMaxSendingAttempts --- PASS: TestMaxSendingAttempts (0.00s) @@ -3751,11400 +3821,11400 @@ === RUN TestStateTransitionsWithUpdateModules/Normal_install,_no_reboot,_no_rollback state_test.go:4717: Normal install, no reboot, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:04Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:04Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:04Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:04Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58237->[::1]:53: read: connection refused" - time="2022-08-29T11:32:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58237->[::1]:53: read: connection refused" - time="2022-08-29T11:32:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44325->[::1]:53: read: connection refused" - time="2022-08-29T11:32:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44325->[::1]:53: read: connection refused" - time="2022-08-29T11:32:04Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:04Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:04Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:04Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules227219003/device_type" - time="2022-08-29T11:32:04Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:04Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:04Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:04Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:04Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:04Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules227219003/artifact_info file." - time="2022-08-29T11:32:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules227219003/artifact_info" - time="2022-08-29T11:32:04Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:04Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules227219003/artifact_info" - time="2022-08-29T11:32:04Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules227219003/device_type" - time="2022-08-29T11:32:04Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:04Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227219003/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules227219003/work/payloads/0000/tree" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227219003/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules227219003/work/payloads/0000/tree" - time="2022-08-29T11:32:05Z" level=debug msg="Update module output: No" - time="2022-08-29T11:32:05Z" level=debug msg="Module does not support rollback" - time="2022-08-29T11:32:05Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:05Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44928->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44928->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36516->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36516->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38218->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38218->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47804->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47804->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227219003/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules227219003/work/payloads/0000/tree" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227219003/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules227219003/work/payloads/0000/tree" - time="2022-08-29T11:32:05Z" level=debug msg="Update module output: No" - time="2022-08-29T11:32:05Z" level=debug msg="Module does not need reboot" - time="2022-08-29T11:32:05Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46729->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46729->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44691->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44691->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41301->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41301->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52844->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52844->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=debug msg="Handle update commit state" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2022-08-29T11:32:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227219003/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules227219003/work/payloads/0000/tree" - time="2022-08-29T11:32:05Z" level=debug msg="Committing new artifact name: artifact-name" - time="2022-08-29T11:32:05Z" level=debug msg="Committing new artifact group name: " - time="2022-08-29T11:32:05Z" level=debug msg="Committing new artifact type-info provides" - time="2022-08-29T11:32:05Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2022-08-29T11:32:05Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2022-08-29T11:32:05Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:05Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227219003/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules227219003/work/payloads/0000/tree" - time="2022-08-29T11:32:05Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2022-08-29T11:32:05Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:05Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:05Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (1.24s) + time="2021-07-27T05:22:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:22:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:52Z" level=debug msg="Handle update check state" + time="2021-07-27T05:22:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:22:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:52Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:22:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39816->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39816->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37319->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37319->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:22:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" + time="2021-07-27T05:22:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules540187612/device_type" + time="2021-07-27T05:22:52Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:52Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:22:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:22:52Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:22:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules540187612/artifact_info file." + time="2021-07-27T05:22:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules540187612/artifact_info" + time="2021-07-27T05:22:52Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:52Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:22:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules540187612/artifact_info" + time="2021-07-27T05:22:52Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules540187612/device_type" + time="2021-07-27T05:22:52Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:52Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:22:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:22:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules540187612/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules540187612/work/payloads/0000/tree" + time="2021-07-27T05:22:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:22:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:22:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules540187612/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules540187612/work/payloads/0000/tree" + time="2021-07-27T05:22:52Z" level=debug msg="Update module output: No" + time="2021-07-27T05:22:52Z" level=debug msg="Module does not support rollback" + time="2021-07-27T05:22:52Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:22:52Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:22:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:52Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:22:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44207->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44207->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50653->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50653->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:22:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34796->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34796->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42131->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42131->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:22:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules540187612/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules540187612/work/payloads/0000/tree" + time="2021-07-27T05:22:52Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:22:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules540187612/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules540187612/work/payloads/0000/tree" + time="2021-07-27T05:22:52Z" level=debug msg="Update module output: No" + time="2021-07-27T05:22:52Z" level=debug msg="Module does not need reboot" + time="2021-07-27T05:22:52Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:22:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:52Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:22:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41027->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41027->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40860->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40860->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:52Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:22:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39625->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39625->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39161->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39161->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=debug msg="Handle update commit state" + time="2021-07-27T05:22:52Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2021-07-27T05:22:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules540187612/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules540187612/work/payloads/0000/tree" + time="2021-07-27T05:22:52Z" level=debug msg="Committing new artifact name: artifact-name" + time="2021-07-27T05:22:52Z" level=debug msg="Committing new artifact group name: " + time="2021-07-27T05:22:52Z" level=debug msg="Committing new artifact type-info provides" + time="2021-07-27T05:22:52Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2021-07-27T05:22:52Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2021-07-27T05:22:52Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2021-07-27T05:22:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:52Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:22:52Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:22:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:22:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules540187612/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules540187612/work/payloads/0000/tree" + time="2021-07-27T05:22:52Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2021-07-27T05:22:52Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:22:52Z" level=debug msg="Reporting complete" + time="2021-07-27T05:22:52Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.38s) PASS === RUN TestStateTransitionsWithUpdateModules/Normal_install,_no_rollback state_test.go:4717: Normal install, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:05Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:05Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60471->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60471->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49062->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49062->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:05Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:05Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:05Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules627951424/device_type" - time="2022-08-29T11:32:05Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:05Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:05Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:05Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules627951424/artifact_info file." - time="2022-08-29T11:32:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules627951424/artifact_info" - time="2022-08-29T11:32:05Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:05Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules627951424/artifact_info" - time="2022-08-29T11:32:05Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules627951424/device_type" - time="2022-08-29T11:32:05Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:05Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules627951424/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules627951424/work/payloads/0000/tree" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules627951424/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules627951424/work/payloads/0000/tree" - time="2022-08-29T11:32:05Z" level=debug msg="Update module output: No" - time="2022-08-29T11:32:05Z" level=debug msg="Module does not support rollback" - time="2022-08-29T11:32:05Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:05Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60609->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60609->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45761->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45761->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45847->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45847->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49911->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49911->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules627951424/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules627951424/work/payloads/0000/tree" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules627951424/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules627951424/work/payloads/0000/tree" - time="2022-08-29T11:32:05Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:05Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:05Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54526->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54526->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52032->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52032->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58608->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58608->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59233->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59233->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:05Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules627951424/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules627951424/work/payloads/0000/tree" - time="2022-08-29T11:32:05Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules627951424/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules627951424/work/payloads/0000/tree" - time="2022-08-29T11:32:05Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:05Z" level=debug msg="Handling state after reboot" - time="2022-08-29T11:32:05Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36314->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36314->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50396->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50396->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53528->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53528->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57767->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57767->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=debug msg="Handle update commit state" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2022-08-29T11:32:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules627951424/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules627951424/work/payloads/0000/tree" - time="2022-08-29T11:32:05Z" level=debug msg="Committing new artifact name: artifact-name" - time="2022-08-29T11:32:05Z" level=debug msg="Committing new artifact group name: " - time="2022-08-29T11:32:05Z" level=debug msg="Committing new artifact type-info provides" - time="2022-08-29T11:32:05Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2022-08-29T11:32:05Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2022-08-29T11:32:05Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:05Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules627951424/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules627951424/work/payloads/0000/tree" - time="2022-08-29T11:32:05Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2022-08-29T11:32:05Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:05Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:05Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.15s) + time="2021-07-27T05:22:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:22:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:52Z" level=debug msg="Handle update check state" + time="2021-07-27T05:22:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:22:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:52Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:22:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40105->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40105->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46217->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46217->[::1]:53: read: connection refused" + time="2021-07-27T05:22:52Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:22:52Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:22:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:22:52Z" level=debug msg="Handling update install state" + time="2021-07-27T05:22:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules595164149/device_type" + time="2021-07-27T05:22:52Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:52Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:52Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:22:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:22:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:22:53Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:22:53Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules595164149/artifact_info file." + time="2021-07-27T05:22:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules595164149/artifact_info" + time="2021-07-27T05:22:53Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:53Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:22:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules595164149/artifact_info" + time="2021-07-27T05:22:53Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules595164149/device_type" + time="2021-07-27T05:22:53Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:53Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:53Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:22:53Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:22:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules595164149/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules595164149/work/payloads/0000/tree" + time="2021-07-27T05:22:53Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:22:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:22:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules595164149/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules595164149/work/payloads/0000/tree" + time="2021-07-27T05:22:53Z" level=debug msg="Update module output: No" + time="2021-07-27T05:22:53Z" level=debug msg="Module does not support rollback" + time="2021-07-27T05:22:53Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:22:53Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:22:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:53Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:22:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51910->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51910->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40354->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40354->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:53Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:22:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40119->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40119->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50390->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50390->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:22:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules595164149/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules595164149/work/payloads/0000/tree" + time="2021-07-27T05:22:53Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:22:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules595164149/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules595164149/work/payloads/0000/tree" + time="2021-07-27T05:22:53Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:22:53Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:22:53Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:22:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:53Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:22:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39476->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39476->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60054->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60054->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:53Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:22:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60338->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60338->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52835->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52835->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:22:53Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:22:53Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:22:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules595164149/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules595164149/work/payloads/0000/tree" + time="2021-07-27T05:22:53Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:22:53Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:22:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules595164149/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules595164149/work/payloads/0000/tree" + time="2021-07-27T05:22:53Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:22:53Z" level=debug msg="Handling state after reboot" + time="2021-07-27T05:22:53Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:22:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:53Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:22:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51532->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51532->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33304->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33304->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:53Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:22:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59752->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59752->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39190->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39190->[::1]:53: read: connection refused" + time="2021-07-27T05:22:53Z" level=debug msg="Handle update commit state" + time="2021-07-27T05:22:53Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2021-07-27T05:22:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules595164149/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules595164149/work/payloads/0000/tree" + time="2021-07-27T05:22:53Z" level=debug msg="Committing new artifact name: artifact-name" + time="2021-07-27T05:22:53Z" level=debug msg="Committing new artifact group name: " + time="2021-07-27T05:22:53Z" level=debug msg="Committing new artifact type-info provides" + time="2021-07-27T05:22:53Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2021-07-27T05:22:53Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2021-07-27T05:22:53Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2021-07-27T05:22:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:53Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:22:53Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:22:53Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:22:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules595164149/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules595164149/work/payloads/0000/tree" + time="2021-07-27T05:22:53Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2021-07-27T05:22:53Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:22:53Z" level=debug msg="Reporting complete" + time="2021-07-27T05:22:53Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.38s) PASS === RUN TestStateTransitionsWithUpdateModules/Normal_install state_test.go:4717: Normal install state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:05Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:05Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55349->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55349->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49581->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49581->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:05Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:05Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:05Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules975152425/device_type" - time="2022-08-29T11:32:05Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:05Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:05Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:05Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules975152425/artifact_info file." - time="2022-08-29T11:32:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules975152425/artifact_info" - time="2022-08-29T11:32:05Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:05Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules975152425/artifact_info" - time="2022-08-29T11:32:05Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules975152425/device_type" - time="2022-08-29T11:32:05Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:05Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules975152425/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules975152425/work/payloads/0000/tree" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules975152425/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules975152425/work/payloads/0000/tree" - time="2022-08-29T11:32:05Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:05Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:05Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:05Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50643->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50643->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43962->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43962->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59970->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59970->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55257->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55257->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules975152425/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules975152425/work/payloads/0000/tree" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules975152425/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules975152425/work/payloads/0000/tree" - time="2022-08-29T11:32:05Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:05Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:05Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42731->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42731->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43939->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43939->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:05Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49355->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49355->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41637->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41637->[::1]:53: read: connection refused" - time="2022-08-29T11:32:05Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:05Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules975152425/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules975152425/work/payloads/0000/tree" - time="2022-08-29T11:32:05Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:05Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules975152425/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules975152425/work/payloads/0000/tree" - time="2022-08-29T11:32:05Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:05Z" level=debug msg="Handling state after reboot" - time="2022-08-29T11:32:06Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48802->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48802->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54001->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54001->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34946->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34946->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38113->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38113->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=debug msg="Handle update commit state" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules975152425/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules975152425/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=debug msg="Committing new artifact name: artifact-name" - time="2022-08-29T11:32:06Z" level=debug msg="Committing new artifact group name: " - time="2022-08-29T11:32:06Z" level=debug msg="Committing new artifact type-info provides" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules975152425/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules975152425/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2022-08-29T11:32:06Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:06Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:06Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.14s) + time="2021-07-27T05:22:54Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:22:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:54Z" level=debug msg="Handle update check state" + time="2021-07-27T05:22:54Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:22:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:54Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:22:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59698->[::1]:53: read: connection refused" + time="2021-07-27T05:22:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59698->[::1]:53: read: connection refused" + time="2021-07-27T05:22:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59994->[::1]:53: read: connection refused" + time="2021-07-27T05:22:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59994->[::1]:53: read: connection refused" + time="2021-07-27T05:22:54Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:22:54Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:22:54Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:22:54Z" level=debug msg="Handling update install state" + time="2021-07-27T05:22:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules630683266/device_type" + time="2021-07-27T05:22:54Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:54Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:54Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:22:54Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:22:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:22:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:22:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:22:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:22:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:22:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:22:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:22:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:22:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:22:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:22:55Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:22:55Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules630683266/artifact_info file." + time="2021-07-27T05:22:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules630683266/artifact_info" + time="2021-07-27T05:22:55Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:55Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:22:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules630683266/artifact_info" + time="2021-07-27T05:22:55Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules630683266/device_type" + time="2021-07-27T05:22:55Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:55Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:22:55Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:22:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules630683266/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules630683266/work/payloads/0000/tree" + time="2021-07-27T05:22:55Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:22:55Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:22:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules630683266/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules630683266/work/payloads/0000/tree" + time="2021-07-27T05:22:55Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:22:55Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:22:55Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:22:55Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:22:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:55Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:22:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50286->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50286->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37069->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37069->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:55Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:22:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33962->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33962->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42795->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42795->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:22:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules630683266/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules630683266/work/payloads/0000/tree" + time="2021-07-27T05:22:55Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:22:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules630683266/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules630683266/work/payloads/0000/tree" + time="2021-07-27T05:22:55Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:22:55Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:22:55Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:22:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:55Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:22:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59378->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59378->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37467->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37467->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:55Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:22:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50097->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50097->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55232->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55232->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:22:55Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:22:55Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:22:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules630683266/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules630683266/work/payloads/0000/tree" + time="2021-07-27T05:22:55Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:22:55Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:22:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules630683266/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules630683266/work/payloads/0000/tree" + time="2021-07-27T05:22:55Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:22:55Z" level=debug msg="Handling state after reboot" + time="2021-07-27T05:22:55Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:22:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:55Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:22:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42490->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42490->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49129->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49129->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:55Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:22:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35732->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35732->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36733->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36733->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=debug msg="Handle update commit state" + time="2021-07-27T05:22:55Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2021-07-27T05:22:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules630683266/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules630683266/work/payloads/0000/tree" + time="2021-07-27T05:22:55Z" level=debug msg="Committing new artifact name: artifact-name" + time="2021-07-27T05:22:55Z" level=debug msg="Committing new artifact group name: " + time="2021-07-27T05:22:55Z" level=debug msg="Committing new artifact type-info provides" + time="2021-07-27T05:22:55Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2021-07-27T05:22:55Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2021-07-27T05:22:55Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2021-07-27T05:22:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:55Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:22:55Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:22:55Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:22:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules630683266/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules630683266/work/payloads/0000/tree" + time="2021-07-27T05:22:55Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2021-07-27T05:22:55Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:22:55Z" level=debug msg="Reporting complete" + time="2021-07-27T05:22:55Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.66s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_Download_state,_no_rollback state_test.go:4717: Error in Download state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:06Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49751->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49751->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51743->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51743->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:06Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:06Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules498956742/device_type" - time="2022-08-29T11:32:06Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:06Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:06Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules498956742/artifact_info file." - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules498956742/artifact_info" - time="2022-08-29T11:32:06Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules498956742/artifact_info" - time="2022-08-29T11:32:06Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules498956742/device_type" - time="2022-08-29T11:32:06Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules498956742/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules498956742/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:06Z" level=error msg="Artifact install failed: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" - time="2022-08-29T11:32:06Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: Download_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules498956742/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules498956742/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:06Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:06Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules498956742/artifact_info file." - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules498956742/artifact_info" - time="2022-08-29T11:32:06Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.10s) + time="2021-07-27T05:22:55Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:22:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:55Z" level=debug msg="Handle update check state" + time="2021-07-27T05:22:55Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:22:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:55Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:22:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43577->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43577->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34866->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34866->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:22:55Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:22:55Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:22:55Z" level=debug msg="Handling update install state" + time="2021-07-27T05:22:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules644743827/device_type" + time="2021-07-27T05:22:55Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:55Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:55Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:22:55Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:22:55Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:22:55Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules644743827/artifact_info file." + time="2021-07-27T05:22:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules644743827/artifact_info" + time="2021-07-27T05:22:55Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:55Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:22:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules644743827/artifact_info" + time="2021-07-27T05:22:55Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules644743827/device_type" + time="2021-07-27T05:22:55Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:55Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:22:55Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:22:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules644743827/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules644743827/work/payloads/0000/tree" + time="2021-07-27T05:22:55Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:22:55Z" level=error msg="Artifact install failed: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:22:55Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" + time="2021-07-27T05:22:55Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:22:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:55Z" level=debug msg="Executing script: Download_Error_00" + time="2021-07-27T05:22:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:55Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:22:55Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:22:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules644743827/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules644743827/work/payloads/0000/tree" + time="2021-07-27T05:22:55Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:22:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:55Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:22:55Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:22:55Z" level=debug msg="Reporting complete" + time="2021-07-27T05:22:55Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules644743827/artifact_info file." + time="2021-07-27T05:22:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules644743827/artifact_info" + time="2021-07-27T05:22:55Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:55Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.17s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_Download_state,_no_rollback state_test.go:4717: Killed in Download state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:06Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43375->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43375->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49432->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49432->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:06Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:06Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules064814375/device_type" - time="2022-08-29T11:32:06Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:06Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:06Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules064814375/artifact_info file." - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules064814375/artifact_info" - time="2022-08-29T11:32:06Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules064814375/artifact_info" - time="2022-08-29T11:32:06Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules064814375/device_type" - time="2022-08-29T11:32:06Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules064814375/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules064814375/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:22:55Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:22:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:55Z" level=debug msg="Handle update check state" + time="2021-07-27T05:22:55Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:22:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:55Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:22:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33466->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33466->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38613->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38613->[::1]:53: read: connection refused" + time="2021-07-27T05:22:55Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:22:55Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:22:55Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:22:55Z" level=debug msg="Handling update install state" + time="2021-07-27T05:22:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules657821304/device_type" + time="2021-07-27T05:22:55Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:55Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:55Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:22:55Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:22:55Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:22:55Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules657821304/artifact_info file." + time="2021-07-27T05:22:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules657821304/artifact_info" + time="2021-07-27T05:22:55Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:55Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:22:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules657821304/artifact_info" + time="2021-07-27T05:22:55Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules657821304/device_type" + time="2021-07-27T05:22:55Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:55Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:55Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:22:56Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:22:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules657821304/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules657821304/work/payloads/0000/tree" + time="2021-07-27T05:22:56Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 2 (*app.updateCleanupState) - time="2022-08-29T11:32:06Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:06Z" level=info msg="Handling loaded state: update-store" - time="2022-08-29T11:32:06Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:06Z" level=error msg="Mender shut down in state: update-store" - time="2022-08-29T11:32:06Z" level=info msg="State transition: init [none] -> cleanup [Error]" - time="2022-08-29T11:32:06Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules064814375/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules064814375/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:06Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:06Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules064814375/artifact_info file." - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules064814375/artifact_info" - time="2022-08-29T11:32:06Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.01s) + time="2021-07-27T05:22:56Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:22:56Z" level=info msg="Handling loaded state: update-store" + time="2021-07-27T05:22:56Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:22:56Z" level=error msg="Mender shut down in state: update-store" + time="2021-07-27T05:22:56Z" level=info msg="State transition: init [none] -> cleanup [Error]" + time="2021-07-27T05:22:56Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:22:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:56Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:22:56Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:22:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules657821304/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules657821304/work/payloads/0000/tree" + time="2021-07-27T05:22:56Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:22:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:56Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:22:56Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:22:56Z" level=debug msg="Reporting complete" + time="2021-07-27T05:22:56Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules657821304/artifact_info file." + time="2021-07-27T05:22:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules657821304/artifact_info" + time="2021-07-27T05:22:56Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:56Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.11s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_state,_no_rollback state_test.go:4717: Error in ArtifactInstall state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:06Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60635->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60635->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41048->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41048->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:06Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:06Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules898416284/device_type" - time="2022-08-29T11:32:06Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:06Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:06Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules898416284/artifact_info file." - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules898416284/artifact_info" - time="2022-08-29T11:32:06Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules898416284/artifact_info" - time="2022-08-29T11:32:06Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules898416284/device_type" - time="2022-08-29T11:32:06Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898416284/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules898416284/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898416284/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules898416284/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=debug msg="Update module output: No" - time="2022-08-29T11:32:06Z" level=debug msg="Module does not support rollback" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59199->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59199->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42653->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42653->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51055->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51055->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34035->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34035->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898416284/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules898416284/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:06Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:06Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:06Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34829->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34829->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47955->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47955->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33644->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33644->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49823->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49823->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898416284/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules898416284/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898416284/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules898416284/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:06Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:06Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:06Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.13s) + time="2021-07-27T05:22:56Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:22:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:56Z" level=debug msg="Handle update check state" + time="2021-07-27T05:22:56Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:22:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:56Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:22:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58533->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58533->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44494->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44494->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:22:56Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:22:56Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:22:56Z" level=debug msg="Handling update install state" + time="2021-07-27T05:22:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules132957889/device_type" + time="2021-07-27T05:22:56Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:56Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:56Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:22:56Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:22:56Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:22:56Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules132957889/artifact_info file." + time="2021-07-27T05:22:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules132957889/artifact_info" + time="2021-07-27T05:22:56Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:56Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:22:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules132957889/artifact_info" + time="2021-07-27T05:22:56Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules132957889/device_type" + time="2021-07-27T05:22:56Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:56Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:22:56Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:22:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules132957889/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules132957889/work/payloads/0000/tree" + time="2021-07-27T05:22:56Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:22:56Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:22:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules132957889/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules132957889/work/payloads/0000/tree" + time="2021-07-27T05:22:56Z" level=debug msg="Update module output: No" + time="2021-07-27T05:22:56Z" level=debug msg="Module does not support rollback" + time="2021-07-27T05:22:56Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:22:56Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:22:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:56Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:22:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35967->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35967->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33784->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33784->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:56Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:22:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42834->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42834->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52522->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52522->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:22:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules132957889/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules132957889/work/payloads/0000/tree" + time="2021-07-27T05:22:56Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:22:56Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:22:56Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2021-07-27T05:22:56Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" + time="2021-07-27T05:22:56Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:22:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:56Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2021-07-27T05:22:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35491->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35491->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55670->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55670->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:56Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:22:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34944->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34944->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36044->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36044->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=debug msg="Handle update error state" + time="2021-07-27T05:22:56Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:22:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules132957889/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules132957889/work/payloads/0000/tree" + time="2021-07-27T05:22:56Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:22:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:56Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:22:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:56Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:22:56Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:22:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules132957889/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules132957889/work/payloads/0000/tree" + time="2021-07-27T05:22:56Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:22:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:56Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:22:56Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:22:56Z" level=debug msg="Reporting complete" + time="2021-07-27T05:22:56Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.31s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_state,_no_rollback state_test.go:4717: Killed in ArtifactInstall state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:06Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60132->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60132->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44569->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44569->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:06Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:06Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules140714421/device_type" - time="2022-08-29T11:32:06Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:06Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:06Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules140714421/artifact_info file." - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules140714421/artifact_info" - time="2022-08-29T11:32:06Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules140714421/artifact_info" - time="2022-08-29T11:32:06Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules140714421/device_type" - time="2022-08-29T11:32:06Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140714421/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules140714421/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140714421/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules140714421/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=debug msg="Update module output: No" - time="2022-08-29T11:32:06Z" level=debug msg="Module does not support rollback" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47498->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47498->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36435->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36435->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44269->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44269->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55484->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55484->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140714421/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules140714421/work/payloads/0000/tree" + time="2021-07-27T05:22:56Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:22:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:56Z" level=debug msg="Handle update check state" + time="2021-07-27T05:22:56Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:22:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:56Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:22:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39572->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39572->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53191->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53191->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:22:56Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:22:56Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:22:56Z" level=debug msg="Handling update install state" + time="2021-07-27T05:22:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules331422526/device_type" + time="2021-07-27T05:22:56Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:56Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:56Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:22:56Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:22:56Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:22:56Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules331422526/artifact_info file." + time="2021-07-27T05:22:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules331422526/artifact_info" + time="2021-07-27T05:22:56Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:56Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:22:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules331422526/artifact_info" + time="2021-07-27T05:22:56Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules331422526/device_type" + time="2021-07-27T05:22:56Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:56Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:56Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:22:56Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:22:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules331422526/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules331422526/work/payloads/0000/tree" + time="2021-07-27T05:22:56Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:22:56Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:22:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules331422526/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules331422526/work/payloads/0000/tree" + time="2021-07-27T05:22:56Z" level=debug msg="Update module output: No" + time="2021-07-27T05:22:56Z" level=debug msg="Module does not support rollback" + time="2021-07-27T05:22:56Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:22:56Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:22:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:56Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:22:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49747->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49747->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46997->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46997->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:56Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:22:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58404->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58404->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42520->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42520->[::1]:53: read: connection refused" + time="2021-07-27T05:22:56Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:22:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules331422526/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules331422526/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 4 (*app.updateErrorState) - time="2022-08-29T11:32:06Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:06Z" level=info msg="Handling loaded state: update-install" - time="2022-08-29T11:32:06Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:06Z" level=error msg="Mender shut down in state: update-install" - time="2022-08-29T11:32:06Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2022-08-29T11:32:06Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:06Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51460->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51460->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49324->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49324->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140714421/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules140714421/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140714421/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules140714421/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:06Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:06Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:06Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.02s) + time="2021-07-27T05:22:56Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:22:56Z" level=info msg="Handling loaded state: update-install" + time="2021-07-27T05:22:56Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:22:56Z" level=error msg="Mender shut down in state: update-install" + time="2021-07-27T05:22:56Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2021-07-27T05:22:57Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:22:57Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:22:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:57Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:22:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48734->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48734->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60289->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60289->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=debug msg="Handle update error state" + time="2021-07-27T05:22:57Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:22:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules331422526/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules331422526/work/payloads/0000/tree" + time="2021-07-27T05:22:57Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:22:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:57Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:22:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:57Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:22:57Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:22:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules331422526/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules331422526/work/payloads/0000/tree" + time="2021-07-27T05:22:57Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:22:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:57Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:22:57Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:22:57Z" level=debug msg="Reporting complete" + time="2021-07-27T05:22:57Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.13s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall state_test.go:4717: Error in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:06Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55679->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55679->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38502->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38502->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:06Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:06Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules556742466/device_type" - time="2022-08-29T11:32:06Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:06Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:06Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules556742466/artifact_info file." - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules556742466/artifact_info" - time="2022-08-29T11:32:06Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules556742466/artifact_info" - time="2022-08-29T11:32:06Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules556742466/device_type" - time="2022-08-29T11:32:06Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules556742466/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules556742466/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules556742466/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules556742466/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:06Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42708->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42708->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51441->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51441->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52869->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52869->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59084->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59084->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules556742466/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules556742466/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:06Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:06Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40639->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40639->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51748->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51748->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37421->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37421->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50476->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50476->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules556742466/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules556742466/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55493->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55493->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43752->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43752->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46154->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46154->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54333->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54333->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules556742466/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules556742466/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules556742466/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules556742466/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:06Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:06Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules556742466/artifact_info file." - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules556742466/artifact_info" - time="2022-08-29T11:32:06Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.15s) + time="2021-07-27T05:22:57Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:22:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:57Z" level=debug msg="Handle update check state" + time="2021-07-27T05:22:57Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:22:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:57Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:22:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33914->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33914->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52425->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52425->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:22:57Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:22:57Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:22:57Z" level=debug msg="Handling update install state" + time="2021-07-27T05:22:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules508626431/device_type" + time="2021-07-27T05:22:57Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:57Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:57Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:22:57Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:22:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:22:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:22:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:22:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:22:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:22:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:22:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:22:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:22:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:22:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:22:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:22:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:22:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:22:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:22:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:22:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:22:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:22:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:22:57Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:22:57Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules508626431/artifact_info file." + time="2021-07-27T05:22:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules508626431/artifact_info" + time="2021-07-27T05:22:57Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:57Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:22:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules508626431/artifact_info" + time="2021-07-27T05:22:57Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules508626431/device_type" + time="2021-07-27T05:22:57Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:57Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:57Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:22:57Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:22:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules508626431/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules508626431/work/payloads/0000/tree" + time="2021-07-27T05:22:57Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:22:57Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:22:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules508626431/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules508626431/work/payloads/0000/tree" + time="2021-07-27T05:22:57Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:22:57Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:22:57Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:22:57Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:22:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:57Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:22:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52980->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52980->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59845->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59845->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:57Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:22:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46250->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46250->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53211->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53211->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:22:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules508626431/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules508626431/work/payloads/0000/tree" + time="2021-07-27T05:22:57Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:22:57Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:22:57Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2021-07-27T05:22:57Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:22:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:57Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2021-07-27T05:22:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50223->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50223->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55323->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55323->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:57Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:22:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44165->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44165->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34931->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34931->[::1]:53: read: connection refused" + time="2021-07-27T05:22:57Z" level=info msg="Performing rollback" + time="2021-07-27T05:22:57Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:22:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules508626431/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules508626431/work/payloads/0000/tree" + time="2021-07-27T05:22:58Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2021-07-27T05:22:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:58Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:22:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35264->[::1]:53: read: connection refused" + time="2021-07-27T05:22:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35264->[::1]:53: read: connection refused" + time="2021-07-27T05:22:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56296->[::1]:53: read: connection refused" + time="2021-07-27T05:22:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56296->[::1]:53: read: connection refused" + time="2021-07-27T05:22:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:58Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:22:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45625->[::1]:53: read: connection refused" + time="2021-07-27T05:22:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45625->[::1]:53: read: connection refused" + time="2021-07-27T05:22:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47159->[::1]:53: read: connection refused" + time="2021-07-27T05:22:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47159->[::1]:53: read: connection refused" + time="2021-07-27T05:22:58Z" level=debug msg="Handle update error state" + time="2021-07-27T05:22:58Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:22:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules508626431/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules508626431/work/payloads/0000/tree" + time="2021-07-27T05:22:58Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:22:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:58Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:22:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:58Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:22:58Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:22:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules508626431/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules508626431/work/payloads/0000/tree" + time="2021-07-27T05:22:58Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:22:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:58Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:22:58Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:22:58Z" level=debug msg="Reporting complete" + time="2021-07-27T05:22:58Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules508626431/artifact_info file." + time="2021-07-27T05:22:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules508626431/artifact_info" + time="2021-07-27T05:22:58Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:58Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (1.36s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall state_test.go:4717: Killed in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:06Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52171->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52171->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54612->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54612->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:06Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:06Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules285492307/device_type" - time="2022-08-29T11:32:06Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:06Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:06Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules285492307/artifact_info file." - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules285492307/artifact_info" - time="2022-08-29T11:32:06Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules285492307/artifact_info" - time="2022-08-29T11:32:06Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules285492307/device_type" - time="2022-08-29T11:32:06Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:06Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285492307/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules285492307/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285492307/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules285492307/work/payloads/0000/tree" - time="2022-08-29T11:32:06Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:06Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:06Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46536->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46536->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38981->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38981->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:06Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45972->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45972->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44312->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44312->[::1]:53: read: connection refused" - time="2022-08-29T11:32:06Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285492307/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules285492307/work/payloads/0000/tree" + time="2021-07-27T05:22:58Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:22:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:58Z" level=debug msg="Handle update check state" + time="2021-07-27T05:22:58Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:22:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:58Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:22:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34452->[::1]:53: read: connection refused" + time="2021-07-27T05:22:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34452->[::1]:53: read: connection refused" + time="2021-07-27T05:22:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54915->[::1]:53: read: connection refused" + time="2021-07-27T05:22:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54915->[::1]:53: read: connection refused" + time="2021-07-27T05:22:58Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:22:58Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:22:58Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:22:58Z" level=debug msg="Handling update install state" + time="2021-07-27T05:22:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules276354132/device_type" + time="2021-07-27T05:22:58Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:58Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:58Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:22:58Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:22:58Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:22:58Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:22:58Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:22:58Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:22:58Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:22:58Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:22:58Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:22:58Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:22:58Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:22:58Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:22:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules276354132/artifact_info file." + time="2021-07-27T05:22:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules276354132/artifact_info" + time="2021-07-27T05:22:59Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:59Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:22:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules276354132/artifact_info" + time="2021-07-27T05:22:59Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules276354132/device_type" + time="2021-07-27T05:22:59Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:59Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:22:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276354132/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules276354132/work/payloads/0000/tree" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:22:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276354132/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules276354132/work/payloads/0000/tree" + time="2021-07-27T05:22:59Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:22:59Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:22:59Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:22:59Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47586->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47586->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34640->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34640->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59076->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59076->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48361->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48361->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:22:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276354132/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules276354132/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 4 (*app.updateRollbackState) - time="2022-08-29T11:32:07Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:07Z" level=info msg="Handling loaded state: update-install" - time="2022-08-29T11:32:07Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:07Z" level=error msg="Mender shut down in state: update-install" - time="2022-08-29T11:32:07Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:07Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47810->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47810->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43041->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43041->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285492307/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules285492307/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49109->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49109->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43937->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43937->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53564->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53564->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46732->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46732->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285492307/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules285492307/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285492307/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules285492307/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:07Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:07Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules285492307/artifact_info file." - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules285492307/artifact_info" - time="2022-08-29T11:32:07Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:07Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.03s) + time="2021-07-27T05:22:59Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:22:59Z" level=info msg="Handling loaded state: update-install" + time="2021-07-27T05:22:59Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:22:59Z" level=error msg="Mender shut down in state: update-install" + time="2021-07-27T05:22:59Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2021-07-27T05:22:59Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48269->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48269->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42678->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42678->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=info msg="Performing rollback" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:22:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276354132/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules276354132/work/payloads/0000/tree" + time="2021-07-27T05:22:59Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59148->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59148->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37081->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37081->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41436->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41436->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45776->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45776->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=debug msg="Handle update error state" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:22:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276354132/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules276354132/work/payloads/0000/tree" + time="2021-07-27T05:22:59Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:22:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276354132/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules276354132/work/payloads/0000/tree" + time="2021-07-27T05:22:59Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:22:59Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:22:59Z" level=debug msg="Reporting complete" + time="2021-07-27T05:22:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules276354132/artifact_info file." + time="2021-07-27T05:22:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules276354132/artifact_info" + time="2021-07-27T05:22:59Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:59Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.09s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot state_test.go:4717: Error in ArtifactReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:07Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50863->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50863->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37778->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37778->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:07Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:07Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules398835512/device_type" - time="2022-08-29T11:32:07Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:07Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:07Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:07Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules398835512/artifact_info file." - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules398835512/artifact_info" - time="2022-08-29T11:32:07Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:07Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules398835512/artifact_info" - time="2022-08-29T11:32:07Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules398835512/device_type" - time="2022-08-29T11:32:07Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:07Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules398835512/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules398835512/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules398835512/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules398835512/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:07Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42281->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42281->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60390->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60390->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55162->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55162->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34989->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34989->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules398835512/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules398835512/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules398835512/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules398835512/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:07Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55053->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55053->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38504->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38504->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43019->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43019->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50675->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50675->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:07Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules398835512/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules398835512/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:07Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:07Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:07Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52487->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52487->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58880->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58880->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46121->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46121->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34765->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34765->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules398835512/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules398835512/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:07Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37614->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37614->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41614->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41614->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49412->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49412->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53901->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53901->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules398835512/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules398835512/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules398835512/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules398835512/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:07Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:07Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48023->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48023->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46428->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46428->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42540->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42540->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42060->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42060->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules398835512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules398835512/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules398835512/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules398835512/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:07Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:07Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules398835512/artifact_info file." - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules398835512/artifact_info" - time="2022-08-29T11:32:07Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:07Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.17s) + time="2021-07-27T05:22:59Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Handle update check state" + time="2021-07-27T05:22:59Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55264->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55264->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56355->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56355->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:22:59Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:22:59Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:22:59Z" level=debug msg="Handling update install state" + time="2021-07-27T05:22:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules951275981/device_type" + time="2021-07-27T05:22:59Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:59Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:59Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:22:59Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:22:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules951275981/artifact_info file." + time="2021-07-27T05:22:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules951275981/artifact_info" + time="2021-07-27T05:22:59Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:59Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:22:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules951275981/artifact_info" + time="2021-07-27T05:22:59Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules951275981/device_type" + time="2021-07-27T05:22:59Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:59Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:22:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules951275981/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules951275981/work/payloads/0000/tree" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:22:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules951275981/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules951275981/work/payloads/0000/tree" + time="2021-07-27T05:22:59Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:22:59Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:22:59Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:22:59Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50378->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50378->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59704->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59704->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58305->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58305->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57057->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57057->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:22:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules951275981/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules951275981/work/payloads/0000/tree" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:22:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules951275981/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules951275981/work/payloads/0000/tree" + time="2021-07-27T05:22:59Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:22:59Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:22:59Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33378->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33378->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49714->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49714->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52988->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52988->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56801->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56801->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:22:59Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:22:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules951275981/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules951275981/work/payloads/0000/tree" + time="2021-07-27T05:22:59Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:22:59Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:22:59Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" + time="2021-07-27T05:22:59Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32914->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32914->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36114->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36114->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51672->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51672->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43819->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43819->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=info msg="Performing rollback" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:22:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules951275981/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules951275981/work/payloads/0000/tree" + time="2021-07-27T05:22:59Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:22:59Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36161->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36161->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41674->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41674->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42897->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42897->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41740->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41740->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:22:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules951275981/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules951275981/work/payloads/0000/tree" + time="2021-07-27T05:22:59Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:22:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules951275981/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules951275981/work/payloads/0000/tree" + time="2021-07-27T05:22:59Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:22:59Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:22:59Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47847->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47847->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47200->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47200->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49262->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49262->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43799->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43799->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=debug msg="Handle update error state" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:22:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules951275981/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules951275981/work/payloads/0000/tree" + time="2021-07-27T05:22:59Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:22:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules951275981/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules951275981/work/payloads/0000/tree" + time="2021-07-27T05:22:59Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:22:59Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:22:59Z" level=debug msg="Reporting complete" + time="2021-07-27T05:22:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules951275981/artifact_info file." + time="2021-07-27T05:22:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules951275981/artifact_info" + time="2021-07-27T05:22:59Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:59Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.41s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot state_test.go:4717: Killed in ArtifactReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:07Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56908->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56908->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41729->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41729->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:07Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:07Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules893921409/device_type" - time="2022-08-29T11:32:07Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:07Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:07Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:07Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules893921409/artifact_info file." - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules893921409/artifact_info" - time="2022-08-29T11:32:07Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:07Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules893921409/artifact_info" - time="2022-08-29T11:32:07Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules893921409/device_type" - time="2022-08-29T11:32:07Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:07Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules893921409/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules893921409/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules893921409/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules893921409/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:07Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57471->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57471->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45708->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45708->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34376->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34376->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40743->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40743->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules893921409/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules893921409/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules893921409/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules893921409/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:07Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39446->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39446->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59491->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59491->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46661->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46661->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54418->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54418->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:07Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules893921409/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules893921409/work/payloads/0000/tree" + time="2021-07-27T05:22:59Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Handle update check state" + time="2021-07-27T05:22:59Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:22:59Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52913->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52913->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38948->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38948->[::1]:53: read: connection refused" + time="2021-07-27T05:22:59Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:22:59Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:22:59Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:22:59Z" level=debug msg="Handling update install state" + time="2021-07-27T05:22:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules697865018/device_type" + time="2021-07-27T05:22:59Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:59Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:59Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:22:59Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:22:59Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:22:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules697865018/artifact_info file." + time="2021-07-27T05:22:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules697865018/artifact_info" + time="2021-07-27T05:22:59Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:59Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:22:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules697865018/artifact_info" + time="2021-07-27T05:22:59Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:22:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules697865018/device_type" + time="2021-07-27T05:22:59Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:22:59Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:22:59Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:00Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules697865018/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules697865018/work/payloads/0000/tree" + time="2021-07-27T05:23:00Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:00Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules697865018/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules697865018/work/payloads/0000/tree" + time="2021-07-27T05:23:00Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:00Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:00Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:00Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:00Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50584->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50584->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51419->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51419->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:00Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50826->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50826->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33813->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33813->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules697865018/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules697865018/work/payloads/0000/tree" + time="2021-07-27T05:23:00Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules697865018/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules697865018/work/payloads/0000/tree" + time="2021-07-27T05:23:00Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:00Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:00Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:00Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36589->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36589->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56558->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56558->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:00Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46462->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46462->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35186->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35186->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:00Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:00Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules697865018/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules697865018/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateVerifyRebootState) - time="2022-08-29T11:32:07Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:07Z" level=info msg="Handling loaded state: reboot" - time="2022-08-29T11:32:07Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:07Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules893921409/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules893921409/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:07Z" level=debug msg="Handling state after reboot" - time="2022-08-29T11:32:07Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34777->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34777->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42717->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42717->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37651->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37651->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41978->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41978->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="Handle update commit state" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules893921409/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules893921409/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Committing new artifact name: artifact-name" - time="2022-08-29T11:32:07Z" level=debug msg="Committing new artifact group name: " - time="2022-08-29T11:32:07Z" level=debug msg="Committing new artifact type-info provides" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules893921409/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules893921409/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2022-08-29T11:32:07Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:07Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:07Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.03s) + time="2021-07-27T05:23:00Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:00Z" level=info msg="Handling loaded state: reboot" + time="2021-07-27T05:23:00Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:00Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:00Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules697865018/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules697865018/work/payloads/0000/tree" + time="2021-07-27T05:23:00Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:00Z" level=debug msg="Handling state after reboot" + time="2021-07-27T05:23:00Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:23:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:00Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46658->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46658->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43604->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43604->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:00Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52692->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52692->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51042->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51042->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=debug msg="Handle update commit state" + time="2021-07-27T05:23:00Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2021-07-27T05:23:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules697865018/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules697865018/work/payloads/0000/tree" + time="2021-07-27T05:23:00Z" level=debug msg="Committing new artifact name: artifact-name" + time="2021-07-27T05:23:00Z" level=debug msg="Committing new artifact group name: " + time="2021-07-27T05:23:00Z" level=debug msg="Committing new artifact type-info provides" + time="2021-07-27T05:23:00Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2021-07-27T05:23:00Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2021-07-27T05:23:00Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2021-07-27T05:23:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:00Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:00Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:00Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules697865018/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules697865018/work/payloads/0000/tree" + time="2021-07-27T05:23:00Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2021-07-27T05:23:00Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:00Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:00Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.06s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyReboot state_test.go:4717: Error in ArtifactVerifyReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:07Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43923->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43923->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33961->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33961->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:07Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:07Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules646957566/device_type" - time="2022-08-29T11:32:07Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:07Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:07Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:07Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules646957566/artifact_info file." - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules646957566/artifact_info" - time="2022-08-29T11:32:07Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:07Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules646957566/artifact_info" - time="2022-08-29T11:32:07Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules646957566/device_type" - time="2022-08-29T11:32:07Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:07Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules646957566/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules646957566/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules646957566/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules646957566/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:07Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39837->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39837->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42491->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42491->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53640->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53640->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55129->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55129->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules646957566/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules646957566/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules646957566/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules646957566/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:07Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43232->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43232->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39249->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39249->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54884->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54884->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54867->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54867->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:07Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules646957566/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules646957566/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules646957566/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules646957566/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:07Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:07Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:07Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54019->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54019->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55646->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55646->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50921->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50921->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38828->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38828->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules646957566/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules646957566/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:07Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51087->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51087->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45841->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45841->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37227->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37227->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49216->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49216->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules646957566/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules646957566/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules646957566/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules646957566/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:07Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:07Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45401->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45401->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50027->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50027->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56504->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56504->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49537->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49537->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules646957566/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules646957566/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules646957566/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules646957566/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:07Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:07Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules646957566/artifact_info file." - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules646957566/artifact_info" - time="2022-08-29T11:32:07Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:07Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.18s) + time="2021-07-27T05:23:00Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:00Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:00Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:00Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48333->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48333->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42451->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42451->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:00Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:00Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:00Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:00Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules289490347/device_type" + time="2021-07-27T05:23:00Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:00Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:00Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:00Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:00Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:00Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:00Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:00Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:00Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:00Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:00Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:00Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:00Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:00Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:00Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:00Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:00Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:00Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:00Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:00Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:00Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:00Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:00Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:00Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules289490347/artifact_info file." + time="2021-07-27T05:23:00Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules289490347/artifact_info" + time="2021-07-27T05:23:00Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:00Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:00Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules289490347/artifact_info" + time="2021-07-27T05:23:00Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:00Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules289490347/device_type" + time="2021-07-27T05:23:00Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:00Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:00Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:00Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289490347/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules289490347/work/payloads/0000/tree" + time="2021-07-27T05:23:00Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:00Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289490347/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules289490347/work/payloads/0000/tree" + time="2021-07-27T05:23:00Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:00Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:00Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:00Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:00Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48407->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48407->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45326->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45326->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:00Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51622->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51622->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50228->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50228->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289490347/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules289490347/work/payloads/0000/tree" + time="2021-07-27T05:23:00Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289490347/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules289490347/work/payloads/0000/tree" + time="2021-07-27T05:23:00Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:00Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:00Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:00Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51943->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51943->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53143->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53143->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:00Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57003->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57003->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53342->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53342->[::1]:53: read: connection refused" + time="2021-07-27T05:23:00Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:00Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:00Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289490347/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules289490347/work/payloads/0000/tree" + time="2021-07-27T05:23:00Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:00Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289490347/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules289490347/work/payloads/0000/tree" + time="2021-07-27T05:23:00Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:00Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:01Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:01Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49984->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49984->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46253->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46253->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58885->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58885->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54012->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54012->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:01Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289490347/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules289490347/work/payloads/0000/tree" + time="2021-07-27T05:23:01Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:01Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58861->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58861->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39082->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39082->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32810->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32810->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36202->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36202->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:01Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289490347/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules289490347/work/payloads/0000/tree" + time="2021-07-27T05:23:01Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:01Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289490347/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules289490347/work/payloads/0000/tree" + time="2021-07-27T05:23:01Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:01Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:01Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48156->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48156->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36602->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36602->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55339->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55339->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52590->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52590->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:01Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289490347/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules289490347/work/payloads/0000/tree" + time="2021-07-27T05:23:01Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:01Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289490347/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules289490347/work/payloads/0000/tree" + time="2021-07-27T05:23:01Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:01Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:01Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:01Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules289490347/artifact_info file." + time="2021-07-27T05:23:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules289490347/artifact_info" + time="2021-07-27T05:23:01Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:01Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.65s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyReboot state_test.go:4717: Killed in ArtifactVerifyReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:07Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54122->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54122->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51807->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51807->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:07Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:07Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules942685119/device_type" - time="2022-08-29T11:32:07Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:07Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:07Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:07Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules942685119/artifact_info file." - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules942685119/artifact_info" - time="2022-08-29T11:32:07Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:07Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules942685119/artifact_info" - time="2022-08-29T11:32:07Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules942685119/device_type" - time="2022-08-29T11:32:07Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:07Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules942685119/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules942685119/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules942685119/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules942685119/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:07Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38107->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38107->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37744->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37744->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41025->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41025->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48997->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48997->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules942685119/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules942685119/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules942685119/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules942685119/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:07Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56303->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56303->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49469->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49469->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54281->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54281->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52987->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52987->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:07Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules942685119/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules942685119/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules942685119/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules942685119/work/payloads/0000/tree" + time="2021-07-27T05:23:01Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:01Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40997->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40997->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41557->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41557->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:01Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:01Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:01Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules202125168/device_type" + time="2021-07-27T05:23:01Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:01Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:01Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:01Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:01Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:01Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules202125168/artifact_info file." + time="2021-07-27T05:23:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules202125168/artifact_info" + time="2021-07-27T05:23:01Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:01Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules202125168/artifact_info" + time="2021-07-27T05:23:01Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules202125168/device_type" + time="2021-07-27T05:23:01Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:01Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:01Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:01Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules202125168/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules202125168/work/payloads/0000/tree" + time="2021-07-27T05:23:01Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:01Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules202125168/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules202125168/work/payloads/0000/tree" + time="2021-07-27T05:23:01Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:01Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:01Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:01Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53323->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53323->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37888->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37888->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40390->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40390->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56694->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56694->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules202125168/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules202125168/work/payloads/0000/tree" + time="2021-07-27T05:23:01Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules202125168/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules202125168/work/payloads/0000/tree" + time="2021-07-27T05:23:01Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:01Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:01Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34557->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34557->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55728->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55728->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49669->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49669->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57181->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57181->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:01Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:01Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules202125168/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules202125168/work/payloads/0000/tree" + time="2021-07-27T05:23:01Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:01Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules202125168/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules202125168/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 6 (*app.updateRollbackState) - time="2022-08-29T11:32:07Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:07Z" level=info msg="Handling loaded state: after-reboot" - time="2022-08-29T11:32:07Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:07Z" level=error msg="Mender shut down in state: after-reboot" - time="2022-08-29T11:32:07Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:07Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40821->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40821->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60032->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60032->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules942685119/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules942685119/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:07Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58733->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58733->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57854->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57854->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50038->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50038->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57790->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57790->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules942685119/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules942685119/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules942685119/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules942685119/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:07Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:07Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45387->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45387->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53571->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53571->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35854->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35854->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46074->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46074->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules942685119/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules942685119/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules942685119/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules942685119/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:07Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:07Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules942685119/artifact_info file." - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules942685119/artifact_info" - time="2022-08-29T11:32:07Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:07Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.06s) + time="2021-07-27T05:23:01Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:01Z" level=info msg="Handling loaded state: after-reboot" + time="2021-07-27T05:23:01Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:01Z" level=error msg="Mender shut down in state: after-reboot" + time="2021-07-27T05:23:01Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:01Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43736->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43736->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52576->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52576->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:01Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules202125168/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules202125168/work/payloads/0000/tree" + time="2021-07-27T05:23:01Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:01Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40256->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40256->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54087->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54087->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45992->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45992->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38297->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38297->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:01Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules202125168/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules202125168/work/payloads/0000/tree" + time="2021-07-27T05:23:01Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:01Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules202125168/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules202125168/work/payloads/0000/tree" + time="2021-07-27T05:23:01Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:01Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:01Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54829->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54829->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47352->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47352->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60461->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60461->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44447->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44447->[::1]:53: read: connection refused" + time="2021-07-27T05:23:01Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:01Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules202125168/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules202125168/work/payloads/0000/tree" + time="2021-07-27T05:23:01Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:01Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules202125168/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules202125168/work/payloads/0000/tree" + time="2021-07-27T05:23:01Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:01Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:01Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:01Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:01Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules202125168/artifact_info file." + time="2021-07-27T05:23:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules202125168/artifact_info" + time="2021-07-27T05:23:01Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:01Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.26s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback state_test.go:4717: Error in ArtifactRollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:07Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:07Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43978->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43978->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57698->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57698->[::1]:53: read: connection refused" - time="2022-08-29T11:32:07Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:07Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:07Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:07Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules504167188/device_type" - time="2022-08-29T11:32:07Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:07Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:07Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:07Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules504167188/artifact_info file." - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules504167188/artifact_info" - time="2022-08-29T11:32:07Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:07Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules504167188/artifact_info" - time="2022-08-29T11:32:07Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules504167188/device_type" - time="2022-08-29T11:32:07Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:07Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:07Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules504167188/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules504167188/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:07Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules504167188/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules504167188/work/payloads/0000/tree" - time="2022-08-29T11:32:07Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:08Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60416->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60416->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37884->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37884->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45481->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45481->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48269->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48269->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules504167188/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules504167188/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules504167188/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules504167188/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:08Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34836->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34836->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50156->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50156->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48009->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48009->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33051->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33051->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:08Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules504167188/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules504167188/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules504167188/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules504167188/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:08Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:08Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:08Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52698->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52698->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51636->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51636->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58918->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58918->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46763->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46763->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules504167188/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules504167188/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:08Z" level=error msg="Rollback failed: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:08Z" level=error msg="fatal error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:08Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2022-08-29T11:32:08Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54392->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54392->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42455->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42455->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59081->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59081->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40443->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40443->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules504167188/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules504167188/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules504167188/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules504167188/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:08Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:08Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:08Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.19s) + time="2021-07-27T05:23:02Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:02Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:02Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:02Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38729->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38729->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58571->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58571->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:02Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:02Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:02Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules329651993/device_type" + time="2021-07-27T05:23:02Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:02Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:02Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:02Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:02Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:02Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules329651993/artifact_info file." + time="2021-07-27T05:23:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules329651993/artifact_info" + time="2021-07-27T05:23:02Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:02Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules329651993/artifact_info" + time="2021-07-27T05:23:02Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules329651993/device_type" + time="2021-07-27T05:23:02Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:02Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:02Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules329651993/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules329651993/work/payloads/0000/tree" + time="2021-07-27T05:23:02Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:02Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules329651993/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules329651993/work/payloads/0000/tree" + time="2021-07-27T05:23:02Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:02Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:02Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:02Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:02Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55397->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55397->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36652->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36652->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:02Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56805->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56805->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53497->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53497->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules329651993/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules329651993/work/payloads/0000/tree" + time="2021-07-27T05:23:02Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules329651993/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules329651993/work/payloads/0000/tree" + time="2021-07-27T05:23:02Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:02Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:02Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:02Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54886->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54886->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41260->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41260->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:02Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40624->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40624->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49816->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49816->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:02Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:02Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules329651993/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules329651993/work/payloads/0000/tree" + time="2021-07-27T05:23:02Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:02Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules329651993/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules329651993/work/payloads/0000/tree" + time="2021-07-27T05:23:02Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:02Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:02Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:02Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:02Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50458->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50458->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56872->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56872->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:02Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37040->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37040->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47594->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47594->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:02Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules329651993/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules329651993/work/payloads/0000/tree" + time="2021-07-27T05:23:02Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:02Z" level=error msg="Rollback failed: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:02Z" level=error msg="fatal error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:02Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2021-07-27T05:23:02Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:02Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42655->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42655->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56695->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56695->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:02Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48762->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48762->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40990->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40990->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:02Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules329651993/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules329651993/work/payloads/0000/tree" + time="2021-07-27T05:23:02Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:02Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:02Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:02Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules329651993/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules329651993/work/payloads/0000/tree" + time="2021-07-27T05:23:02Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:02Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:02Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:02Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:02Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.72s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback state_test.go:4717: Killed in ArtifactRollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:08Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35475->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35475->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41424->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41424->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:08Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:08Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules826190221/device_type" - time="2022-08-29T11:32:08Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:08Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:08Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:08Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules826190221/artifact_info file." - time="2022-08-29T11:32:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules826190221/artifact_info" - time="2022-08-29T11:32:08Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:08Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules826190221/artifact_info" - time="2022-08-29T11:32:08Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules826190221/device_type" - time="2022-08-29T11:32:08Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:08Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules826190221/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules826190221/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules826190221/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules826190221/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:08Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58520->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58520->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46675->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46675->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58652->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58652->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39419->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39419->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules826190221/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules826190221/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules826190221/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules826190221/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:08Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46365->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46365->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48607->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48607->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58014->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58014->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47763->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47763->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:08Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules826190221/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules826190221/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules826190221/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules826190221/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:08Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:08Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:08Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38318->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38318->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57594->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57594->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44917->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44917->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35867->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35867->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules826190221/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules826190221/work/payloads/0000/tree" + time="2021-07-27T05:23:02Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:02Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:02Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:02Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55682->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55682->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54534->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54534->[::1]:53: read: connection refused" + time="2021-07-27T05:23:02Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:02Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:02Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:02Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules803575926/device_type" + time="2021-07-27T05:23:02Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:02Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:02Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:02Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:02Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:02Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules803575926/artifact_info file." + time="2021-07-27T05:23:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules803575926/artifact_info" + time="2021-07-27T05:23:02Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:02Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules803575926/artifact_info" + time="2021-07-27T05:23:02Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules803575926/device_type" + time="2021-07-27T05:23:02Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:02Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:02Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules803575926/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules803575926/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules803575926/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules803575926/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:03Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:03Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:03Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58324->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58324->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56563->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56563->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45733->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45733->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37670->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37670->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules803575926/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules803575926/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules803575926/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules803575926/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:03Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:03Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52365->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52365->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42098->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42098->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44313->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44313->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45899->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45899->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:03Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules803575926/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules803575926/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules803575926/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules803575926/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:03Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:03Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:03Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32836->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32836->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56211->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56211->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41717->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41717->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46881->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46881->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules803575926/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules803575926/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 7 (*app.updateRollbackState) - time="2022-08-29T11:32:08Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:08Z" level=info msg="Handling loaded state: rollback" - time="2022-08-29T11:32:08Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:08Z" level=error msg="Mender shut down in state: rollback" - time="2022-08-29T11:32:08Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:08Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45364->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45364->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51939->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51939->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules826190221/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules826190221/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:08Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59624->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59624->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46514->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46514->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52863->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52863->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37102->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37102->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules826190221/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules826190221/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules826190221/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules826190221/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:08Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:08Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56213->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56213->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50869->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50869->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60203->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60203->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51187->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51187->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules826190221/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules826190221/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules826190221/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules826190221/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:08Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:08Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules826190221/artifact_info file." - time="2022-08-29T11:32:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules826190221/artifact_info" - time="2022-08-29T11:32:08Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:08Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.05s) + time="2021-07-27T05:23:03Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:03Z" level=info msg="Handling loaded state: rollback" + time="2021-07-27T05:23:03Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:03Z" level=error msg="Mender shut down in state: rollback" + time="2021-07-27T05:23:03Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:03Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50323->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50323->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39424->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39424->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules803575926/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules803575926/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:03Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53845->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53845->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56923->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56923->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54721->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54721->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54975->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54975->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules803575926/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules803575926/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules803575926/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules803575926/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:03Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:03Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39730->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39730->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39119->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39119->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44295->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44295->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52312->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52312->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules803575926/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules803575926/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules803575926/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules803575926/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:03Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:03Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:03Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules803575926/artifact_info file." + time="2021-07-27T05:23:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules803575926/artifact_info" + time="2021-07-27T05:23:03Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:03Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.10s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot state_test.go:4717: Error in ArtifactRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:08Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53652->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53652->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48356->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48356->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:08Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:08Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules018201082/device_type" - time="2022-08-29T11:32:08Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:08Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:08Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:08Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules018201082/artifact_info file." - time="2022-08-29T11:32:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules018201082/artifact_info" - time="2022-08-29T11:32:08Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:08Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules018201082/artifact_info" - time="2022-08-29T11:32:08Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules018201082/device_type" - time="2022-08-29T11:32:08Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:08Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules018201082/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules018201082/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules018201082/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules018201082/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:08Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51848->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51848->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54968->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54968->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42268->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42268->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41196->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41196->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules018201082/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules018201082/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules018201082/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules018201082/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:08Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57923->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57923->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38153->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38153->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39842->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39842->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45899->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45899->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:08Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules018201082/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules018201082/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules018201082/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules018201082/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:08Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:08Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:08Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43284->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43284->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36477->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36477->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36768->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36768->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36664->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36664->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules018201082/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules018201082/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:08Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35163->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35163->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60350->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60350->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55727->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55727->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59676->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59676->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules018201082/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules018201082/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:08Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:08Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules018201082/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules018201082/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:08Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:08Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43753->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43753->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58637->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58637->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41382->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41382->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35256->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35256->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules018201082/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules018201082/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules018201082/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules018201082/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:08Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:08Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules018201082/artifact_info file." - time="2022-08-29T11:32:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules018201082/artifact_info" - time="2022-08-29T11:32:08Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:08Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.20s) + time="2021-07-27T05:23:03Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:03Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37192->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37192->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55364->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55364->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:03Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:03Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:03Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules621076887/device_type" + time="2021-07-27T05:23:03Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:03Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:03Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:03Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:03Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:03Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:03Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:03Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:03Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:03Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:03Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:03Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:03Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:03Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:03Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:03Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:03Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:03Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:03Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:03Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:03Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:03Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:03Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules621076887/artifact_info file." + time="2021-07-27T05:23:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules621076887/artifact_info" + time="2021-07-27T05:23:03Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:03Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules621076887/artifact_info" + time="2021-07-27T05:23:03Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules621076887/device_type" + time="2021-07-27T05:23:03Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:03Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:03Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules621076887/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules621076887/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules621076887/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules621076887/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:03Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:03Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:03Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56475->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56475->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47946->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47946->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32859->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32859->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52410->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52410->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules621076887/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules621076887/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules621076887/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules621076887/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:03Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:03Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41356->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41356->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48820->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48820->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33443->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33443->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52338->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52338->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:03Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules621076887/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules621076887/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules621076887/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules621076887/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:03Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:03Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:03Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33506->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33506->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52214->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52214->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42418->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42418->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57776->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57776->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules621076887/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules621076887/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:03Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42592->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42592->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46992->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46992->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49956->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49956->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40623->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40623->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules621076887/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules621076887/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:03Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:03Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules621076887/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules621076887/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:03Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:03Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52610->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52610->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37348->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37348->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56459->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56459->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53292->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53292->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules621076887/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules621076887/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:03Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules621076887/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules621076887/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:03Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:03Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:03Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules621076887/artifact_info file." + time="2021-07-27T05:23:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules621076887/artifact_info" + time="2021-07-27T05:23:03Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:03Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.56s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot state_test.go:4717: Killed in ArtifactRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:08Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33390->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33390->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35021->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35021->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:08Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:08Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules989854059/device_type" - time="2022-08-29T11:32:08Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:08Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:08Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:08Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules989854059/artifact_info file." - time="2022-08-29T11:32:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules989854059/artifact_info" - time="2022-08-29T11:32:08Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:08Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules989854059/artifact_info" - time="2022-08-29T11:32:08Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules989854059/device_type" - time="2022-08-29T11:32:08Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:08Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules989854059/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules989854059/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules989854059/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules989854059/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:08Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39269->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39269->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50546->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50546->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52523->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52523->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40037->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40037->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules989854059/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules989854059/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules989854059/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules989854059/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:08Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36121->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36121->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39359->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39359->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36228->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36228->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58065->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58065->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:08Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules989854059/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules989854059/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules989854059/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules989854059/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:08Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:08Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:08Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42052->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42052->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36894->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36894->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58842->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58842->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50007->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50007->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules989854059/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules989854059/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:08Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53305->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53305->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52930->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52930->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53267->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53267->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59474->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59474->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules989854059/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules989854059/work/payloads/0000/tree" + time="2021-07-27T05:23:03Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:03Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:03Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34828->[::1]:53: read: connection refused" + time="2021-07-27T05:23:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34828->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42535->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42535->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:04Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:04Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:04Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules461580748/device_type" + time="2021-07-27T05:23:04Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:04Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:04Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:04Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:04Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:04Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules461580748/artifact_info file." + time="2021-07-27T05:23:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules461580748/artifact_info" + time="2021-07-27T05:23:04Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:04Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules461580748/artifact_info" + time="2021-07-27T05:23:04Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules461580748/device_type" + time="2021-07-27T05:23:04Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:04Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:04Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules461580748/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules461580748/work/payloads/0000/tree" + time="2021-07-27T05:23:04Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:04Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules461580748/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules461580748/work/payloads/0000/tree" + time="2021-07-27T05:23:04Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:04Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:04Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:04Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:04Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45909->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45909->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48285->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48285->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:04Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47642->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47642->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37746->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37746->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules461580748/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules461580748/work/payloads/0000/tree" + time="2021-07-27T05:23:04Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules461580748/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules461580748/work/payloads/0000/tree" + time="2021-07-27T05:23:04Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:04Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:04Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:04Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53681->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53681->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33129->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33129->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:04Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52690->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52690->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43267->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43267->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:04Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:04Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules461580748/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules461580748/work/payloads/0000/tree" + time="2021-07-27T05:23:04Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:04Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules461580748/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules461580748/work/payloads/0000/tree" + time="2021-07-27T05:23:04Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:04Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:04Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:04Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:04Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46137->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46137->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58098->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58098->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:04Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57198->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57198->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49896->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49896->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:04Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules461580748/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules461580748/work/payloads/0000/tree" + time="2021-07-27T05:23:04Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:04Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:04Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51992->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51992->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55194->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55194->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:04Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48090->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48090->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38907->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38907->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:04Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules461580748/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules461580748/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateVerifyRollbackRebootState) - time="2022-08-29T11:32:08Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:08Z" level=info msg="Handling loaded state: rollback-reboot" - time="2022-08-29T11:32:08Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:08Z" level=info msg="Mender shut down in state: rollback-reboot" - time="2022-08-29T11:32:08Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:08Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules989854059/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules989854059/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:08Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:08Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53324->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53324->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55037->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55037->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36191->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36191->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33129->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33129->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules989854059/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules989854059/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules989854059/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules989854059/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:08Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:08Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules989854059/artifact_info file." - time="2022-08-29T11:32:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules989854059/artifact_info" - time="2022-08-29T11:32:08Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:08Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.03s) + time="2021-07-27T05:23:04Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:04Z" level=info msg="Handling loaded state: rollback-reboot" + time="2021-07-27T05:23:04Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:04Z" level=info msg="Mender shut down in state: rollback-reboot" + time="2021-07-27T05:23:04Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:04Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:04Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules461580748/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules461580748/work/payloads/0000/tree" + time="2021-07-27T05:23:04Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:04Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:04Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:04Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55074->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55074->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34946->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34946->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:04Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50216->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50216->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52937->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52937->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:04Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules461580748/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules461580748/work/payloads/0000/tree" + time="2021-07-27T05:23:04Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:04Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:04Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:04Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules461580748/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules461580748/work/payloads/0000/tree" + time="2021-07-27T05:23:04Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:04Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:04Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:04Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:04Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules461580748/artifact_info file." + time="2021-07-27T05:23:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules461580748/artifact_info" + time="2021-07-27T05:23:04Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:04Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.05s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyRollbackReboot state_test.go:4717: Error in ArtifactVerifyRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:08Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40783->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40783->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44497->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44497->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:08Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:08Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules829392432/device_type" - time="2022-08-29T11:32:08Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:08Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:08Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:08Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules829392432/artifact_info file." - time="2022-08-29T11:32:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules829392432/artifact_info" - time="2022-08-29T11:32:08Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:08Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules829392432/artifact_info" - time="2022-08-29T11:32:08Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules829392432/device_type" - time="2022-08-29T11:32:08Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:08Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:08Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules829392432/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules829392432/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules829392432/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules829392432/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:08Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37881->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37881->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41463->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41463->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45409->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45409->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49947->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49947->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules829392432/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules829392432/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules829392432/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules829392432/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:08Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:08Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59038->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59038->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38393->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38393->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45363->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45363->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54719->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54719->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:08Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules829392432/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules829392432/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules829392432/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules829392432/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:08Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:08Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:08Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57110->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57110->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52614->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52614->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39904->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39904->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53158->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53158->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules829392432/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules829392432/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:08Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53446->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53446->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51753->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51753->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34676->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34676->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45567->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45567->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules829392432/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules829392432/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules829392432/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules829392432/work/payloads/0000/tree" - time="2022-08-29T11:32:08Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:08Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:08Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45299->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45299->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45287->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45287->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:08Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33558->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33558->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51699->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51699->[::1]:53: read: connection refused" - time="2022-08-29T11:32:08Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:08Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules829392432/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules829392432/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules829392432/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules829392432/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:09Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:09Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37216->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37216->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44092->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44092->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49643->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49643->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47119->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47119->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules829392432/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules829392432/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules829392432/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules829392432/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:09Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:09Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules829392432/artifact_info file." - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules829392432/artifact_info" - time="2022-08-29T11:32:09Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:09Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.22s) + time="2021-07-27T05:23:04Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:04Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:04Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:04Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55756->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55756->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48585->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48585->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:04Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:04Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:04Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules408385701/device_type" + time="2021-07-27T05:23:04Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:04Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:04Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:04Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:04Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:04Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules408385701/artifact_info file." + time="2021-07-27T05:23:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules408385701/artifact_info" + time="2021-07-27T05:23:04Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:04Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules408385701/artifact_info" + time="2021-07-27T05:23:04Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules408385701/device_type" + time="2021-07-27T05:23:04Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:04Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:04Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:04Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules408385701/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules408385701/work/payloads/0000/tree" + time="2021-07-27T05:23:04Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:04Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules408385701/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules408385701/work/payloads/0000/tree" + time="2021-07-27T05:23:04Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:04Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:04Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:04Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:04Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51559->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51559->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41324->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41324->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:04Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37967->[::1]:53: read: connection refused" + time="2021-07-27T05:23:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37967->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38929->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38929->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules408385701/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules408385701/work/payloads/0000/tree" + time="2021-07-27T05:23:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules408385701/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules408385701/work/payloads/0000/tree" + time="2021-07-27T05:23:05Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:05Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:05Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55703->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55703->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39042->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39042->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:05Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47038->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47038->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51203->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51203->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:05Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:05Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules408385701/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules408385701/work/payloads/0000/tree" + time="2021-07-27T05:23:05Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:05Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules408385701/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules408385701/work/payloads/0000/tree" + time="2021-07-27T05:23:05Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:05Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:05Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:05Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:05Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49022->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49022->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34630->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34630->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:05Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55626->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55626->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48607->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48607->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:05Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules408385701/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules408385701/work/payloads/0000/tree" + time="2021-07-27T05:23:05Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:05Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:05Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36533->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36533->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40054->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40054->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:05Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50123->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50123->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48310->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48310->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:05Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules408385701/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules408385701/work/payloads/0000/tree" + time="2021-07-27T05:23:05Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:05Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules408385701/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules408385701/work/payloads/0000/tree" + time="2021-07-27T05:23:05Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:05Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:05Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:05Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53878->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53878->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54104->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54104->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:05Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49442->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49442->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42951->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42951->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:05Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules408385701/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules408385701/work/payloads/0000/tree" + time="2021-07-27T05:23:05Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:05Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules408385701/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules408385701/work/payloads/0000/tree" + time="2021-07-27T05:23:05Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:05Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:05Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:05Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56888->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56888->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49917->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49917->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40057->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40057->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47300->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47300->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:05Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules408385701/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules408385701/work/payloads/0000/tree" + time="2021-07-27T05:23:05Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:05Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:05Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules408385701/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules408385701/work/payloads/0000/tree" + time="2021-07-27T05:23:05Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:05Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:05Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:05Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:05Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules408385701/artifact_info file." + time="2021-07-27T05:23:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules408385701/artifact_info" + time="2021-07-27T05:23:05Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:05Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.76s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyRollbackReboot state_test.go:4717: Killed in ArtifactVerifyRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:09Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36528->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36528->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40078->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40078->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:09Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:09Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules570734809/device_type" - time="2022-08-29T11:32:09Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:09Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:09Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:09Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules570734809/artifact_info file." - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules570734809/artifact_info" - time="2022-08-29T11:32:09Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:09Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules570734809/artifact_info" - time="2022-08-29T11:32:09Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules570734809/device_type" - time="2022-08-29T11:32:09Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:09Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules570734809/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules570734809/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules570734809/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules570734809/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:09Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51273->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51273->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60999->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60999->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49445->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49445->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49740->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49740->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules570734809/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules570734809/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules570734809/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules570734809/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:09Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42859->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42859->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39604->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39604->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57815->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57815->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38388->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38388->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:09Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules570734809/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules570734809/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules570734809/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules570734809/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:09Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:09Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:09Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37605->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37605->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56230->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56230->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45303->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45303->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41830->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41830->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules570734809/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules570734809/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:09Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47950->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47950->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35755->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35755->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38280->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38280->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38812->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38812->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules570734809/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules570734809/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules570734809/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules570734809/work/payloads/0000/tree" + time="2021-07-27T05:23:05Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:05Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:05Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:05Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54031->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54031->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49320->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49320->[::1]:53: read: connection refused" + time="2021-07-27T05:23:05Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:05Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:05Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:05Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules034212594/device_type" + time="2021-07-27T05:23:05Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:05Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:05Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:05Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules034212594/artifact_info file." + time="2021-07-27T05:23:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules034212594/artifact_info" + time="2021-07-27T05:23:06Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:06Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules034212594/artifact_info" + time="2021-07-27T05:23:06Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules034212594/device_type" + time="2021-07-27T05:23:06Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:06Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules034212594/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules034212594/work/payloads/0000/tree" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules034212594/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules034212594/work/payloads/0000/tree" + time="2021-07-27T05:23:06Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:06Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:06Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:06Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52449->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52449->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55767->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55767->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43660->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43660->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46456->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46456->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules034212594/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules034212594/work/payloads/0000/tree" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules034212594/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules034212594/work/payloads/0000/tree" + time="2021-07-27T05:23:06Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:06Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:06Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59968->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59968->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58287->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58287->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54595->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54595->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36131->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36131->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:06Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules034212594/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules034212594/work/payloads/0000/tree" + time="2021-07-27T05:23:06Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules034212594/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules034212594/work/payloads/0000/tree" + time="2021-07-27T05:23:06Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:06Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:06Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:06Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35927->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35927->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54781->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54781->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33185->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33185->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60467->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60467->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules034212594/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules034212594/work/payloads/0000/tree" + time="2021-07-27T05:23:06Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:06Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55901->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55901->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52792->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52792->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59940->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59940->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50332->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50332->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules034212594/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules034212594/work/payloads/0000/tree" + time="2021-07-27T05:23:06Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules034212594/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules034212594/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 9 (*app.updateVerifyRollbackRebootState) - time="2022-08-29T11:32:09Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:09Z" level=info msg="Handling loaded state: verify-rollback-reboot" - time="2022-08-29T11:32:09Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:09Z" level=error msg="Mender shut down in state: verify-rollback-reboot" - time="2022-08-29T11:32:09Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:09Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules570734809/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules570734809/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:09Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:09Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50530->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50530->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43857->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43857->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44696->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44696->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53081->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53081->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules570734809/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules570734809/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules570734809/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules570734809/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:09Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:09Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules570734809/artifact_info file." - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules570734809/artifact_info" - time="2022-08-29T11:32:09Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:09Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.03s) + time="2021-07-27T05:23:06Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:06Z" level=info msg="Handling loaded state: verify-rollback-reboot" + time="2021-07-27T05:23:06Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:06Z" level=error msg="Mender shut down in state: verify-rollback-reboot" + time="2021-07-27T05:23:06Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:06Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules034212594/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules034212594/work/payloads/0000/tree" + time="2021-07-27T05:23:06Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:06Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:06Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33622->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33622->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54428->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54428->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49059->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49059->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56898->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56898->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules034212594/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules034212594/work/payloads/0000/tree" + time="2021-07-27T05:23:06Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules034212594/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules034212594/work/payloads/0000/tree" + time="2021-07-27T05:23:06Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:06Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:06Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules034212594/artifact_info file." + time="2021-07-27T05:23:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules034212594/artifact_info" + time="2021-07-27T05:23:06Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:06Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.09s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure state_test.go:4717: Error in ArtifactFailure state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:09Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35484->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35484->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41661->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41661->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:09Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:09Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules832674102/device_type" - time="2022-08-29T11:32:09Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:09Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:09Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:09Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules832674102/artifact_info file." - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules832674102/artifact_info" - time="2022-08-29T11:32:09Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:09Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules832674102/artifact_info" - time="2022-08-29T11:32:09Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules832674102/device_type" - time="2022-08-29T11:32:09Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:09Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules832674102/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules832674102/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules832674102/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules832674102/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:09Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54985->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54985->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57199->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57199->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45638->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45638->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49312->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49312->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules832674102/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules832674102/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:09Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:09Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42282->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42282->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54792->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54792->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49356->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49356->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42432->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42432->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules832674102/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules832674102/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59017->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59017->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42505->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42505->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54595->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54595->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43592->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43592->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules832674102/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules832674102/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:09Z" level=error msg="ArtifactFailure failed: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules832674102/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules832674102/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:09Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:09Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules832674102/artifact_info file." - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules832674102/artifact_info" - time="2022-08-29T11:32:09Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:09Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.16s) + time="2021-07-27T05:23:06Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:06Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47641->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47641->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35561->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35561->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:06Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:06Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:06Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules325601219/device_type" + time="2021-07-27T05:23:06Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:06Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:06Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:06Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules325601219/artifact_info file." + time="2021-07-27T05:23:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules325601219/artifact_info" + time="2021-07-27T05:23:06Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:06Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules325601219/artifact_info" + time="2021-07-27T05:23:06Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules325601219/device_type" + time="2021-07-27T05:23:06Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:06Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules325601219/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules325601219/work/payloads/0000/tree" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules325601219/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules325601219/work/payloads/0000/tree" + time="2021-07-27T05:23:06Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:06Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:06Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:06Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51052->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51052->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41802->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41802->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51185->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51185->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45295->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45295->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules325601219/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules325601219/work/payloads/0000/tree" + time="2021-07-27T05:23:06Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:06Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:06Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:06Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40281->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40281->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57906->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57906->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60826->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60826->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42648->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42648->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules325601219/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules325601219/work/payloads/0000/tree" + time="2021-07-27T05:23:06Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47584->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47584->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46294->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46294->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36781->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36781->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44386->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44386->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules325601219/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules325601219/work/payloads/0000/tree" + time="2021-07-27T05:23:06Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:06Z" level=error msg="ArtifactFailure failed: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:06Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:06Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules325601219/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules325601219/work/payloads/0000/tree" + time="2021-07-27T05:23:06Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:06Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:06Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules325601219/artifact_info file." + time="2021-07-27T05:23:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules325601219/artifact_info" + time="2021-07-27T05:23:06Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:06Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.50s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure state_test.go:4717: Killed in ArtifactFailure state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:09Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51016->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51016->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42131->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42131->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:09Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:09Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules671591255/device_type" - time="2022-08-29T11:32:09Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:09Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:09Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:09Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules671591255/artifact_info file." - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules671591255/artifact_info" - time="2022-08-29T11:32:09Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:09Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules671591255/artifact_info" - time="2022-08-29T11:32:09Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules671591255/device_type" - time="2022-08-29T11:32:09Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:09Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671591255/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules671591255/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671591255/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules671591255/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:09Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57259->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57259->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58655->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58655->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35849->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35849->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58273->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58273->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671591255/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules671591255/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:09Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:09Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49124->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49124->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46594->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46594->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57488->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57488->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40510->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40510->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671591255/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules671591255/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41996->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41996->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37378->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37378->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46965->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46965->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35842->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35842->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671591255/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules671591255/work/payloads/0000/tree" + time="2021-07-27T05:23:06Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:06Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:06Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55439->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55439->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44017->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44017->[::1]:53: read: connection refused" + time="2021-07-27T05:23:06Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:06Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:06Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:06Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules256385384/device_type" + time="2021-07-27T05:23:06Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:06Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:06Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:06Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:07Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules256385384/artifact_info file." + time="2021-07-27T05:23:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules256385384/artifact_info" + time="2021-07-27T05:23:07Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:07Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules256385384/artifact_info" + time="2021-07-27T05:23:07Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules256385384/device_type" + time="2021-07-27T05:23:07Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:07Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:07Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules256385384/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules256385384/work/payloads/0000/tree" + time="2021-07-27T05:23:07Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:07Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules256385384/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules256385384/work/payloads/0000/tree" + time="2021-07-27T05:23:07Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:07Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:07Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:07Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:07Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51477->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51477->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37479->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37479->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:07Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59233->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59233->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49468->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49468->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules256385384/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules256385384/work/payloads/0000/tree" + time="2021-07-27T05:23:07Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:07Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:07Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:07Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:07Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39926->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39926->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55855->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55855->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:07Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53584->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53584->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39178->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39178->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:07Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules256385384/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules256385384/work/payloads/0000/tree" + time="2021-07-27T05:23:07Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:07Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48969->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48969->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44692->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44692->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:07Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44027->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44027->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34874->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34874->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:07Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules256385384/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules256385384/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 6 (*app.updateErrorState) - time="2022-08-29T11:32:09Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:09Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:09Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:09Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:09Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:09Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38007->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38007->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50636->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50636->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671591255/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules671591255/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671591255/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules671591255/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:09Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:09Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules671591255/artifact_info file." - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules671591255/artifact_info" - time="2022-08-29T11:32:09Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:09Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.02s) + time="2021-07-27T05:23:07Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:07Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:07Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:07Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:07Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:07Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:07Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59280->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59280->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34350->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34350->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:07Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules256385384/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules256385384/work/payloads/0000/tree" + time="2021-07-27T05:23:07Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:07Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:07Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:07Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules256385384/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules256385384/work/payloads/0000/tree" + time="2021-07-27T05:23:07Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:07Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:07Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:07Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules256385384/artifact_info file." + time="2021-07-27T05:23:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules256385384/artifact_info" + time="2021-07-27T05:23:07Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:07Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_Cleanup state_test.go:4717: Error in Cleanup state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:09Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33287->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33287->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35798->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35798->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:09Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:09Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules840986764/device_type" - time="2022-08-29T11:32:09Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:09Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:09Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:09Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules840986764/artifact_info file." - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules840986764/artifact_info" - time="2022-08-29T11:32:09Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:09Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules840986764/artifact_info" - time="2022-08-29T11:32:09Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules840986764/device_type" - time="2022-08-29T11:32:09Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:09Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules840986764/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules840986764/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules840986764/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules840986764/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:09Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43449->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43449->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39248->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39248->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47177->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47177->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60822->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60822->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules840986764/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules840986764/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules840986764/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules840986764/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:09Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40414->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40414->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34434->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34434->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46834->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46834->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48848->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48848->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:09Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules840986764/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules840986764/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules840986764/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules840986764/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:09Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:09Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:09Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43641->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43641->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56150->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56150->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48500->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48500->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33930->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33930->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules840986764/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules840986764/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:09Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36839->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36839->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55914->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55914->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47190->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47190->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50590->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50590->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules840986764/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules840986764/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules840986764/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules840986764/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:09Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:09Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53274->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53274->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56047->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56047->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49710->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49710->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43562->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43562->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules840986764/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules840986764/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:09Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules840986764/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules840986764/work/payloads/0000/tree" - time="2022-08-29T11:32:09Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:09Z" level=error msg="Cleanup failed: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:09Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:09Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:09Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules840986764/artifact_info file." - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules840986764/artifact_info" - time="2022-08-29T11:32:09Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:09Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.21s) + time="2021-07-27T05:23:07Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:07Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:07Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:07Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35242->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35242->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43095->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43095->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:07Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:07Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:07Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules109344369/device_type" + time="2021-07-27T05:23:07Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:07Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:07Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:07Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:07Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules109344369/artifact_info file." + time="2021-07-27T05:23:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules109344369/artifact_info" + time="2021-07-27T05:23:07Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:07Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules109344369/artifact_info" + time="2021-07-27T05:23:07Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules109344369/device_type" + time="2021-07-27T05:23:07Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:07Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:07Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:07Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules109344369/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules109344369/work/payloads/0000/tree" + time="2021-07-27T05:23:07Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:07Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules109344369/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules109344369/work/payloads/0000/tree" + time="2021-07-27T05:23:07Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:07Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:07Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:07Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:07Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41685->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41685->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46890->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46890->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:07Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60332->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60332->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60861->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60861->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules109344369/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules109344369/work/payloads/0000/tree" + time="2021-07-27T05:23:07Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules109344369/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules109344369/work/payloads/0000/tree" + time="2021-07-27T05:23:07Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:07Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:07Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:07Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53899->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53899->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42370->[::1]:53: read: connection refused" + time="2021-07-27T05:23:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42370->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54114->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54114->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41415->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41415->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:08Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:08Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules109344369/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules109344369/work/payloads/0000/tree" + time="2021-07-27T05:23:08Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:08Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules109344369/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules109344369/work/payloads/0000/tree" + time="2021-07-27T05:23:08Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:08Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:08Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:08Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34669->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34669->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59348->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59348->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59555->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59555->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59663->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59663->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:08Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules109344369/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules109344369/work/payloads/0000/tree" + time="2021-07-27T05:23:08Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:08Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37859->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37859->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48504->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48504->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47766->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47766->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37123->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37123->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:08Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules109344369/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules109344369/work/payloads/0000/tree" + time="2021-07-27T05:23:08Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:08Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules109344369/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules109344369/work/payloads/0000/tree" + time="2021-07-27T05:23:08Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:08Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:08Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59469->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59469->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50137->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50137->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46835->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46835->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51050->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51050->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:08Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules109344369/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules109344369/work/payloads/0000/tree" + time="2021-07-27T05:23:08Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:08Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules109344369/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules109344369/work/payloads/0000/tree" + time="2021-07-27T05:23:08Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:08Z" level=error msg="Cleanup failed: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:08Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:08Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:08Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules109344369/artifact_info file." + time="2021-07-27T05:23:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules109344369/artifact_info" + time="2021-07-27T05:23:08Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:08Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (1.09s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_Cleanup state_test.go:4717: Killed in Cleanup state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:09Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:09Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40192->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40192->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57081->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57081->[::1]:53: read: connection refused" - time="2022-08-29T11:32:09Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:09Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:09Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:09Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules710981733/device_type" - time="2022-08-29T11:32:09Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:09Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:09Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:09Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules710981733/artifact_info file." - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules710981733/artifact_info" - time="2022-08-29T11:32:10Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:10Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules710981733/artifact_info" - time="2022-08-29T11:32:10Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules710981733/device_type" - time="2022-08-29T11:32:10Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:10Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules710981733/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules710981733/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules710981733/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules710981733/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:10Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55894->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55894->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60295->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60295->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47529->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47529->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56996->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56996->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules710981733/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules710981733/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules710981733/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules710981733/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:10Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35776->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35776->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42054->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42054->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41680->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41680->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37939->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37939->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:10Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules710981733/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules710981733/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules710981733/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules710981733/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:10Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:10Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:10Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55350->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55350->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36645->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36645->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35748->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35748->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48696->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48696->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules710981733/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules710981733/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:10Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34961->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34961->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48302->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48302->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48013->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48013->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36943->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36943->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules710981733/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules710981733/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules710981733/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules710981733/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:10Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:10Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46213->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46213->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40180->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40180->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37972->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37972->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54312->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54312->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules710981733/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules710981733/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules710981733/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules710981733/work/payloads/0000/tree" + time="2021-07-27T05:23:08Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:08Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54600->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54600->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54505->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54505->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:08Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:08Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:08Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules092332206/device_type" + time="2021-07-27T05:23:08Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:08Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:08Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:08Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:08Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules092332206/artifact_info file." + time="2021-07-27T05:23:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules092332206/artifact_info" + time="2021-07-27T05:23:08Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:08Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules092332206/artifact_info" + time="2021-07-27T05:23:08Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules092332206/device_type" + time="2021-07-27T05:23:08Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:08Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:08Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:08Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules092332206/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules092332206/work/payloads/0000/tree" + time="2021-07-27T05:23:08Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:08Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules092332206/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules092332206/work/payloads/0000/tree" + time="2021-07-27T05:23:08Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:08Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:08Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:08Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57205->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57205->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33404->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33404->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54603->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54603->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48199->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48199->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules092332206/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules092332206/work/payloads/0000/tree" + time="2021-07-27T05:23:08Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules092332206/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules092332206/work/payloads/0000/tree" + time="2021-07-27T05:23:08Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:08Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:08Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58954->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58954->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41013->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41013->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51254->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51254->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58034->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58034->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:08Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:08Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules092332206/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules092332206/work/payloads/0000/tree" + time="2021-07-27T05:23:08Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:08Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules092332206/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules092332206/work/payloads/0000/tree" + time="2021-07-27T05:23:08Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:08Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:08Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:08Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58056->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58056->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35941->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35941->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36544->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36544->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47943->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47943->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:08Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules092332206/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules092332206/work/payloads/0000/tree" + time="2021-07-27T05:23:08Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:08Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52575->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52575->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40455->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40455->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:08Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40268->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40268->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58299->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58299->[::1]:53: read: connection refused" + time="2021-07-27T05:23:08Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:08Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules092332206/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules092332206/work/payloads/0000/tree" + time="2021-07-27T05:23:09Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:09Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules092332206/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules092332206/work/payloads/0000/tree" + time="2021-07-27T05:23:09Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:09Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:09Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51071->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51071->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53271->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53271->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:09Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49090->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49090->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38294->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38294->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:09Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules092332206/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules092332206/work/payloads/0000/tree" + time="2021-07-27T05:23:09Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:09Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:09Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:09Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules092332206/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules092332206/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 12 (*app.updateCleanupState) - time="2022-08-29T11:32:10Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:10Z" level=info msg="Handling loaded state: cleanup" - time="2022-08-29T11:32:10Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:10Z" level=error msg="Mender shut down in state: cleanup" - time="2022-08-29T11:32:10Z" level=info msg="State transition: init [none] -> cleanup [Error]" - time="2022-08-29T11:32:10Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules710981733/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules710981733/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:10Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:10Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules710981733/artifact_info file." - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules710981733/artifact_info" - time="2022-08-29T11:32:10Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:10Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.01s) + time="2021-07-27T05:23:09Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:09Z" level=info msg="Handling loaded state: cleanup" + time="2021-07-27T05:23:09Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:09Z" level=error msg="Mender shut down in state: cleanup" + time="2021-07-27T05:23:09Z" level=info msg="State transition: init [none] -> cleanup [Error]" + time="2021-07-27T05:23:09Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:09Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:09Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules092332206/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules092332206/work/payloads/0000/tree" + time="2021-07-27T05:23:09Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:09Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:09Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:09Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules092332206/artifact_info file." + time="2021-07-27T05:23:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules092332206/artifact_info" + time="2021-07-27T05:23:09Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:09Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.18s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit state_test.go:4717: Error in ArtifactCommit state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:10Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51369->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51369->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55142->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55142->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:10Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:10Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules974441906/device_type" - time="2022-08-29T11:32:10Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:10Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:10Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:10Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules974441906/artifact_info file." - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules974441906/artifact_info" - time="2022-08-29T11:32:10Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:10Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules974441906/artifact_info" - time="2022-08-29T11:32:10Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules974441906/device_type" - time="2022-08-29T11:32:10Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:10Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules974441906/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules974441906/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules974441906/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules974441906/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:10Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41672->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41672->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54258->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54258->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38821->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38821->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59692->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59692->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules974441906/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules974441906/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules974441906/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules974441906/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:10Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57749->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57749->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45275->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45275->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34717->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34717->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56278->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56278->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:10Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules974441906/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules974441906/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules974441906/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules974441906/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:10Z" level=debug msg="Handling state after reboot" - time="2022-08-29T11:32:10Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59005->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59005->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60718->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60718->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36199->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36199->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58052->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58052->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="Handle update commit state" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules974441906/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules974441906/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:10Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:10Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36354->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36354->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56211->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56211->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52172->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52172->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39210->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39210->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules974441906/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules974441906/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:10Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52872->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52872->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40465->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40465->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56580->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56580->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55261->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55261->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules974441906/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules974441906/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules974441906/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules974441906/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:10Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:10Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35412->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35412->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41106->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41106->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56178->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56178->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55045->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55045->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules974441906/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules974441906/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules974441906/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules974441906/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:10Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:10Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules974441906/artifact_info file." - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules974441906/artifact_info" - time="2022-08-29T11:32:10Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:10Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.24s) + time="2021-07-27T05:23:09Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:09Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:09Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:09Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35889->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35889->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44285->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44285->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:09Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:09Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:09Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules224087599/device_type" + time="2021-07-27T05:23:09Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:09Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:09Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:09Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:09Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules224087599/artifact_info file." + time="2021-07-27T05:23:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules224087599/artifact_info" + time="2021-07-27T05:23:09Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:09Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules224087599/artifact_info" + time="2021-07-27T05:23:09Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules224087599/device_type" + time="2021-07-27T05:23:09Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:09Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:09Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:09Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules224087599/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules224087599/work/payloads/0000/tree" + time="2021-07-27T05:23:09Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:09Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules224087599/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules224087599/work/payloads/0000/tree" + time="2021-07-27T05:23:09Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:09Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:09Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:09Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:09Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39961->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39961->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35799->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35799->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:09Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34279->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34279->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34903->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34903->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules224087599/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules224087599/work/payloads/0000/tree" + time="2021-07-27T05:23:09Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules224087599/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules224087599/work/payloads/0000/tree" + time="2021-07-27T05:23:09Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:09Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:09Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:09Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46120->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46120->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36067->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36067->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:09Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35053->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35053->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52420->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52420->[::1]:53: read: connection refused" + time="2021-07-27T05:23:09Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:09Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:09Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules224087599/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules224087599/work/payloads/0000/tree" + time="2021-07-27T05:23:09Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:09Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules224087599/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules224087599/work/payloads/0000/tree" + time="2021-07-27T05:23:10Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:10Z" level=debug msg="Handling state after reboot" + time="2021-07-27T05:23:10Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:23:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:10Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41054->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41054->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56797->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56797->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:10Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43399->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43399->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46046->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46046->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=debug msg="Handle update commit state" + time="2021-07-27T05:23:10Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2021-07-27T05:23:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules224087599/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules224087599/work/payloads/0000/tree" + time="2021-07-27T05:23:10Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:10Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:10Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:10Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:10Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55064->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55064->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39281->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39281->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:10Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42491->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42491->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55504->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55504->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:10Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules224087599/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules224087599/work/payloads/0000/tree" + time="2021-07-27T05:23:10Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:10Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:10Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50074->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50074->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57807->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57807->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48573->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48573->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41734->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41734->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:10Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules224087599/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules224087599/work/payloads/0000/tree" + time="2021-07-27T05:23:10Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:10Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules224087599/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules224087599/work/payloads/0000/tree" + time="2021-07-27T05:23:10Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:10Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:10Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45786->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45786->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38930->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38930->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:10Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50980->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50980->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44450->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44450->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:10Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules224087599/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules224087599/work/payloads/0000/tree" + time="2021-07-27T05:23:10Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:10Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:10Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:10Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules224087599/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules224087599/work/payloads/0000/tree" + time="2021-07-27T05:23:10Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:10Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:10Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:10Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules224087599/artifact_info file." + time="2021-07-27T05:23:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules224087599/artifact_info" + time="2021-07-27T05:23:10Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:10Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.72s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit state_test.go:4717: Killed in ArtifactCommit state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:10Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46400->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46400->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43473->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43473->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:10Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:10Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules316884355/device_type" - time="2022-08-29T11:32:10Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:10Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:10Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:10Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules316884355/artifact_info file." - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules316884355/artifact_info" - time="2022-08-29T11:32:10Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:10Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules316884355/artifact_info" - time="2022-08-29T11:32:10Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules316884355/device_type" - time="2022-08-29T11:32:10Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:10Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules316884355/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules316884355/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules316884355/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules316884355/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:10Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52154->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52154->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38251->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38251->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42282->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42282->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46087->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46087->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules316884355/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules316884355/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules316884355/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules316884355/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:10Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38115->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38115->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58972->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58972->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53500->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53500->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45311->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45311->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:10Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules316884355/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules316884355/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules316884355/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules316884355/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:10Z" level=debug msg="Handling state after reboot" - time="2022-08-29T11:32:10Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54104->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54104->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57741->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57741->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34466->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34466->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55106->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55106->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="Handle update commit state" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules316884355/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules316884355/work/payloads/0000/tree" + time="2021-07-27T05:23:10Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:10Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:10Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:10Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43106->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43106->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38613->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38613->[::1]:53: read: connection refused" + time="2021-07-27T05:23:10Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:10Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:10Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:10Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules589525060/device_type" + time="2021-07-27T05:23:10Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:10Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:10Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:10Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:10Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules589525060/artifact_info file." + time="2021-07-27T05:23:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules589525060/artifact_info" + time="2021-07-27T05:23:10Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:10Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules589525060/artifact_info" + time="2021-07-27T05:23:10Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules589525060/device_type" + time="2021-07-27T05:23:10Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:10Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:10Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589525060/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules589525060/work/payloads/0000/tree" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589525060/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules589525060/work/payloads/0000/tree" + time="2021-07-27T05:23:11Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:11Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:11Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:11Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60402->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60402->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50654->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50654->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41788->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41788->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40419->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40419->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589525060/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules589525060/work/payloads/0000/tree" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589525060/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules589525060/work/payloads/0000/tree" + time="2021-07-27T05:23:11Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:11Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:11Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42411->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42411->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37877->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37877->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41661->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41661->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34375->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34375->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:11Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589525060/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules589525060/work/payloads/0000/tree" + time="2021-07-27T05:23:11Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589525060/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules589525060/work/payloads/0000/tree" + time="2021-07-27T05:23:11Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:11Z" level=debug msg="Handling state after reboot" + time="2021-07-27T05:23:11Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46953->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46953->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40525->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40525->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33451->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33451->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37810->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37810->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=debug msg="Handle update commit state" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2021-07-27T05:23:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589525060/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules589525060/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateRollbackState) - time="2022-08-29T11:32:10Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:10Z" level=info msg="Handling loaded state: update-commit" - time="2022-08-29T11:32:10Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:10Z" level=error msg="Mender shut down in state: update-commit" - time="2022-08-29T11:32:10Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:10Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36105->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36105->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59737->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59737->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules316884355/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules316884355/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:10Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44257->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44257->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55212->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55212->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59475->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59475->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45477->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45477->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules316884355/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules316884355/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules316884355/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules316884355/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:10Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:10Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35641->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35641->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52673->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52673->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57942->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57942->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56428->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56428->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules316884355/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules316884355/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules316884355/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules316884355/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:10Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:10Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules316884355/artifact_info file." - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules316884355/artifact_info" - time="2022-08-29T11:32:10Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:10Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.05s) + time="2021-07-27T05:23:11Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:11Z" level=info msg="Handling loaded state: update-commit" + time="2021-07-27T05:23:11Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:11Z" level=error msg="Mender shut down in state: update-commit" + time="2021-07-27T05:23:11Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:11Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43566->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43566->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33806->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33806->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589525060/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules589525060/work/payloads/0000/tree" + time="2021-07-27T05:23:11Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:11Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34954->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34954->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57898->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57898->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42984->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42984->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56481->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56481->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589525060/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules589525060/work/payloads/0000/tree" + time="2021-07-27T05:23:11Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589525060/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules589525060/work/payloads/0000/tree" + time="2021-07-27T05:23:11Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:11Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:11Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50484->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50484->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38440->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38440->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45102->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45102->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58593->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58593->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589525060/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules589525060/work/payloads/0000/tree" + time="2021-07-27T05:23:11Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589525060/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules589525060/work/payloads/0000/tree" + time="2021-07-27T05:23:11Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:11Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:11Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules589525060/artifact_info file." + time="2021-07-27T05:23:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules589525060/artifact_info" + time="2021-07-27T05:23:11Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:11Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.11s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit,_no_reboot state_test.go:4717: Error in ArtifactCommit, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:10Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33157->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33157->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54432->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54432->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:10Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:10Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules353976360/device_type" - time="2022-08-29T11:32:10Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:10Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:10Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:10Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules353976360/artifact_info file." - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules353976360/artifact_info" - time="2022-08-29T11:32:10Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:10Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules353976360/artifact_info" - time="2022-08-29T11:32:10Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules353976360/device_type" - time="2022-08-29T11:32:10Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:10Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules353976360/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules353976360/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules353976360/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules353976360/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:10Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41770->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41770->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50341->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50341->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59903->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59903->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44370->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44370->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules353976360/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules353976360/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules353976360/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules353976360/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Update module output: No" - time="2022-08-29T11:32:10Z" level=debug msg="Module does not need reboot" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59772->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59772->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38213->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38213->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46677->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46677->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56615->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56615->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="Handle update commit state" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules353976360/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules353976360/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:10Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:10Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56693->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56693->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41089->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41089->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45379->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45379->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48898->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48898->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules353976360/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules353976360/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34543->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34543->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42584->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42584->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46282->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46282->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44968->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44968->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules353976360/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules353976360/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules353976360/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules353976360/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:10Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:10Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules353976360/artifact_info file." - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules353976360/artifact_info" - time="2022-08-29T11:32:10Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:10Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.16s) + time="2021-07-27T05:23:11Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:11Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50254->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50254->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57318->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57318->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:11Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:11Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:11Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules576371837/device_type" + time="2021-07-27T05:23:11Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:11Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:11Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:11Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules576371837/artifact_info file." + time="2021-07-27T05:23:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules576371837/artifact_info" + time="2021-07-27T05:23:11Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:11Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules576371837/artifact_info" + time="2021-07-27T05:23:11Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules576371837/device_type" + time="2021-07-27T05:23:11Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:11Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules576371837/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules576371837/work/payloads/0000/tree" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules576371837/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules576371837/work/payloads/0000/tree" + time="2021-07-27T05:23:11Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:11Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:11Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:11Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43395->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43395->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55229->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55229->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54458->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54458->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34820->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34820->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules576371837/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules576371837/work/payloads/0000/tree" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules576371837/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules576371837/work/payloads/0000/tree" + time="2021-07-27T05:23:11Z" level=debug msg="Update module output: No" + time="2021-07-27T05:23:11Z" level=debug msg="Module does not need reboot" + time="2021-07-27T05:23:11Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43126->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43126->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49313->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49313->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47154->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47154->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58721->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58721->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=debug msg="Handle update commit state" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2021-07-27T05:23:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules576371837/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules576371837/work/payloads/0000/tree" + time="2021-07-27T05:23:11Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:11Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:11Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:11Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49963->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49963->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55488->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55488->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41231->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41231->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55307->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55307->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules576371837/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules576371837/work/payloads/0000/tree" + time="2021-07-27T05:23:11Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34290->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34290->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50362->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50362->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48809->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48809->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45720->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45720->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules576371837/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules576371837/work/payloads/0000/tree" + time="2021-07-27T05:23:11Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules576371837/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules576371837/work/payloads/0000/tree" + time="2021-07-27T05:23:11Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:11Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:11Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules576371837/artifact_info file." + time="2021-07-27T05:23:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules576371837/artifact_info" + time="2021-07-27T05:23:11Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:11Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.37s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit,_no_reboot state_test.go:4717: Killed in ArtifactCommit, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:10Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52294->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52294->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37913->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37913->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:10Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:10Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules110657585/device_type" - time="2022-08-29T11:32:10Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:10Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:10Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:10Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules110657585/artifact_info file." - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules110657585/artifact_info" - time="2022-08-29T11:32:10Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:10Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules110657585/artifact_info" - time="2022-08-29T11:32:10Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules110657585/device_type" - time="2022-08-29T11:32:10Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:10Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:10Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110657585/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules110657585/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110657585/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules110657585/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:10Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34735->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34735->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57101->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57101->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50648->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50648->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55874->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55874->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110657585/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules110657585/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110657585/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules110657585/work/payloads/0000/tree" - time="2022-08-29T11:32:10Z" level=debug msg="Update module output: No" - time="2022-08-29T11:32:10Z" level=debug msg="Module does not need reboot" - time="2022-08-29T11:32:10Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:10Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45687->[::1]:53: read: connection refused" - time="2022-08-29T11:32:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45687->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37972->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37972->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46123->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46123->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41079->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41079->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=debug msg="Handle update commit state" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110657585/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules110657585/work/payloads/0000/tree" + time="2021-07-27T05:23:11Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:11Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:11Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37093->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37093->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46771->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46771->[::1]:53: read: connection refused" + time="2021-07-27T05:23:11Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:11Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:11Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:11Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules475770794/device_type" + time="2021-07-27T05:23:11Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:11Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:11Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:11Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:11Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules475770794/artifact_info file." + time="2021-07-27T05:23:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules475770794/artifact_info" + time="2021-07-27T05:23:12Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:12Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules475770794/artifact_info" + time="2021-07-27T05:23:12Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules475770794/device_type" + time="2021-07-27T05:23:12Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:12Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:12Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:12Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules475770794/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules475770794/work/payloads/0000/tree" + time="2021-07-27T05:23:12Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:12Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules475770794/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules475770794/work/payloads/0000/tree" + time="2021-07-27T05:23:12Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:12Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:12Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:12Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:12Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38483->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38483->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38132->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38132->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:12Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50261->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50261->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45213->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45213->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules475770794/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules475770794/work/payloads/0000/tree" + time="2021-07-27T05:23:12Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules475770794/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules475770794/work/payloads/0000/tree" + time="2021-07-27T05:23:12Z" level=debug msg="Update module output: No" + time="2021-07-27T05:23:12Z" level=debug msg="Module does not need reboot" + time="2021-07-27T05:23:12Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:23:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:12Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44459->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44459->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48133->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48133->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:12Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50477->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50477->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44477->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44477->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=debug msg="Handle update commit state" + time="2021-07-27T05:23:12Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2021-07-27T05:23:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules475770794/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules475770794/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateRollbackState) - time="2022-08-29T11:32:11Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:11Z" level=info msg="Handling loaded state: update-commit" - time="2022-08-29T11:32:11Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:11Z" level=error msg="Mender shut down in state: update-commit" - time="2022-08-29T11:32:11Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:11Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49147->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49147->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37833->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37833->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110657585/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules110657585/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37431->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37431->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57081->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57081->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52101->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52101->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43554->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43554->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110657585/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules110657585/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110657585/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules110657585/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:11Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:11Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules110657585/artifact_info file." - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules110657585/artifact_info" - time="2022-08-29T11:32:11Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:11Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.03s) + time="2021-07-27T05:23:12Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:12Z" level=info msg="Handling loaded state: update-commit" + time="2021-07-27T05:23:12Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:12Z" level=error msg="Mender shut down in state: update-commit" + time="2021-07-27T05:23:12Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:12Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:12Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42122->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42122->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34626->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34626->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:12Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules475770794/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules475770794/work/payloads/0000/tree" + time="2021-07-27T05:23:12Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:12Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50401->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50401->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49625->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49625->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:12Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38235->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38235->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44310->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44310->[::1]:53: read: connection refused" + time="2021-07-27T05:23:12Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:12Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules475770794/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules475770794/work/payloads/0000/tree" + time="2021-07-27T05:23:12Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:12Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:12Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:12Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules475770794/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules475770794/work/payloads/0000/tree" + time="2021-07-27T05:23:12Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:12Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:12Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:12Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules475770794/artifact_info file." + time="2021-07-27T05:23:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules475770794/artifact_info" + time="2021-07-27T05:23:12Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:12Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.06s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_Download_Enter_00_state,_no_rollback state_test.go:4717: Error in Download_Enter_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:11Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47960->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47960->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36082->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36082->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="transient error: error calling enter script for (error) update-fetch state: error running enter state script(s) for Download_Enter state: statescript: error executing 'Download_Enter_00': 1 : exit status 1" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-fetch [Download_Enter] -> error [Error]" - time="2022-08-29T11:32:11Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: Download_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=info msg="Handling error state, current error: transient error: error calling enter script for (error) update-fetch state: error running enter state script(s) for Download_Enter state: statescript: error executing 'Download_Enter_00': 1 : exit status 1" - time="2022-08-29T11:32:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules944217966/artifact_info file." - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules944217966/artifact_info" - time="2022-08-29T11:32:11Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:11Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.02s) + time="2021-07-27T05:23:12Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:12Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:13Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:13Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54010->[::1]:53: read: connection refused" + time="2021-07-27T05:23:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54010->[::1]:53: read: connection refused" + time="2021-07-27T05:23:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36997->[::1]:53: read: connection refused" + time="2021-07-27T05:23:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36997->[::1]:53: read: connection refused" + time="2021-07-27T05:23:13Z" level=error msg="transient error: error calling enter script for (error) update-fetch state: error running enter state script(s) for Download_Enter state: statescript: error executing 'Download_Enter_00': 1 : exit status 1" + time="2021-07-27T05:23:13Z" level=info msg="State transition: update-fetch [Download_Enter] -> error [Error]" + time="2021-07-27T05:23:13Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:13Z" level=debug msg="Executing script: Download_Error_00" + time="2021-07-27T05:23:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:13Z" level=info msg="Handling error state, current error: transient error: error calling enter script for (error) update-fetch state: error running enter state script(s) for Download_Enter state: statescript: error executing 'Download_Enter_00': 1 : exit status 1" + time="2021-07-27T05:23:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules816291547/artifact_info file." + time="2021-07-27T05:23:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules816291547/artifact_info" + time="2021-07-27T05:23:13Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:13Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.59s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_Download_Enter_00_state,_no_rollback state_test.go:4717: Killed in Download_Enter_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:11Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40015->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40015->[::1]:53: read: connection refused" + time="2021-07-27T05:23:13Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:13Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:13Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:13Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59629->[::1]:53: read: connection refused" + time="2021-07-27T05:23:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59629->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 1 (*app.idleState) - time="2022-08-29T11:32:11Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:11Z" level=info msg="Handling loaded state: update-fetch" - time="2022-08-29T11:32:11Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:11Z" level=error msg="Mender shut down in state: update-fetch" - time="2022-08-29T11:32:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules054252527/artifact_info file." - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules054252527/artifact_info" - time="2022-08-29T11:32:11Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:11Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.00s) + time="2021-07-27T05:23:13Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:13Z" level=info msg="Handling loaded state: update-fetch" + time="2021-07-27T05:23:13Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:13Z" level=error msg="Mender shut down in state: update-fetch" + time="2021-07-27T05:23:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules052843104/artifact_info file." + time="2021-07-27T05:23:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules052843104/artifact_info" + time="2021-07-27T05:23:13Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:13Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.05s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00_state,_no_rollback state_test.go:4717: Error in ArtifactInstall_Enter_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:11Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58015->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58015->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39415->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39415->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:11Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:11Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules741342980/device_type" - time="2022-08-29T11:32:11Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:11Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:11Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:11Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules741342980/artifact_info file." - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules741342980/artifact_info" - time="2022-08-29T11:32:11Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:11Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules741342980/artifact_info" - time="2022-08-29T11:32:11Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules741342980/device_type" - time="2022-08-29T11:32:11Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:11Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules741342980/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules741342980/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules741342980/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules741342980/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=debug msg="Update module output: No" - time="2022-08-29T11:32:11Z" level=debug msg="Module does not support rollback" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36476->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36476->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58311->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58311->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52367->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52367->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47993->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47993->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="transient error: error calling enter script for (error) update-install state: error running enter state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" - time="2022-08-29T11:32:11Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:11Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38610->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38610->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60020->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60020->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59736->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59736->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42279->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42279->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules741342980/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules741342980/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules741342980/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules741342980/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:11Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:11Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:11Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.13s) + time="2021-07-27T05:23:13Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:13Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:14Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37662->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37662->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60635->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60635->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:14Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:14Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:14Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules218797257/device_type" + time="2021-07-27T05:23:14Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:14Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:14Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:14Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:14Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules218797257/artifact_info file." + time="2021-07-27T05:23:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules218797257/artifact_info" + time="2021-07-27T05:23:14Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:14Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules218797257/artifact_info" + time="2021-07-27T05:23:14Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules218797257/device_type" + time="2021-07-27T05:23:14Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:14Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:14Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules218797257/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules218797257/work/payloads/0000/tree" + time="2021-07-27T05:23:14Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:14Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules218797257/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules218797257/work/payloads/0000/tree" + time="2021-07-27T05:23:14Z" level=debug msg="Update module output: No" + time="2021-07-27T05:23:14Z" level=debug msg="Module does not support rollback" + time="2021-07-27T05:23:14Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:14Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41858->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41858->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37192->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37192->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53785->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53785->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56551->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56551->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="transient error: error calling enter script for (error) update-install state: error running enter state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" + time="2021-07-27T05:23:14Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2021-07-27T05:23:14Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:14Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50128->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50128->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37901->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37901->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51965->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51965->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51389->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51389->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:14Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules218797257/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules218797257/work/payloads/0000/tree" + time="2021-07-27T05:23:14Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:14Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules218797257/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules218797257/work/payloads/0000/tree" + time="2021-07-27T05:23:14Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:14Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:14Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:14Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.41s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00_state,_no_rollback state_test.go:4717: Killed in ArtifactInstall_Enter_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:11Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33410->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33410->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42105->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42105->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:11Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:11Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules804840509/device_type" - time="2022-08-29T11:32:11Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:11Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:11Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:11Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules804840509/artifact_info file." - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules804840509/artifact_info" - time="2022-08-29T11:32:11Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:11Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules804840509/artifact_info" - time="2022-08-29T11:32:11Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules804840509/device_type" - time="2022-08-29T11:32:11Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:11Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804840509/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules804840509/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804840509/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules804840509/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=debug msg="Update module output: No" - time="2022-08-29T11:32:11Z" level=debug msg="Module does not support rollback" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44123->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44123->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60793->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60793->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40860->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40860->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:14Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44382->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44382->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35986->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35986->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:14Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:14Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:14Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules262591462/device_type" + time="2021-07-27T05:23:14Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:14Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:14Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:14Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:14Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules262591462/artifact_info file." + time="2021-07-27T05:23:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules262591462/artifact_info" + time="2021-07-27T05:23:14Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:14Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules262591462/artifact_info" + time="2021-07-27T05:23:14Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules262591462/device_type" + time="2021-07-27T05:23:14Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:14Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:14Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules262591462/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules262591462/work/payloads/0000/tree" + time="2021-07-27T05:23:14Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:14Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules262591462/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules262591462/work/payloads/0000/tree" + time="2021-07-27T05:23:14Z" level=debug msg="Update module output: No" + time="2021-07-27T05:23:14Z" level=debug msg="Module does not support rollback" + time="2021-07-27T05:23:14Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:14Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52646->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52646->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58250->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58250->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60540->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60540->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 4 (*app.updateErrorState) - time="2022-08-29T11:32:11Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:11Z" level=info msg="Handling loaded state: update-install" - time="2022-08-29T11:32:11Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:11Z" level=error msg="Mender shut down in state: update-install" - time="2022-08-29T11:32:11Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2022-08-29T11:32:11Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:11Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55660->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55660->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34166->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34166->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804840509/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules804840509/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804840509/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules804840509/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:11Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:11Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:11Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.02s) + time="2021-07-27T05:23:14Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:14Z" level=info msg="Handling loaded state: update-install" + time="2021-07-27T05:23:14Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:14Z" level=error msg="Mender shut down in state: update-install" + time="2021-07-27T05:23:14Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2021-07-27T05:23:14Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:14Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33548->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33548->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59091->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59091->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:14Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules262591462/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules262591462/work/payloads/0000/tree" + time="2021-07-27T05:23:14Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:14Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules262591462/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules262591462/work/payloads/0000/tree" + time="2021-07-27T05:23:14Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:14Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:14Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:14Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.04s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00 state_test.go:4717: Error in ArtifactInstall_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:11Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43352->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43352->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39774->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39774->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:11Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:11Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139533418/device_type" - time="2022-08-29T11:32:11Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:11Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:11Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:11Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules139533418/artifact_info file." - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139533418/artifact_info" - time="2022-08-29T11:32:11Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:11Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139533418/artifact_info" - time="2022-08-29T11:32:11Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139533418/device_type" - time="2022-08-29T11:32:11Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:11Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139533418/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules139533418/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139533418/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules139533418/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:11Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58492->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58492->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40798->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40798->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42589->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42589->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52537->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52537->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="transient error: error calling enter script for (error) update-install state: error running enter state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:11Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36922->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36922->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44106->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44106->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47886->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47886->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48947->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48947->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139533418/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules139533418/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55678->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55678->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35196->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35196->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51359->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51359->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58653->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58653->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139533418/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules139533418/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139533418/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules139533418/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:11Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:11Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules139533418/artifact_info file." - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139533418/artifact_info" - time="2022-08-29T11:32:11Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:11Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.15s) + time="2021-07-27T05:23:14Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:14Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59160->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59160->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45045->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45045->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:14Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:14Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:14Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules957793735/device_type" + time="2021-07-27T05:23:14Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:14Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:14Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:14Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:14Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules957793735/artifact_info file." + time="2021-07-27T05:23:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules957793735/artifact_info" + time="2021-07-27T05:23:14Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:14Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules957793735/artifact_info" + time="2021-07-27T05:23:14Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules957793735/device_type" + time="2021-07-27T05:23:14Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:14Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:14Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:14Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules957793735/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules957793735/work/payloads/0000/tree" + time="2021-07-27T05:23:14Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:14Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules957793735/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules957793735/work/payloads/0000/tree" + time="2021-07-27T05:23:14Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:14Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:14Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:14Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37655->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37655->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60104->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60104->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38366->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38366->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38293->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38293->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="transient error: error calling enter script for (error) update-install state: error running enter state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" + time="2021-07-27T05:23:14Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:14Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34738->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34738->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53278->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53278->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52368->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52368->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53657->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53657->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:14Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules957793735/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules957793735/work/payloads/0000/tree" + time="2021-07-27T05:23:14Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47868->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47868->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44578->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44578->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:14Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52074->[::1]:53: read: connection refused" + time="2021-07-27T05:23:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52074->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34832->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34832->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:15Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules957793735/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules957793735/work/payloads/0000/tree" + time="2021-07-27T05:23:15Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:15Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:15Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:15Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules957793735/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules957793735/work/payloads/0000/tree" + time="2021-07-27T05:23:15Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:15Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:15Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:15Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules957793735/artifact_info file." + time="2021-07-27T05:23:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules957793735/artifact_info" + time="2021-07-27T05:23:15Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:15Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.40s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00 state_test.go:4717: Killed in ArtifactInstall_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:11Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34544->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34544->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54254->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54254->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:11Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:11Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules142858395/device_type" - time="2022-08-29T11:32:11Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:11Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:11Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:11Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules142858395/artifact_info file." - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules142858395/artifact_info" - time="2022-08-29T11:32:11Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:11Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules142858395/artifact_info" - time="2022-08-29T11:32:11Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules142858395/device_type" - time="2022-08-29T11:32:11Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:11Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules142858395/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules142858395/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules142858395/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules142858395/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:11Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50240->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50240->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41747->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41747->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41893->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41893->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:15Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:15Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:15Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57312->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57312->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54796->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54796->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:15Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:15Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:15Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules045223356/device_type" + time="2021-07-27T05:23:15Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:15Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:15Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:15Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:15Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules045223356/artifact_info file." + time="2021-07-27T05:23:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules045223356/artifact_info" + time="2021-07-27T05:23:15Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:15Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules045223356/artifact_info" + time="2021-07-27T05:23:15Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules045223356/device_type" + time="2021-07-27T05:23:15Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:15Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:15Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:15Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045223356/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules045223356/work/payloads/0000/tree" + time="2021-07-27T05:23:15Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:15Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045223356/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules045223356/work/payloads/0000/tree" + time="2021-07-27T05:23:15Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:15Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:15Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:15Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:15Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45226->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45226->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43911->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43911->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:15Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59139->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59139->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 4 (*app.updateRollbackState) - time="2022-08-29T11:32:11Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:11Z" level=info msg="Handling loaded state: update-install" - time="2022-08-29T11:32:11Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:11Z" level=error msg="Mender shut down in state: update-install" - time="2022-08-29T11:32:11Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:11Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54454->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54454->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60596->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60596->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules142858395/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules142858395/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32843->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32843->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50596->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50596->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51844->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51844->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51028->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51028->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules142858395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules142858395/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules142858395/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules142858395/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:11Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:11Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules142858395/artifact_info file." - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules142858395/artifact_info" - time="2022-08-29T11:32:11Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:11Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.03s) + time="2021-07-27T05:23:15Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:15Z" level=info msg="Handling loaded state: update-install" + time="2021-07-27T05:23:15Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:15Z" level=error msg="Mender shut down in state: update-install" + time="2021-07-27T05:23:15Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:15Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:15Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49179->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49179->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43868->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43868->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:15Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045223356/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules045223356/work/payloads/0000/tree" + time="2021-07-27T05:23:15Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:15Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34718->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34718->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39572->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39572->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52806->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52806->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39872->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39872->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:15Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045223356/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules045223356/work/payloads/0000/tree" + time="2021-07-27T05:23:15Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:15Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:15Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:15Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045223356/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules045223356/work/payloads/0000/tree" + time="2021-07-27T05:23:15Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:15Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:15Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:15Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules045223356/artifact_info file." + time="2021-07-27T05:23:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules045223356/artifact_info" + time="2021-07-27T05:23:15Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:15Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.09s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Enter_00 state_test.go:4717: Error in ArtifactReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:11Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34400->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34400->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37921->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37921->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:11Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:11Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules871381280/device_type" - time="2022-08-29T11:32:11Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:11Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:11Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:11Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules871381280/artifact_info file." - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules871381280/artifact_info" - time="2022-08-29T11:32:11Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:11Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules871381280/artifact_info" - time="2022-08-29T11:32:11Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules871381280/device_type" - time="2022-08-29T11:32:11Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:11Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:11Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules871381280/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules871381280/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules871381280/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules871381280/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:11Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56159->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56159->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56779->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56779->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43379->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43379->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50370->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50370->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules871381280/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules871381280/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules871381280/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules871381280/work/payloads/0000/tree" - time="2022-08-29T11:32:11Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:11Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:11Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52373->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52373->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57482->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57482->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:11Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42129->[::1]:53: read: connection refused" - time="2022-08-29T11:32:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42129->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53932->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53932->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="transient error: error calling enter script for (error) reboot state: error running enter state script(s) for ArtifactReboot_Enter state: statescript: error executing 'ArtifactReboot_Enter_00': 1 : exit status 1" - time="2022-08-29T11:32:12Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:12Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37699->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37699->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41051->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41051->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37645->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37645->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55911->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55911->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules871381280/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules871381280/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:12Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37083->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37083->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47233->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47233->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37423->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37423->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34637->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34637->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules871381280/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules871381280/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules871381280/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules871381280/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:12Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:12Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38689->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38689->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48572->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48572->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53882->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53882->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39662->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39662->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules871381280/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules871381280/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules871381280/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules871381280/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:12Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:12Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules871381280/artifact_info file." - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules871381280/artifact_info" - time="2022-08-29T11:32:12Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:12Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.18s) + time="2021-07-27T05:23:15Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:15Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:15Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:15Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35849->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35849->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44729->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44729->[::1]:53: read: connection refused" + time="2021-07-27T05:23:15Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:15Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:16Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules414623061/device_type" + time="2021-07-27T05:23:16Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:16Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:16Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:16Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules414623061/artifact_info file." + time="2021-07-27T05:23:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules414623061/artifact_info" + time="2021-07-27T05:23:16Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:16Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules414623061/artifact_info" + time="2021-07-27T05:23:16Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules414623061/device_type" + time="2021-07-27T05:23:16Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:16Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules414623061/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules414623061/work/payloads/0000/tree" + time="2021-07-27T05:23:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules414623061/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules414623061/work/payloads/0000/tree" + time="2021-07-27T05:23:16Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:16Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:16Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59812->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59812->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56228->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56228->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58018->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58018->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34780->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34780->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules414623061/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules414623061/work/payloads/0000/tree" + time="2021-07-27T05:23:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules414623061/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules414623061/work/payloads/0000/tree" + time="2021-07-27T05:23:16Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:16Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:16Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54271->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54271->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36644->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36644->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:16Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33718->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33718->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51849->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51849->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="transient error: error calling enter script for (error) reboot state: error running enter state script(s) for ArtifactReboot_Enter state: statescript: error executing 'ArtifactReboot_Enter_00': 1 : exit status 1" + time="2021-07-27T05:23:16Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:16Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:16Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50727->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50727->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38397->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38397->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:16Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59336->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59336->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49353->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49353->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:16Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules414623061/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules414623061/work/payloads/0000/tree" + time="2021-07-27T05:23:16Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:16Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:16Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38532->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38532->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34616->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34616->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32930->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32930->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38900->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38900->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:16Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules414623061/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules414623061/work/payloads/0000/tree" + time="2021-07-27T05:23:16Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:16Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules414623061/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules414623061/work/payloads/0000/tree" + time="2021-07-27T05:23:16Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:16Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:16Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48266->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48266->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46443->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46443->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51710->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51710->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41927->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41927->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:16Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules414623061/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules414623061/work/payloads/0000/tree" + time="2021-07-27T05:23:16Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:16Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:16Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules414623061/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules414623061/work/payloads/0000/tree" + time="2021-07-27T05:23:16Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:16Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:16Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:16Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules414623061/artifact_info file." + time="2021-07-27T05:23:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules414623061/artifact_info" + time="2021-07-27T05:23:16Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:16Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.60s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Enter_00 state_test.go:4717: Killed in ArtifactReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:12Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58319->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58319->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59598->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59598->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:12Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:12Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules190173321/device_type" - time="2022-08-29T11:32:12Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:12Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:12Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:12Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules190173321/artifact_info file." - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules190173321/artifact_info" - time="2022-08-29T11:32:12Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:12Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules190173321/artifact_info" - time="2022-08-29T11:32:12Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules190173321/device_type" - time="2022-08-29T11:32:12Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:12Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190173321/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules190173321/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190173321/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules190173321/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:12Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56802->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56802->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42405->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42405->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56735->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56735->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54651->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54651->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190173321/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules190173321/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190173321/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules190173321/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:12Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37434->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37434->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37871->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37871->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51035->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51035->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:16Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:16Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44739->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44739->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33208->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33208->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:16Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:16Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules613066082/device_type" + time="2021-07-27T05:23:16Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:16Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:16Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:16Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules613066082/artifact_info file." + time="2021-07-27T05:23:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules613066082/artifact_info" + time="2021-07-27T05:23:16Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:16Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules613066082/artifact_info" + time="2021-07-27T05:23:16Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules613066082/device_type" + time="2021-07-27T05:23:16Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:16Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules613066082/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules613066082/work/payloads/0000/tree" + time="2021-07-27T05:23:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules613066082/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules613066082/work/payloads/0000/tree" + time="2021-07-27T05:23:16Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:16Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:16Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37829->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37829->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39834->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39834->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50870->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50870->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60107->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60107->[::1]:53: read: connection refused" + time="2021-07-27T05:23:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules613066082/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules613066082/work/payloads/0000/tree" + time="2021-07-27T05:23:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules613066082/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules613066082/work/payloads/0000/tree" + time="2021-07-27T05:23:16Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:16Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40938->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40938->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40725->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40725->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50756->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50756->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateVerifyRebootState) - time="2022-08-29T11:32:12Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:12Z" level=info msg="Handling loaded state: reboot" - time="2022-08-29T11:32:12Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:12Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190173321/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules190173321/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:12Z" level=debug msg="Handling state after reboot" - time="2022-08-29T11:32:12Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56327->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56327->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44228->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44228->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34002->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34002->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36955->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36955->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="Handle update commit state" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190173321/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules190173321/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Committing new artifact name: artifact-name" - time="2022-08-29T11:32:12Z" level=debug msg="Committing new artifact group name: " - time="2022-08-29T11:32:12Z" level=debug msg="Committing new artifact type-info provides" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190173321/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules190173321/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2022-08-29T11:32:12Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:12Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:12Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.03s) + time="2021-07-27T05:23:17Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:17Z" level=info msg="Handling loaded state: reboot" + time="2021-07-27T05:23:17Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:17Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules613066082/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules613066082/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:17Z" level=debug msg="Handling state after reboot" + time="2021-07-27T05:23:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59957->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59957->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48020->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48020->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33666->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33666->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44660->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44660->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=debug msg="Handle update commit state" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules613066082/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules613066082/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=debug msg="Committing new artifact name: artifact-name" + time="2021-07-27T05:23:17Z" level=debug msg="Committing new artifact group name: " + time="2021-07-27T05:23:17Z" level=debug msg="Committing new artifact type-info provides" + time="2021-07-27T05:23:17Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2021-07-27T05:23:17Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2021-07-27T05:23:17Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:17Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules613066082/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules613066082/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2021-07-27T05:23:17Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:17Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:17Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.06s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Enter_00 state_test.go:4717: Error in ArtifactRollback_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:12Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51311->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51311->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55918->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55918->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:12Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:12Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules972112550/device_type" - time="2022-08-29T11:32:12Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:12Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:12Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:12Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules972112550/artifact_info file." - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules972112550/artifact_info" - time="2022-08-29T11:32:12Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:12Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules972112550/artifact_info" - time="2022-08-29T11:32:12Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules972112550/device_type" - time="2022-08-29T11:32:12Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:12Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules972112550/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules972112550/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules972112550/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules972112550/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:12Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42202->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42202->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49012->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49012->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54549->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54549->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34722->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34722->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules972112550/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules972112550/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules972112550/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules972112550/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:12Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35238->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35238->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44857->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44857->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36909->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36909->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41277->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41277->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:12Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules972112550/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules972112550/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules972112550/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules972112550/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:12Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:12Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:12Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60266->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60266->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38151->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38151->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35256->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35256->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Enter_00': 1: exit status 1" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58912->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58912->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules972112550/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules972112550/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:12Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43395->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43395->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59915->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59915->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55271->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55271->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48253->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48253->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules972112550/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules972112550/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules972112550/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules972112550/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:12Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:12Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45188->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45188->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41028->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41028->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40411->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40411->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44061->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44061->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules972112550/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules972112550/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules972112550/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules972112550/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:12Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:12Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules972112550/artifact_info file." - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules972112550/artifact_info" - time="2022-08-29T11:32:12Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:12Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.27s) + time="2021-07-27T05:23:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36263->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36263->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49992->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49992->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:17Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:17Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules440624883/device_type" + time="2021-07-27T05:23:17Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:17Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:17Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules440624883/artifact_info file." + time="2021-07-27T05:23:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules440624883/artifact_info" + time="2021-07-27T05:23:17Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:17Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules440624883/artifact_info" + time="2021-07-27T05:23:17Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules440624883/device_type" + time="2021-07-27T05:23:17Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:17Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules440624883/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules440624883/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules440624883/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules440624883/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:17Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38737->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38737->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34437->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34437->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37301->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37301->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49064->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49064->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules440624883/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules440624883/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules440624883/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules440624883/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:17Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49756->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49756->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42075->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42075->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32928->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32928->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52286->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52286->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:17Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules440624883/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules440624883/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules440624883/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules440624883/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:17Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:17Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34652->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34652->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38476->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38476->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52013->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52013->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Enter_00': 1: exit status 1" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50319->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50319->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules440624883/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules440624883/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:17Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58461->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58461->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51090->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51090->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38630->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38630->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40521->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40521->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules440624883/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules440624883/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules440624883/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules440624883/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:17Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:17Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43111->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43111->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51044->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51044->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37275->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37275->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33489->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33489->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules440624883/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules440624883/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules440624883/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules440624883/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:17Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:17Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules440624883/artifact_info file." + time="2021-07-27T05:23:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules440624883/artifact_info" + time="2021-07-27T05:23:17Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:17Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.35s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Enter_00 state_test.go:4717: Killed in ArtifactRollback_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:12Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55352->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55352->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57612->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57612->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:12Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:12Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules932082567/device_type" - time="2022-08-29T11:32:12Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:12Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:12Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:12Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules932082567/artifact_info file." - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules932082567/artifact_info" - time="2022-08-29T11:32:12Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:12Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules932082567/artifact_info" - time="2022-08-29T11:32:12Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules932082567/device_type" - time="2022-08-29T11:32:12Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:12Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules932082567/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules932082567/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules932082567/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules932082567/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:12Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59350->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59350->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33436->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33436->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52899->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52899->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50422->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50422->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules932082567/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules932082567/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules932082567/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules932082567/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:12Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38553->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38553->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48057->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48057->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56773->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56773->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35869->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35869->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:12Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules932082567/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules932082567/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules932082567/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules932082567/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:12Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:12Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:12Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59340->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59340->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36889->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36889->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45695->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45695->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55584->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55584->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56534->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56534->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:17Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:17Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules354311768/device_type" + time="2021-07-27T05:23:17Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:17Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:17Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules354311768/artifact_info file." + time="2021-07-27T05:23:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules354311768/artifact_info" + time="2021-07-27T05:23:17Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:17Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules354311768/artifact_info" + time="2021-07-27T05:23:17Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules354311768/device_type" + time="2021-07-27T05:23:17Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:17Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354311768/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules354311768/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354311768/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules354311768/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:17Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57227->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57227->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46879->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46879->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56535->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56535->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38187->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38187->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354311768/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules354311768/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354311768/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules354311768/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:17Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45853->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45853->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51513->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51513->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51246->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51246->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34589->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34589->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:17Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354311768/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules354311768/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354311768/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules354311768/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:17Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:17Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34535->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34535->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45460->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45460->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44811->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44811->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 7 (*app.updateRollbackState) - time="2022-08-29T11:32:12Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:12Z" level=info msg="Handling loaded state: rollback" - time="2022-08-29T11:32:12Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:12Z" level=error msg="Mender shut down in state: rollback" - time="2022-08-29T11:32:12Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:12Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53253->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53253->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46361->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46361->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules932082567/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules932082567/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:12Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52641->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52641->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55180->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55180->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37015->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37015->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51366->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51366->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules932082567/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules932082567/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules932082567/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules932082567/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:12Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:12Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54931->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54931->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58027->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58027->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57984->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57984->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60097->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60097->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules932082567/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules932082567/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules932082567/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules932082567/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:12Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:12Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules932082567/artifact_info file." - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules932082567/artifact_info" - time="2022-08-29T11:32:12Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:12Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.04s) + time="2021-07-27T05:23:17Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:17Z" level=info msg="Handling loaded state: rollback" + time="2021-07-27T05:23:17Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:17Z" level=error msg="Mender shut down in state: rollback" + time="2021-07-27T05:23:17Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:17Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46894->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46894->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53282->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53282->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354311768/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules354311768/work/payloads/0000/tree" + time="2021-07-27T05:23:17Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:17Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54498->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54498->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39252->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39252->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56254->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56254->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48394->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48394->[::1]:53: read: connection refused" + time="2021-07-27T05:23:17Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:17Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354311768/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules354311768/work/payloads/0000/tree" + time="2021-07-27T05:23:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354311768/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules354311768/work/payloads/0000/tree" + time="2021-07-27T05:23:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:18Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:18Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57739->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57739->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37757->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37757->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48801->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48801->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44260->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44260->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354311768/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules354311768/work/payloads/0000/tree" + time="2021-07-27T05:23:18Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354311768/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules354311768/work/payloads/0000/tree" + time="2021-07-27T05:23:18Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:18Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:18Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules354311768/artifact_info file." + time="2021-07-27T05:23:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules354311768/artifact_info" + time="2021-07-27T05:23:18Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:18Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.12s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Enter_00 state_test.go:4717: Error in ArtifactRollbackReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:12Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44456->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44456->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54097->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54097->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:12Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:12Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules236536444/device_type" - time="2022-08-29T11:32:12Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:12Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:12Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:12Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules236536444/artifact_info file." - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules236536444/artifact_info" - time="2022-08-29T11:32:12Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:12Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules236536444/artifact_info" - time="2022-08-29T11:32:12Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules236536444/device_type" - time="2022-08-29T11:32:12Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:12Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236536444/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules236536444/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236536444/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules236536444/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:12Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38943->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38943->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45434->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45434->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48095->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48095->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60306->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60306->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236536444/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules236536444/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236536444/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules236536444/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:12Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42243->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42243->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48260->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48260->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47648->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47648->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49104->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49104->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:12Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236536444/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules236536444/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236536444/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules236536444/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:12Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:12Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:12Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35782->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35782->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51311->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51311->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40407->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40407->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39052->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39052->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236536444/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules236536444/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:12Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59497->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59497->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49812->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49812->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54558->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54558->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Enter_00': 1: exit status 1" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43512->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43512->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236536444/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules236536444/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236536444/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules236536444/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:12Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:12Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47776->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47776->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41373->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41373->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56032->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56032->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41157->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41157->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236536444/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules236536444/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:12Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236536444/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules236536444/work/payloads/0000/tree" - time="2022-08-29T11:32:12Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:12Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:12Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules236536444/artifact_info file." - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules236536444/artifact_info" - time="2022-08-29T11:32:12Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:12Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.19s) + time="2021-07-27T05:23:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33172->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33172->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45910->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45910->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:18Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:18Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules154694689/device_type" + time="2021-07-27T05:23:18Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:18Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:18Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules154694689/artifact_info file." + time="2021-07-27T05:23:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules154694689/artifact_info" + time="2021-07-27T05:23:18Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:18Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules154694689/artifact_info" + time="2021-07-27T05:23:18Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules154694689/device_type" + time="2021-07-27T05:23:18Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:18Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154694689/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules154694689/work/payloads/0000/tree" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154694689/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules154694689/work/payloads/0000/tree" + time="2021-07-27T05:23:18Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:18Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50538->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50538->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60874->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60874->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40727->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40727->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52797->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52797->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154694689/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules154694689/work/payloads/0000/tree" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154694689/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules154694689/work/payloads/0000/tree" + time="2021-07-27T05:23:18Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:18Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:18Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47082->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47082->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45728->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45728->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48657->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48657->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50655->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50655->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:18Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154694689/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules154694689/work/payloads/0000/tree" + time="2021-07-27T05:23:18Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154694689/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules154694689/work/payloads/0000/tree" + time="2021-07-27T05:23:18Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:18Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:18Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:18Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54683->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54683->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46573->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46573->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46375->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46375->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53179->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53179->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154694689/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules154694689/work/payloads/0000/tree" + time="2021-07-27T05:23:18Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:18Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38841->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38841->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41542->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41542->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53640->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53640->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Enter_00': 1: exit status 1" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34161->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34161->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154694689/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules154694689/work/payloads/0000/tree" + time="2021-07-27T05:23:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154694689/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules154694689/work/payloads/0000/tree" + time="2021-07-27T05:23:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:18Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:18Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48281->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48281->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55663->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55663->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49160->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49160->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51955->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51955->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154694689/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules154694689/work/payloads/0000/tree" + time="2021-07-27T05:23:18Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154694689/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules154694689/work/payloads/0000/tree" + time="2021-07-27T05:23:18Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:18Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:18Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules154694689/artifact_info file." + time="2021-07-27T05:23:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules154694689/artifact_info" + time="2021-07-27T05:23:18Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:18Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.43s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Enter_00 state_test.go:4717: Killed in ArtifactRollbackReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:12Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:12Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52691->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52691->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54434->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54434->[::1]:53: read: connection refused" - time="2022-08-29T11:32:12Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:12Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:12Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:12Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules326177557/device_type" - time="2022-08-29T11:32:12Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:12Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:12Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:12Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules326177557/artifact_info file." - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules326177557/artifact_info" - time="2022-08-29T11:32:13Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:13Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules326177557/artifact_info" - time="2022-08-29T11:32:13Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules326177557/device_type" - time="2022-08-29T11:32:13Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:13Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326177557/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules326177557/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326177557/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules326177557/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:13Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47418->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47418->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47009->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47009->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36784->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36784->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35028->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35028->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326177557/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules326177557/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326177557/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules326177557/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:13Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37435->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37435->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47632->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47632->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48327->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48327->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59169->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59169->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:13Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326177557/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules326177557/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326177557/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules326177557/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:13Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:13Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:13Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33438->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33438->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37425->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37425->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47548->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47548->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45040->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45040->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326177557/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules326177557/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:13Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39297->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39297->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48084->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48084->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33740->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33740->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39582->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39582->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58573->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58573->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:18Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:18Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278583326/device_type" + time="2021-07-27T05:23:18Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:18Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:18Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules278583326/artifact_info file." + time="2021-07-27T05:23:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278583326/artifact_info" + time="2021-07-27T05:23:18Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:18Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278583326/artifact_info" + time="2021-07-27T05:23:18Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278583326/device_type" + time="2021-07-27T05:23:18Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:18Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278583326/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules278583326/work/payloads/0000/tree" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278583326/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules278583326/work/payloads/0000/tree" + time="2021-07-27T05:23:18Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:18Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52252->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52252->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44779->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44779->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59325->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59325->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51899->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51899->[::1]:53: read: connection refused" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278583326/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules278583326/work/payloads/0000/tree" + time="2021-07-27T05:23:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278583326/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules278583326/work/payloads/0000/tree" + time="2021-07-27T05:23:19Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:19Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:19Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35562->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35562->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41373->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41373->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48198->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48198->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46722->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46722->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:19Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:19Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278583326/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules278583326/work/payloads/0000/tree" + time="2021-07-27T05:23:19Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:19Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278583326/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules278583326/work/payloads/0000/tree" + time="2021-07-27T05:23:19Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:19Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:19Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:19Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56946->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56946->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44727->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44727->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42956->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42956->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36621->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36621->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:19Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278583326/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules278583326/work/payloads/0000/tree" + time="2021-07-27T05:23:19Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54792->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54792->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33545->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33545->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48852->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48852->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateVerifyRollbackRebootState) - time="2022-08-29T11:32:13Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:13Z" level=info msg="Handling loaded state: rollback-reboot" - time="2022-08-29T11:32:13Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:13Z" level=info msg="Mender shut down in state: rollback-reboot" - time="2022-08-29T11:32:13Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:13Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326177557/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules326177557/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:13Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:13Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57076->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57076->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51287->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51287->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47661->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47661->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44677->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44677->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326177557/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules326177557/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326177557/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules326177557/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:13Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:13Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules326177557/artifact_info file." - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules326177557/artifact_info" - time="2022-08-29T11:32:13Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:13Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.03s) + time="2021-07-27T05:23:19Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:19Z" level=info msg="Handling loaded state: rollback-reboot" + time="2021-07-27T05:23:19Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:19Z" level=info msg="Mender shut down in state: rollback-reboot" + time="2021-07-27T05:23:19Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:19Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:19Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278583326/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules278583326/work/payloads/0000/tree" + time="2021-07-27T05:23:19Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:19Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:19Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54262->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54262->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50304->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50304->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51987->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51987->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40325->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40325->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:19Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278583326/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules278583326/work/payloads/0000/tree" + time="2021-07-27T05:23:19Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278583326/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules278583326/work/payloads/0000/tree" + time="2021-07-27T05:23:19Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:19Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:19Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules278583326/artifact_info file." + time="2021-07-27T05:23:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278583326/artifact_info" + time="2021-07-27T05:23:19Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:19Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.07s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Enter_00 state_test.go:4717: Error in ArtifactFailure_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:13Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46583->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46583->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46456->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46456->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:13Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:13Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules498997794/device_type" - time="2022-08-29T11:32:13Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:13Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:13Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:13Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules498997794/artifact_info file." - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules498997794/artifact_info" - time="2022-08-29T11:32:13Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:13Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules498997794/artifact_info" - time="2022-08-29T11:32:13Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules498997794/device_type" - time="2022-08-29T11:32:13Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:13Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules498997794/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules498997794/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules498997794/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules498997794/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:13Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55953->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55953->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56456->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56456->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55734->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55734->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55798->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55798->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules498997794/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules498997794/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:13Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:13Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37968->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37968->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47418->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47418->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54970->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54970->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33057->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33057->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules498997794/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules498997794/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50209->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50209->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57019->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57019->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35017->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35017->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Enter_00': 1: exit status 1" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45877->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45877->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules498997794/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules498997794/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules498997794/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules498997794/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:13Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:13Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules498997794/artifact_info file." - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules498997794/artifact_info" - time="2022-08-29T11:32:13Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:13Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.15s) + time="2021-07-27T05:23:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44587->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44587->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36546->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36546->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:19Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:19Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules867588191/device_type" + time="2021-07-27T05:23:19Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:19Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:19Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:19Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules867588191/artifact_info file." + time="2021-07-27T05:23:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules867588191/artifact_info" + time="2021-07-27T05:23:19Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:19Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules867588191/artifact_info" + time="2021-07-27T05:23:19Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules867588191/device_type" + time="2021-07-27T05:23:19Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:19Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules867588191/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules867588191/work/payloads/0000/tree" + time="2021-07-27T05:23:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules867588191/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules867588191/work/payloads/0000/tree" + time="2021-07-27T05:23:19Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:19Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:19Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:19Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37458->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37458->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56738->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56738->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35914->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35914->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50569->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50569->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules867588191/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules867588191/work/payloads/0000/tree" + time="2021-07-27T05:23:19Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:19Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:19Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:19Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33241->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33241->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60365->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60365->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56674->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56674->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47085->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47085->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:19Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules867588191/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules867588191/work/payloads/0000/tree" + time="2021-07-27T05:23:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50912->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50912->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35552->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35552->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49234->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49234->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Enter_00': 1: exit status 1" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55888->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55888->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:19Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules867588191/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules867588191/work/payloads/0000/tree" + time="2021-07-27T05:23:19Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules867588191/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules867588191/work/payloads/0000/tree" + time="2021-07-27T05:23:19Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:19Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:19Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules867588191/artifact_info file." + time="2021-07-27T05:23:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules867588191/artifact_info" + time="2021-07-27T05:23:19Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:19Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.39s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Enter_00 state_test.go:4717: Killed in ArtifactFailure_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:13Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42908->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42908->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52018->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52018->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:13Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:13Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules535789235/device_type" - time="2022-08-29T11:32:13Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:13Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:13Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:13Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules535789235/artifact_info file." - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules535789235/artifact_info" - time="2022-08-29T11:32:13Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:13Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules535789235/artifact_info" - time="2022-08-29T11:32:13Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules535789235/device_type" - time="2022-08-29T11:32:13Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:13Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules535789235/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules535789235/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules535789235/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules535789235/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:13Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59674->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59674->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54960->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54960->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48393->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48393->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52266->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52266->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules535789235/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules535789235/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:13Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:13Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56870->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56870->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43444->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43444->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53900->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53900->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48155->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48155->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules535789235/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules535789235/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53631->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53631->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38906->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38906->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43997->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43997->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:19Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50144->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50144->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48403->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48403->[::1]:53: read: connection refused" + time="2021-07-27T05:23:19Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:19Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:19Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules698343988/device_type" + time="2021-07-27T05:23:19Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:19Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:19Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:19Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules698343988/artifact_info file." + time="2021-07-27T05:23:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules698343988/artifact_info" + time="2021-07-27T05:23:19Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:19Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules698343988/artifact_info" + time="2021-07-27T05:23:19Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules698343988/device_type" + time="2021-07-27T05:23:19Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:19Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules698343988/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules698343988/work/payloads/0000/tree" + time="2021-07-27T05:23:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules698343988/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules698343988/work/payloads/0000/tree" + time="2021-07-27T05:23:20Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:20Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47578->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47578->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43052->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43052->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58745->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58745->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32917->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32917->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules698343988/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules698343988/work/payloads/0000/tree" + time="2021-07-27T05:23:20Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:20Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:20Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43682->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43682->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46543->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46543->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50996->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50996->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38710->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38710->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:20Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules698343988/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules698343988/work/payloads/0000/tree" + time="2021-07-27T05:23:20Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55001->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55001->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36610->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36610->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46774->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46774->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 6 (*app.updateErrorState) - time="2022-08-29T11:32:13Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:13Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:13Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:13Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:13Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:13Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58264->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58264->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49659->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49659->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules535789235/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules535789235/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules535789235/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules535789235/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:13Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:13Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules535789235/artifact_info file." - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules535789235/artifact_info" - time="2022-08-29T11:32:13Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:13Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.02s) + time="2021-07-27T05:23:20Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:20Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:20Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:20Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:20Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:20Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58696->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58696->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34087->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34087->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:20Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules698343988/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules698343988/work/payloads/0000/tree" + time="2021-07-27T05:23:20Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules698343988/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules698343988/work/payloads/0000/tree" + time="2021-07-27T05:23:20Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:20Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:20Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules698343988/artifact_info file." + time="2021-07-27T05:23:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules698343988/artifact_info" + time="2021-07-27T05:23:20Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:20Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00 state_test.go:4717: Error in ArtifactCommit_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:13Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42134->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42134->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48644->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48644->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:13Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:13Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules012300056/device_type" - time="2022-08-29T11:32:13Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:13Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:13Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:13Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules012300056/artifact_info file." - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules012300056/artifact_info" - time="2022-08-29T11:32:13Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:13Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules012300056/artifact_info" - time="2022-08-29T11:32:13Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules012300056/device_type" - time="2022-08-29T11:32:13Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:13Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules012300056/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules012300056/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules012300056/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules012300056/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:13Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39861->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39861->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57108->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57108->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56362->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56362->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54433->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54433->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules012300056/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules012300056/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules012300056/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules012300056/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:13Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36132->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36132->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41271->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41271->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55646->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55646->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40761->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40761->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:13Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules012300056/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules012300056/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules012300056/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules012300056/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:13Z" level=debug msg="Handling state after reboot" - time="2022-08-29T11:32:13Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41213->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41213->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40672->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40672->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36198->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36198->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53073->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53073->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="transient error: error calling enter script for (error) update-commit state: error running enter state script(s) for ArtifactCommit_Enter state: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:13Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33302->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33302->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44957->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44957->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58909->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58909->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50355->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50355->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules012300056/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules012300056/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:13Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42542->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42542->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44804->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44804->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56565->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56565->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60914->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60914->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules012300056/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules012300056/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules012300056/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules012300056/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:13Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:13Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56888->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56888->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45447->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45447->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44101->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44101->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50694->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50694->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules012300056/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules012300056/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules012300056/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules012300056/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:13Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:13Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules012300056/artifact_info file." - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules012300056/artifact_info" - time="2022-08-29T11:32:13Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:13Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.24s) + time="2021-07-27T05:23:20Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:20Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57829->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57829->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37786->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37786->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:20Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:20Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:20Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules551392045/device_type" + time="2021-07-27T05:23:20Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:20Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:20Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:20Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules551392045/artifact_info file." + time="2021-07-27T05:23:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules551392045/artifact_info" + time="2021-07-27T05:23:20Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:20Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules551392045/artifact_info" + time="2021-07-27T05:23:20Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules551392045/device_type" + time="2021-07-27T05:23:20Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:20Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules551392045/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules551392045/work/payloads/0000/tree" + time="2021-07-27T05:23:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules551392045/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules551392045/work/payloads/0000/tree" + time="2021-07-27T05:23:20Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:20Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48231->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48231->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50045->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50045->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36156->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36156->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58651->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58651->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules551392045/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules551392045/work/payloads/0000/tree" + time="2021-07-27T05:23:20Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules551392045/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules551392045/work/payloads/0000/tree" + time="2021-07-27T05:23:20Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:20Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50714->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50714->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46026->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46026->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58425->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58425->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46041->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46041->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:20Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:20Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules551392045/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules551392045/work/payloads/0000/tree" + time="2021-07-27T05:23:20Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:20Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules551392045/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules551392045/work/payloads/0000/tree" + time="2021-07-27T05:23:20Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:20Z" level=debug msg="Handling state after reboot" + time="2021-07-27T05:23:20Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36291->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36291->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42567->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42567->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54952->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54952->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54471->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54471->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="transient error: error calling enter script for (error) update-commit state: error running enter state script(s) for ArtifactCommit_Enter state: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" + time="2021-07-27T05:23:20Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:20Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34846->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34846->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41908->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41908->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37743->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37743->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48612->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48612->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:20Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules551392045/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules551392045/work/payloads/0000/tree" + time="2021-07-27T05:23:20Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:20Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38890->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38890->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51206->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51206->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40246->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40246->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52541->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52541->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:20Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules551392045/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules551392045/work/payloads/0000/tree" + time="2021-07-27T05:23:20Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:20Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules551392045/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules551392045/work/payloads/0000/tree" + time="2021-07-27T05:23:20Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:20Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:20Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37845->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37845->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35297->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35297->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59656->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59656->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47801->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47801->[::1]:53: read: connection refused" + time="2021-07-27T05:23:20Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:20Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules551392045/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules551392045/work/payloads/0000/tree" + time="2021-07-27T05:23:20Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:20Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules551392045/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules551392045/work/payloads/0000/tree" + time="2021-07-27T05:23:21Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:21Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:21Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:21Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules551392045/artifact_info file." + time="2021-07-27T05:23:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules551392045/artifact_info" + time="2021-07-27T05:23:21Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:21Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.95s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00 state_test.go:4717: Killed in ArtifactCommit_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:13Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53070->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53070->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58522->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58522->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:13Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:13Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules168578529/device_type" - time="2022-08-29T11:32:13Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:13Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:13Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:13Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules168578529/artifact_info file." - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules168578529/artifact_info" - time="2022-08-29T11:32:13Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:13Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules168578529/artifact_info" - time="2022-08-29T11:32:13Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules168578529/device_type" - time="2022-08-29T11:32:13Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:13Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:13Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules168578529/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules168578529/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules168578529/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules168578529/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:13Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41636->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41636->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58552->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58552->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38172->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38172->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60885->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60885->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules168578529/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules168578529/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules168578529/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules168578529/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:13Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:13Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55597->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55597->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55956->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55956->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52183->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52183->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57733->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57733->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:13Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules168578529/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules168578529/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules168578529/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules168578529/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:13Z" level=debug msg="Handling state after reboot" - time="2022-08-29T11:32:13Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43583->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43583->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38920->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38920->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56715->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56715->[::1]:53: read: connection refused" + time="2021-07-27T05:23:21Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:21Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:21Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:21Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52898->[::1]:53: read: connection refused" + time="2021-07-27T05:23:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52898->[::1]:53: read: connection refused" + time="2021-07-27T05:23:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33883->[::1]:53: read: connection refused" + time="2021-07-27T05:23:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33883->[::1]:53: read: connection refused" + time="2021-07-27T05:23:21Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:21Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:21Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:21Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules891183130/device_type" + time="2021-07-27T05:23:21Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:21Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:21Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:21Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:22Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:22Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules891183130/artifact_info file." + time="2021-07-27T05:23:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules891183130/artifact_info" + time="2021-07-27T05:23:22Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:22Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules891183130/artifact_info" + time="2021-07-27T05:23:22Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules891183130/device_type" + time="2021-07-27T05:23:22Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:22Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:22Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:22Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891183130/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules891183130/work/payloads/0000/tree" + time="2021-07-27T05:23:22Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:22Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891183130/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules891183130/work/payloads/0000/tree" + time="2021-07-27T05:23:22Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:22Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:22Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:22Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:22Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33697->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33697->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53668->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53668->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:22Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35823->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35823->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36451->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36451->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891183130/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules891183130/work/payloads/0000/tree" + time="2021-07-27T05:23:22Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891183130/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules891183130/work/payloads/0000/tree" + time="2021-07-27T05:23:22Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:22Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:22Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:22Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47895->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47895->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37070->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37070->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:22Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41153->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41153->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49300->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49300->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:22Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:22Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891183130/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules891183130/work/payloads/0000/tree" + time="2021-07-27T05:23:22Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:22Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891183130/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules891183130/work/payloads/0000/tree" + time="2021-07-27T05:23:22Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:22Z" level=debug msg="Handling state after reboot" + time="2021-07-27T05:23:22Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:23:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:22Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42626->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42626->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32841->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32841->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:22Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58564->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58564->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateRollbackState) - time="2022-08-29T11:32:13Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:13Z" level=info msg="Handling loaded state: update-commit" - time="2022-08-29T11:32:13Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:13Z" level=error msg="Mender shut down in state: update-commit" - time="2022-08-29T11:32:13Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:13Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40604->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40604->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41443->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41443->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules168578529/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules168578529/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:13Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44411->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44411->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54660->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54660->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53182->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53182->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58528->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58528->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules168578529/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules168578529/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules168578529/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules168578529/work/payloads/0000/tree" - time="2022-08-29T11:32:13Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:13Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:13Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39294->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39294->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34454->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34454->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:13Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60323->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60323->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41780->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41780->[::1]:53: read: connection refused" - time="2022-08-29T11:32:13Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:13Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules168578529/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules168578529/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules168578529/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules168578529/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:14Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:14Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules168578529/artifact_info file." - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules168578529/artifact_info" - time="2022-08-29T11:32:14Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.04s) + time="2021-07-27T05:23:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:22Z" level=info msg="Handling loaded state: update-commit" + time="2021-07-27T05:23:22Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:22Z" level=error msg="Mender shut down in state: update-commit" + time="2021-07-27T05:23:22Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:22Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:22Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45260->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45260->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59751->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59751->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:22Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891183130/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules891183130/work/payloads/0000/tree" + time="2021-07-27T05:23:22Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:22Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:22Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55535->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55535->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56523->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56523->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59723->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59723->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51407->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51407->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891183130/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules891183130/work/payloads/0000/tree" + time="2021-07-27T05:23:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891183130/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules891183130/work/payloads/0000/tree" + time="2021-07-27T05:23:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:22Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:22Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55663->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55663->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47409->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47409->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42409->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42409->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52588->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52588->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891183130/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules891183130/work/payloads/0000/tree" + time="2021-07-27T05:23:22Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:22Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:22Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:22Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891183130/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules891183130/work/payloads/0000/tree" + time="2021-07-27T05:23:22Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:22Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:22Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:22Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:22Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules891183130/artifact_info file." + time="2021-07-27T05:23:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules891183130/artifact_info" + time="2021-07-27T05:23:22Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:22Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.16s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00,_no_reboot state_test.go:4717: Error in ArtifactCommit_Enter_00, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:14Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43292->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43292->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33433->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33433->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules166728414/device_type" - time="2022-08-29T11:32:14Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:14Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:14Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules166728414/artifact_info file." - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules166728414/artifact_info" - time="2022-08-29T11:32:14Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules166728414/artifact_info" - time="2022-08-29T11:32:14Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules166728414/device_type" - time="2022-08-29T11:32:14Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules166728414/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules166728414/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules166728414/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules166728414/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:14Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41021->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41021->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53352->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53352->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57390->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57390->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36733->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36733->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules166728414/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules166728414/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules166728414/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules166728414/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=debug msg="Update module output: No" - time="2022-08-29T11:32:14Z" level=debug msg="Module does not need reboot" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55724->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55724->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51429->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51429->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50857->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50857->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48893->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48893->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="transient error: error calling enter script for (error) update-commit state: error running enter state script(s) for ArtifactCommit_Enter state: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:14Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55756->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55756->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55066->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55066->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58217->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58217->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47070->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47070->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules166728414/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules166728414/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33252->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33252->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48362->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48362->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58348->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58348->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47768->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47768->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules166728414/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules166728414/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules166728414/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules166728414/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:14Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:14Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules166728414/artifact_info file." - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules166728414/artifact_info" - time="2022-08-29T11:32:14Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.15s) + time="2021-07-27T05:23:22Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:22Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:22Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:22Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40980->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40980->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49328->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49328->[::1]:53: read: connection refused" + time="2021-07-27T05:23:22Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:22Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:22Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:22Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules348958731/device_type" + time="2021-07-27T05:23:22Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:22Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:22Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:22Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:23Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules348958731/artifact_info file." + time="2021-07-27T05:23:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules348958731/artifact_info" + time="2021-07-27T05:23:23Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:23Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules348958731/artifact_info" + time="2021-07-27T05:23:23Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules348958731/device_type" + time="2021-07-27T05:23:23Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:23Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:23Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules348958731/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules348958731/work/payloads/0000/tree" + time="2021-07-27T05:23:23Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:23Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules348958731/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules348958731/work/payloads/0000/tree" + time="2021-07-27T05:23:23Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:23Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:23Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:23Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34136->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34136->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44990->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44990->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34312->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34312->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57247->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57247->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules348958731/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules348958731/work/payloads/0000/tree" + time="2021-07-27T05:23:23Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules348958731/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules348958731/work/payloads/0000/tree" + time="2021-07-27T05:23:23Z" level=debug msg="Update module output: No" + time="2021-07-27T05:23:23Z" level=debug msg="Module does not need reboot" + time="2021-07-27T05:23:23Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59492->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59492->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55526->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55526->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38114->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38114->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35288->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35288->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="transient error: error calling enter script for (error) update-commit state: error running enter state script(s) for ArtifactCommit_Enter state: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" + time="2021-07-27T05:23:23Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:23Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53119->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53119->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53146->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53146->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33321->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33321->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36712->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36712->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:23Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules348958731/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules348958731/work/payloads/0000/tree" + time="2021-07-27T05:23:23Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43680->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43680->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46991->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46991->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34105->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34105->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41601->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41601->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:23Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules348958731/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules348958731/work/payloads/0000/tree" + time="2021-07-27T05:23:23Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:23Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules348958731/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules348958731/work/payloads/0000/tree" + time="2021-07-27T05:23:23Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:23Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:23Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules348958731/artifact_info file." + time="2021-07-27T05:23:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules348958731/artifact_info" + time="2021-07-27T05:23:23Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:23Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.59s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00,_no_reboot state_test.go:4717: Killed in ArtifactCommit_Enter_00, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:14Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50503->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50503->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43445->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43445->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules431580191/device_type" - time="2022-08-29T11:32:14Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:14Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:14Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules431580191/artifact_info file." - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules431580191/artifact_info" - time="2022-08-29T11:32:14Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules431580191/artifact_info" - time="2022-08-29T11:32:14Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules431580191/device_type" - time="2022-08-29T11:32:14Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules431580191/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules431580191/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules431580191/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules431580191/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:14Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40469->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40469->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60599->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60599->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45580->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45580->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60466->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60466->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules431580191/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules431580191/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules431580191/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules431580191/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=debug msg="Update module output: No" - time="2022-08-29T11:32:14Z" level=debug msg="Module does not need reboot" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58299->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58299->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39275->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39275->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35817->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35817->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:23Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53002->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53002->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51114->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51114->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:23Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:23Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:23Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules833617232/device_type" + time="2021-07-27T05:23:23Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:23Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:23Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:23Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:23Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules833617232/artifact_info file." + time="2021-07-27T05:23:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules833617232/artifact_info" + time="2021-07-27T05:23:23Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:23Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules833617232/artifact_info" + time="2021-07-27T05:23:23Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules833617232/device_type" + time="2021-07-27T05:23:23Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:23Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:23Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules833617232/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules833617232/work/payloads/0000/tree" + time="2021-07-27T05:23:23Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:23Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules833617232/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules833617232/work/payloads/0000/tree" + time="2021-07-27T05:23:23Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:23Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:23Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:23Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43841->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43841->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37302->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37302->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51511->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51511->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54599->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54599->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules833617232/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules833617232/work/payloads/0000/tree" + time="2021-07-27T05:23:23Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules833617232/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules833617232/work/payloads/0000/tree" + time="2021-07-27T05:23:23Z" level=debug msg="Update module output: No" + time="2021-07-27T05:23:23Z" level=debug msg="Module does not need reboot" + time="2021-07-27T05:23:23Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55721->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55721->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33737->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33737->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55624->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55624->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateRollbackState) - time="2022-08-29T11:32:14Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:14Z" level=info msg="Handling loaded state: update-commit" - time="2022-08-29T11:32:14Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:14Z" level=error msg="Mender shut down in state: update-commit" - time="2022-08-29T11:32:14Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:14Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49436->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49436->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33874->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33874->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules431580191/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules431580191/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58656->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58656->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44291->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44291->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43038->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43038->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40675->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40675->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules431580191/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules431580191/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules431580191/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules431580191/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:14Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:14Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules431580191/artifact_info file." - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules431580191/artifact_info" - time="2022-08-29T11:32:14Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.02s) + time="2021-07-27T05:23:23Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:23Z" level=info msg="Handling loaded state: update-commit" + time="2021-07-27T05:23:23Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:23Z" level=error msg="Mender shut down in state: update-commit" + time="2021-07-27T05:23:23Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:23Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42989->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42989->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52773->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52773->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:23Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules833617232/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules833617232/work/payloads/0000/tree" + time="2021-07-27T05:23:23Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35959->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35959->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39187->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39187->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54729->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54729->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39281->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39281->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:23Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules833617232/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules833617232/work/payloads/0000/tree" + time="2021-07-27T05:23:23Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:23Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules833617232/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules833617232/work/payloads/0000/tree" + time="2021-07-27T05:23:23Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:23Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:23Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules833617232/artifact_info file." + time="2021-07-27T05:23:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules833617232/artifact_info" + time="2021-07-27T05:23:23Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:23Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.07s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_Download_Leave_00_state,_no_rollback state_test.go:4717: Error in Download_Leave_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:14Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52285->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52285->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52215->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52215->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules412535540/device_type" - time="2022-08-29T11:32:14Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:14Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:14Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules412535540/artifact_info file." - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules412535540/artifact_info" - time="2022-08-29T11:32:14Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules412535540/artifact_info" - time="2022-08-29T11:32:14Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules412535540/device_type" - time="2022-08-29T11:32:14Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules412535540/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules412535540/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules412535540/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules412535540/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=debug msg="Update module output: No" - time="2022-08-29T11:32:14Z" level=debug msg="Module does not support rollback" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45460->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45460->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54052->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54052->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="transient error: error executing leave script for update-after-store state: error running leave state script(s) for Download_Leave state: statescript: error executing 'Download_Leave_00': 1 : exit status 1" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-after-store [Download_Leave] -> cleanup [Error]" - time="2022-08-29T11:32:14Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: Download_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules412535540/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules412535540/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:14Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:14Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules412535540/artifact_info file." - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules412535540/artifact_info" - time="2022-08-29T11:32:14Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.11s) + time="2021-07-27T05:23:23Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:23Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:23Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42147->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42147->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57443->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57443->[::1]:53: read: connection refused" + time="2021-07-27T05:23:23Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:23Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:23Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:23Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules921152121/device_type" + time="2021-07-27T05:23:23Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:23Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:23Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:23Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:24Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules921152121/artifact_info file." + time="2021-07-27T05:23:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules921152121/artifact_info" + time="2021-07-27T05:23:24Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:24Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules921152121/artifact_info" + time="2021-07-27T05:23:24Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules921152121/device_type" + time="2021-07-27T05:23:24Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:24Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:24Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules921152121/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules921152121/work/payloads/0000/tree" + time="2021-07-27T05:23:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules921152121/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules921152121/work/payloads/0000/tree" + time="2021-07-27T05:23:24Z" level=debug msg="Update module output: No" + time="2021-07-27T05:23:24Z" level=debug msg="Module does not support rollback" + time="2021-07-27T05:23:24Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:24Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:24Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44263->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44263->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60338->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60338->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=error msg="transient error: error executing leave script for update-after-store state: error running leave state script(s) for Download_Leave state: statescript: error executing 'Download_Leave_00': 1 : exit status 1" + time="2021-07-27T05:23:24Z" level=info msg="State transition: update-after-store [Download_Leave] -> cleanup [Error]" + time="2021-07-27T05:23:24Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:24Z" level=debug msg="Executing script: Download_Error_00" + time="2021-07-27T05:23:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:24Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules921152121/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules921152121/work/payloads/0000/tree" + time="2021-07-27T05:23:24Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:24Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:24Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:24Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules921152121/artifact_info file." + time="2021-07-27T05:23:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules921152121/artifact_info" + time="2021-07-27T05:23:24Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:24Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.48s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_Download_Leave_00_state,_no_rollback state_test.go:4717: Killed in Download_Leave_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:14Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43009->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43009->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42924->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42924->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules053802733/device_type" - time="2022-08-29T11:32:14Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:14Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:14Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules053802733/artifact_info file." - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules053802733/artifact_info" - time="2022-08-29T11:32:14Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules053802733/artifact_info" - time="2022-08-29T11:32:14Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules053802733/device_type" - time="2022-08-29T11:32:14Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules053802733/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules053802733/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules053802733/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules053802733/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=debug msg="Update module output: No" - time="2022-08-29T11:32:14Z" level=debug msg="Module does not support rollback" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59375->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59375->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:24Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:24Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:24Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33243->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33243->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37911->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37911->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:24Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:24Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:24Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules650963286/device_type" + time="2021-07-27T05:23:24Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:24Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:24Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:24Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:24Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules650963286/artifact_info file." + time="2021-07-27T05:23:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules650963286/artifact_info" + time="2021-07-27T05:23:24Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:24Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules650963286/artifact_info" + time="2021-07-27T05:23:24Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules650963286/device_type" + time="2021-07-27T05:23:24Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:24Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:24Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules650963286/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules650963286/work/payloads/0000/tree" + time="2021-07-27T05:23:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules650963286/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules650963286/work/payloads/0000/tree" + time="2021-07-27T05:23:24Z" level=debug msg="Update module output: No" + time="2021-07-27T05:23:24Z" level=debug msg="Module does not support rollback" + time="2021-07-27T05:23:24Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:24Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:24Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57628->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57628->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 4 (*app.updateCleanupState) - time="2022-08-29T11:32:14Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:14Z" level=info msg="Handling loaded state: update-after-store" - time="2022-08-29T11:32:14Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:14Z" level=error msg="Mender shut down in state: update-after-store" - time="2022-08-29T11:32:14Z" level=info msg="State transition: init [none] -> cleanup [Error]" - time="2022-08-29T11:32:14Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules053802733/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules053802733/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:14Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:14Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules053802733/artifact_info file." - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules053802733/artifact_info" - time="2022-08-29T11:32:14Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.01s) + time="2021-07-27T05:23:24Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:24Z" level=info msg="Handling loaded state: update-after-store" + time="2021-07-27T05:23:24Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:24Z" level=error msg="Mender shut down in state: update-after-store" + time="2021-07-27T05:23:24Z" level=info msg="State transition: init [none] -> cleanup [Error]" + time="2021-07-27T05:23:24Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:24Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules650963286/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules650963286/work/payloads/0000/tree" + time="2021-07-27T05:23:24Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:24Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:24Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:24Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules650963286/artifact_info file." + time="2021-07-27T05:23:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules650963286/artifact_info" + time="2021-07-27T05:23:24Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:24Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.05s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00_state,_no_rollback state_test.go:4717: Error in ArtifactInstall_Leave_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:14Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45871->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45871->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32810->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32810->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules852338394/device_type" - time="2022-08-29T11:32:14Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:14Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:14Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules852338394/artifact_info file." - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules852338394/artifact_info" - time="2022-08-29T11:32:14Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules852338394/artifact_info" - time="2022-08-29T11:32:14Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules852338394/device_type" - time="2022-08-29T11:32:14Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules852338394/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules852338394/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules852338394/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules852338394/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=debug msg="Update module output: No" - time="2022-08-29T11:32:14Z" level=debug msg="Module does not support rollback" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41387->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41387->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57731->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57731->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55306->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55306->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40834->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40834->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules852338394/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules852338394/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules852338394/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules852338394/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:14Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42817->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42817->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46593->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46593->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="transient error: error executing leave script for update-install state: error running leave state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" - time="2022-08-29T11:32:14Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:14Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49601->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49601->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43979->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43979->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56946->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56946->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39708->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39708->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules852338394/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules852338394/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules852338394/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules852338394/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:14Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:14Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:14Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.13s) + time="2021-07-27T05:23:24Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:24Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:24Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:24Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37207->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37207->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53094->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53094->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:24Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:24Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:24Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules149144567/device_type" + time="2021-07-27T05:23:24Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:24Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:24Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:24Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:24Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules149144567/artifact_info file." + time="2021-07-27T05:23:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules149144567/artifact_info" + time="2021-07-27T05:23:24Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:24Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules149144567/artifact_info" + time="2021-07-27T05:23:24Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules149144567/device_type" + time="2021-07-27T05:23:24Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:24Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:24Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:24Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149144567/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules149144567/work/payloads/0000/tree" + time="2021-07-27T05:23:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149144567/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules149144567/work/payloads/0000/tree" + time="2021-07-27T05:23:24Z" level=debug msg="Update module output: No" + time="2021-07-27T05:23:24Z" level=debug msg="Module does not support rollback" + time="2021-07-27T05:23:24Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:24Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:24Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42240->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42240->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40522->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40522->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:24Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45716->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45716->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44578->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44578->[::1]:53: read: connection refused" + time="2021-07-27T05:23:24Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149144567/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules149144567/work/payloads/0000/tree" + time="2021-07-27T05:23:25Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149144567/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules149144567/work/payloads/0000/tree" + time="2021-07-27T05:23:25Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:25Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:25Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:25Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43001->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43001->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37021->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37021->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="transient error: error executing leave script for update-install state: error running leave state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" + time="2021-07-27T05:23:25Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2021-07-27T05:23:25Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:25Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:25Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35689->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35689->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45342->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45342->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:25Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45876->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45876->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39318->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39318->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:25Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149144567/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules149144567/work/payloads/0000/tree" + time="2021-07-27T05:23:25Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:25Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:25Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:25Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149144567/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules149144567/work/payloads/0000/tree" + time="2021-07-27T05:23:25Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:25Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:25Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:25Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:25Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.75s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00_state,_no_rollback state_test.go:4717: Killed in ArtifactInstall_Leave_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:14Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44416->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44416->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34363->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34363->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules103651275/device_type" - time="2022-08-29T11:32:14Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:14Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:14Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules103651275/artifact_info file." - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules103651275/artifact_info" - time="2022-08-29T11:32:14Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules103651275/artifact_info" - time="2022-08-29T11:32:14Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules103651275/device_type" - time="2022-08-29T11:32:14Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103651275/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules103651275/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103651275/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules103651275/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=debug msg="Update module output: No" - time="2022-08-29T11:32:14Z" level=debug msg="Module does not support rollback" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36830->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36830->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50682->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50682->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50437->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50437->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34352->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34352->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103651275/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules103651275/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103651275/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules103651275/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:14Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35310->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35310->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:25Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:25Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:25Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55996->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55996->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52503->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52503->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:25Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:25Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:25Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules741461420/device_type" + time="2021-07-27T05:23:25Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:25Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:25Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:25Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:25Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:25Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules741461420/artifact_info file." + time="2021-07-27T05:23:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules741461420/artifact_info" + time="2021-07-27T05:23:25Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:25Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules741461420/artifact_info" + time="2021-07-27T05:23:25Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules741461420/device_type" + time="2021-07-27T05:23:25Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:25Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules741461420/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules741461420/work/payloads/0000/tree" + time="2021-07-27T05:23:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:25Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules741461420/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules741461420/work/payloads/0000/tree" + time="2021-07-27T05:23:25Z" level=debug msg="Update module output: No" + time="2021-07-27T05:23:25Z" level=debug msg="Module does not support rollback" + time="2021-07-27T05:23:25Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:25Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:25Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45383->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45383->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38836->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38836->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:25Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34821->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34821->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54181->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54181->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules741461420/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules741461420/work/payloads/0000/tree" + time="2021-07-27T05:23:25Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules741461420/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules741461420/work/payloads/0000/tree" + time="2021-07-27T05:23:25Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:25Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:25Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:25Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52729->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52729->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateErrorState) - time="2022-08-29T11:32:14Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:14Z" level=info msg="Handling loaded state: update-install" - time="2022-08-29T11:32:14Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:14Z" level=error msg="Mender shut down in state: update-install" - time="2022-08-29T11:32:14Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2022-08-29T11:32:14Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:14Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35302->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35302->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44828->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44828->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103651275/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules103651275/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:14Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103651275/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules103651275/work/payloads/0000/tree" - time="2022-08-29T11:32:14Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:14Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:14Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:14Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.01s) + time="2021-07-27T05:23:25Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:25Z" level=info msg="Handling loaded state: update-install" + time="2021-07-27T05:23:25Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:25Z" level=error msg="Mender shut down in state: update-install" + time="2021-07-27T05:23:25Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2021-07-27T05:23:25Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:25Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:25Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50745->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50745->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56029->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56029->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:25Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules741461420/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules741461420/work/payloads/0000/tree" + time="2021-07-27T05:23:25Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:25Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:25Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:25Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules741461420/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules741461420/work/payloads/0000/tree" + time="2021-07-27T05:23:25Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:25Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:25Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:25Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:25Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00 state_test.go:4717: Error in ArtifactInstall_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:14Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:14Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59735->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59735->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55132->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55132->[::1]:53: read: connection refused" - time="2022-08-29T11:32:14Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:14Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:14Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules076313616/device_type" - time="2022-08-29T11:32:14Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:14Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:14Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:14Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules076313616/artifact_info file." - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules076313616/artifact_info" - time="2022-08-29T11:32:15Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules076313616/artifact_info" - time="2022-08-29T11:32:15Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules076313616/device_type" - time="2022-08-29T11:32:15Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules076313616/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules076313616/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules076313616/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules076313616/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:15Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45909->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45909->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58662->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58662->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60288->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60288->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39844->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39844->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules076313616/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules076313616/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules076313616/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules076313616/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:15Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47108->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47108->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59806->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59806->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="transient error: error executing leave script for update-install state: error running leave state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:15Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39768->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39768->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35184->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35184->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42611->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42611->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40894->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40894->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules076313616/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules076313616/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:15Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45960->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45960->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55146->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55146->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55300->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55300->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42840->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42840->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules076313616/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules076313616/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules076313616/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules076313616/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:15Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:15Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52433->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52433->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33313->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33313->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58028->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58028->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41942->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41942->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules076313616/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules076313616/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules076313616/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules076313616/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:15Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:15Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules076313616/artifact_info file." - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules076313616/artifact_info" - time="2022-08-29T11:32:15Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.15s) + time="2021-07-27T05:23:25Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:25Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:25Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:25Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42962->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42962->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38869->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38869->[::1]:53: read: connection refused" + time="2021-07-27T05:23:25Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:25Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:25Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:25Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules691715589/device_type" + time="2021-07-27T05:23:25Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:25Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:25Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:25Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:26Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules691715589/artifact_info file." + time="2021-07-27T05:23:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules691715589/artifact_info" + time="2021-07-27T05:23:26Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:26Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules691715589/artifact_info" + time="2021-07-27T05:23:26Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules691715589/device_type" + time="2021-07-27T05:23:26Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:26Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules691715589/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules691715589/work/payloads/0000/tree" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules691715589/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules691715589/work/payloads/0000/tree" + time="2021-07-27T05:23:26Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:26Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:26Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:26Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35489->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35489->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41841->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41841->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43645->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43645->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34530->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34530->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules691715589/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules691715589/work/payloads/0000/tree" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules691715589/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules691715589/work/payloads/0000/tree" + time="2021-07-27T05:23:26Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:26Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:26Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45093->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45093->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43623->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43623->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="transient error: error executing leave script for update-install state: error running leave state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" + time="2021-07-27T05:23:26Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:26Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44737->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44737->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46675->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46675->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43014->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43014->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36499->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36499->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules691715589/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules691715589/work/payloads/0000/tree" + time="2021-07-27T05:23:26Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:26Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35323->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35323->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50066->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50066->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60065->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60065->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33114->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33114->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules691715589/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules691715589/work/payloads/0000/tree" + time="2021-07-27T05:23:26Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules691715589/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules691715589/work/payloads/0000/tree" + time="2021-07-27T05:23:26Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:26Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:26Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49689->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49689->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37679->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37679->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47965->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47965->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33463->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33463->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules691715589/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules691715589/work/payloads/0000/tree" + time="2021-07-27T05:23:26Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules691715589/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules691715589/work/payloads/0000/tree" + time="2021-07-27T05:23:26Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:26Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:26Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:26Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules691715589/artifact_info file." + time="2021-07-27T05:23:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules691715589/artifact_info" + time="2021-07-27T05:23:26Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:26Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.50s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00 state_test.go:4717: Killed in ArtifactInstall_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:15Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45487->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45487->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59395->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59395->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:15Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules403041337/device_type" - time="2022-08-29T11:32:15Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:15Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:15Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules403041337/artifact_info file." - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules403041337/artifact_info" - time="2022-08-29T11:32:15Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules403041337/artifact_info" - time="2022-08-29T11:32:15Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules403041337/device_type" - time="2022-08-29T11:32:15Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules403041337/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules403041337/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules403041337/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules403041337/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:15Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55994->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55994->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60839->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60839->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41254->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41254->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56076->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56076->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules403041337/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules403041337/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules403041337/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules403041337/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:15Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53242->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53242->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:26Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46961->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46961->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52633->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52633->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:26Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:26Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:26Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules231887826/device_type" + time="2021-07-27T05:23:26Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:26Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:26Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:26Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:26Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules231887826/artifact_info file." + time="2021-07-27T05:23:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules231887826/artifact_info" + time="2021-07-27T05:23:26Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:26Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules231887826/artifact_info" + time="2021-07-27T05:23:26Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules231887826/device_type" + time="2021-07-27T05:23:26Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:26Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:26Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231887826/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules231887826/work/payloads/0000/tree" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231887826/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules231887826/work/payloads/0000/tree" + time="2021-07-27T05:23:26Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:26Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:26Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:26Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32903->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32903->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33612->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33612->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42161->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42161->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43138->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43138->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231887826/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules231887826/work/payloads/0000/tree" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231887826/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules231887826/work/payloads/0000/tree" + time="2021-07-27T05:23:26Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:26Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:26Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58437->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58437->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateRollbackState) - time="2022-08-29T11:32:15Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:15Z" level=info msg="Handling loaded state: update-install" - time="2022-08-29T11:32:15Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:15Z" level=error msg="Mender shut down in state: update-install" - time="2022-08-29T11:32:15Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:15Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43789->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43789->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48620->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48620->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules403041337/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules403041337/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:15Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40889->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40889->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36120->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36120->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54405->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54405->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49143->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49143->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules403041337/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules403041337/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules403041337/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules403041337/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:15Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:15Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55440->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55440->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59239->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59239->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33269->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33269->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33058->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33058->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules403041337/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules403041337/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules403041337/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules403041337/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:15Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:15Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules403041337/artifact_info file." - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules403041337/artifact_info" - time="2022-08-29T11:32:15Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.03s) + time="2021-07-27T05:23:26Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:26Z" level=info msg="Handling loaded state: update-install" + time="2021-07-27T05:23:26Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:26Z" level=error msg="Mender shut down in state: update-install" + time="2021-07-27T05:23:26Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:26Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48837->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48837->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53955->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53955->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231887826/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules231887826/work/payloads/0000/tree" + time="2021-07-27T05:23:26Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:26Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59036->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59036->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50139->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50139->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34688->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34688->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51325->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51325->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231887826/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules231887826/work/payloads/0000/tree" + time="2021-07-27T05:23:26Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231887826/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules231887826/work/payloads/0000/tree" + time="2021-07-27T05:23:26Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:26Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:26Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41488->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41488->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56971->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56971->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32907->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32907->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43287->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43287->[::1]:53: read: connection refused" + time="2021-07-27T05:23:26Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231887826/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules231887826/work/payloads/0000/tree" + time="2021-07-27T05:23:26Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:26Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231887826/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules231887826/work/payloads/0000/tree" + time="2021-07-27T05:23:26Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:26Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:26Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:26Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules231887826/artifact_info file." + time="2021-07-27T05:23:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules231887826/artifact_info" + time="2021-07-27T05:23:26Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:26Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.12s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Leave_00 state_test.go:4717: Error in ArtifactReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:15Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58866->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58866->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33029->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33029->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:15Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules998288406/device_type" - time="2022-08-29T11:32:15Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:15Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:15Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules998288406/artifact_info file." - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules998288406/artifact_info" - time="2022-08-29T11:32:15Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules998288406/artifact_info" - time="2022-08-29T11:32:15Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules998288406/device_type" - time="2022-08-29T11:32:15Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules998288406/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules998288406/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules998288406/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules998288406/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:15Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33996->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33996->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50609->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50609->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48333->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48333->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35078->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35078->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules998288406/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules998288406/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules998288406/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules998288406/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:15Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46477->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46477->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54105->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54105->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49908->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49908->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44235->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44235->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:15Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules998288406/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules998288406/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules998288406/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules998288406/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:15Z" level=debug msg="Handling state after reboot" - time="2022-08-29T11:32:15Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41530->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41530->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41690->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41690->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="transient error: error executing leave script for after-reboot state: error running leave state script(s) for ArtifactReboot_Leave state: statescript: error executing 'ArtifactReboot_Leave_00': 1 : exit status 1" - time="2022-08-29T11:32:15Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:15Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56510->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56510->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53151->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53151->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50013->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50013->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60921->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60921->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules998288406/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules998288406/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:15Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49428->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49428->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33269->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33269->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36008->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36008->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51687->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51687->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules998288406/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules998288406/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules998288406/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules998288406/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:15Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:15Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41712->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41712->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52804->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52804->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45837->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45837->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55670->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55670->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules998288406/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules998288406/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules998288406/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules998288406/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:15Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:15Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules998288406/artifact_info file." - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules998288406/artifact_info" - time="2022-08-29T11:32:15Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.17s) + time="2021-07-27T05:23:26Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:26Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:27Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49831->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49831->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34456->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34456->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:27Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:27Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:27Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules304767011/device_type" + time="2021-07-27T05:23:27Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:27Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:27Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:27Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:27Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:27Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules304767011/artifact_info file." + time="2021-07-27T05:23:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules304767011/artifact_info" + time="2021-07-27T05:23:27Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:27Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules304767011/artifact_info" + time="2021-07-27T05:23:27Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules304767011/device_type" + time="2021-07-27T05:23:27Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:27Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:27Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules304767011/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules304767011/work/payloads/0000/tree" + time="2021-07-27T05:23:27Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules304767011/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules304767011/work/payloads/0000/tree" + time="2021-07-27T05:23:27Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:27Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:27Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:27Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41426->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41426->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55832->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55832->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54876->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54876->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50999->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50999->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules304767011/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules304767011/work/payloads/0000/tree" + time="2021-07-27T05:23:27Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules304767011/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules304767011/work/payloads/0000/tree" + time="2021-07-27T05:23:27Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:27Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:27Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60123->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60123->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33339->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33339->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35381->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35381->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37053->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37053->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:27Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:27Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules304767011/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules304767011/work/payloads/0000/tree" + time="2021-07-27T05:23:27Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:27Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules304767011/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules304767011/work/payloads/0000/tree" + time="2021-07-27T05:23:27Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:27Z" level=debug msg="Handling state after reboot" + time="2021-07-27T05:23:27Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59921->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59921->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58292->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58292->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="transient error: error executing leave script for after-reboot state: error running leave state script(s) for ArtifactReboot_Leave state: statescript: error executing 'ArtifactReboot_Leave_00': 1 : exit status 1" + time="2021-07-27T05:23:27Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:27Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50904->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50904->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39179->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39179->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52027->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52027->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44809->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44809->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:27Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules304767011/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules304767011/work/payloads/0000/tree" + time="2021-07-27T05:23:27Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:27Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57961->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57961->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33972->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33972->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35054->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35054->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55080->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55080->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:27Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules304767011/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules304767011/work/payloads/0000/tree" + time="2021-07-27T05:23:27Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:27Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules304767011/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules304767011/work/payloads/0000/tree" + time="2021-07-27T05:23:27Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:27Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:27Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42419->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42419->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39982->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39982->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47069->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47069->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41547->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41547->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:27Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules304767011/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules304767011/work/payloads/0000/tree" + time="2021-07-27T05:23:27Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:27Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules304767011/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules304767011/work/payloads/0000/tree" + time="2021-07-27T05:23:27Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:27Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:27Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:27Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules304767011/artifact_info file." + time="2021-07-27T05:23:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules304767011/artifact_info" + time="2021-07-27T05:23:27Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:27Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.62s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Leave_00 state_test.go:4717: Killed in ArtifactReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:15Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52901->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52901->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44785->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44785->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:15Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules151803319/device_type" - time="2022-08-29T11:32:15Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:15Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:15Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules151803319/artifact_info file." - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules151803319/artifact_info" - time="2022-08-29T11:32:15Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules151803319/artifact_info" - time="2022-08-29T11:32:15Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules151803319/device_type" - time="2022-08-29T11:32:15Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules151803319/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules151803319/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules151803319/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules151803319/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:15Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42598->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42598->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37239->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37239->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41823->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41823->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40466->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40466->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules151803319/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules151803319/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules151803319/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules151803319/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:15Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48788->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48788->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60994->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60994->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54426->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54426->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37903->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37903->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:15Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules151803319/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules151803319/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules151803319/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules151803319/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:15Z" level=debug msg="Handling state after reboot" - time="2022-08-29T11:32:15Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46478->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46478->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:27Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41103->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41103->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42631->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42631->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:27Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:27Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:27Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules287993160/device_type" + time="2021-07-27T05:23:27Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:27Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:27Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:27Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:27Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:27Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules287993160/artifact_info file." + time="2021-07-27T05:23:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules287993160/artifact_info" + time="2021-07-27T05:23:27Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:27Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules287993160/artifact_info" + time="2021-07-27T05:23:27Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules287993160/device_type" + time="2021-07-27T05:23:27Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:27Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:27Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:27Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules287993160/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules287993160/work/payloads/0000/tree" + time="2021-07-27T05:23:27Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules287993160/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules287993160/work/payloads/0000/tree" + time="2021-07-27T05:23:27Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:27Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:27Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:27Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47103->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47103->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38790->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38790->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43680->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43680->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34812->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34812->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules287993160/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules287993160/work/payloads/0000/tree" + time="2021-07-27T05:23:27Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules287993160/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules287993160/work/payloads/0000/tree" + time="2021-07-27T05:23:27Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:27Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:27Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:27Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34995->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34995->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44712->[::1]:53: read: connection refused" + time="2021-07-27T05:23:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44712->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55116->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55116->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36091->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36091->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:28Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:28Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules287993160/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules287993160/work/payloads/0000/tree" + time="2021-07-27T05:23:28Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:28Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules287993160/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules287993160/work/payloads/0000/tree" + time="2021-07-27T05:23:28Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:28Z" level=debug msg="Handling state after reboot" + time="2021-07-27T05:23:28Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55275->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55275->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateRollbackState) - time="2022-08-29T11:32:15Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:15Z" level=info msg="Handling loaded state: after-reboot" - time="2022-08-29T11:32:15Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:15Z" level=error msg="Mender shut down in state: after-reboot" - time="2022-08-29T11:32:15Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:15Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48382->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48382->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33836->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33836->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules151803319/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules151803319/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:15Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56375->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56375->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56277->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56277->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35788->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35788->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40799->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40799->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules151803319/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules151803319/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules151803319/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules151803319/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:15Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:15Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55770->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55770->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52165->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52165->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56587->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56587->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47747->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47747->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules151803319/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules151803319/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules151803319/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules151803319/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:15Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:15Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules151803319/artifact_info file." - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules151803319/artifact_info" - time="2022-08-29T11:32:15Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.04s) + time="2021-07-27T05:23:28Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:28Z" level=info msg="Handling loaded state: after-reboot" + time="2021-07-27T05:23:28Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:28Z" level=error msg="Mender shut down in state: after-reboot" + time="2021-07-27T05:23:28Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:28Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46750->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46750->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50470->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50470->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:28Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules287993160/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules287993160/work/payloads/0000/tree" + time="2021-07-27T05:23:28Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:28Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42890->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42890->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54437->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54437->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52159->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52159->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54298->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54298->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules287993160/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules287993160/work/payloads/0000/tree" + time="2021-07-27T05:23:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules287993160/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules287993160/work/payloads/0000/tree" + time="2021-07-27T05:23:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:28Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:28Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41898->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41898->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58419->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58419->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59474->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59474->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36894->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36894->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:28Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules287993160/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules287993160/work/payloads/0000/tree" + time="2021-07-27T05:23:28Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:28Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules287993160/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules287993160/work/payloads/0000/tree" + time="2021-07-27T05:23:28Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:28Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:28Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:28Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules287993160/artifact_info file." + time="2021-07-27T05:23:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules287993160/artifact_info" + time="2021-07-27T05:23:28Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:28Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.12s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Leave_00 state_test.go:4717: Error in ArtifactRollback_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:15Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51942->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51942->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50812->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50812->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:15Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules920897644/device_type" - time="2022-08-29T11:32:15Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:15Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:15Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules920897644/artifact_info file." - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules920897644/artifact_info" - time="2022-08-29T11:32:15Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules920897644/artifact_info" - time="2022-08-29T11:32:15Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules920897644/device_type" - time="2022-08-29T11:32:15Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules920897644/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules920897644/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules920897644/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules920897644/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:15Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53089->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53089->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56371->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56371->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43358->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43358->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52176->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52176->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules920897644/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules920897644/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules920897644/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules920897644/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:15Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34246->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34246->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44032->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44032->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55918->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55918->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59721->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59721->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:15Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules920897644/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules920897644/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules920897644/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules920897644/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:15Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:15Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:15Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51666->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51666->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36937->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36937->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35633->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35633->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54978->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54978->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules920897644/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules920897644/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:15Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33640->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33640->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Leave_00': 1: exit status 1" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43755->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43755->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55344->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55344->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53450->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53450->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules920897644/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules920897644/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules920897644/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules920897644/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:15Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:15Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44383->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44383->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54799->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54799->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45728->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45728->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40244->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40244->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules920897644/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules920897644/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules920897644/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules920897644/work/payloads/0000/tree" - time="2022-08-29T11:32:15Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:15Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:15Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules920897644/artifact_info file." - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules920897644/artifact_info" - time="2022-08-29T11:32:15Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.20s) + time="2021-07-27T05:23:28Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:28Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43290->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43290->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35512->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35512->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:28Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:28Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:28Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules645596113/device_type" + time="2021-07-27T05:23:28Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:28Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:28Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:28Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:28Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:28Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules645596113/artifact_info file." + time="2021-07-27T05:23:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules645596113/artifact_info" + time="2021-07-27T05:23:28Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:28Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules645596113/artifact_info" + time="2021-07-27T05:23:28Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules645596113/device_type" + time="2021-07-27T05:23:28Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:28Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:28Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:28Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules645596113/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules645596113/work/payloads/0000/tree" + time="2021-07-27T05:23:28Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:28Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules645596113/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules645596113/work/payloads/0000/tree" + time="2021-07-27T05:23:28Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:28Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:28Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:28Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34407->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34407->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59285->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59285->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56902->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56902->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57956->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57956->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules645596113/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules645596113/work/payloads/0000/tree" + time="2021-07-27T05:23:28Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules645596113/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules645596113/work/payloads/0000/tree" + time="2021-07-27T05:23:28Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:28Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:28Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58342->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58342->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40820->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40820->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38618->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38618->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47928->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47928->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:28Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:28Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules645596113/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules645596113/work/payloads/0000/tree" + time="2021-07-27T05:23:28Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:28Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules645596113/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules645596113/work/payloads/0000/tree" + time="2021-07-27T05:23:28Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:28Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:28Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:28Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55817->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55817->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39286->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39286->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51462->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51462->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49914->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49914->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:28Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules645596113/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules645596113/work/payloads/0000/tree" + time="2021-07-27T05:23:28Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:28Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33875->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33875->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Leave_00': 1: exit status 1" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50324->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50324->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47080->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47080->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60016->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60016->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules645596113/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules645596113/work/payloads/0000/tree" + time="2021-07-27T05:23:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules645596113/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules645596113/work/payloads/0000/tree" + time="2021-07-27T05:23:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:28Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:28Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46122->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46122->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42646->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42646->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58902->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58902->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43075->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43075->[::1]:53: read: connection refused" + time="2021-07-27T05:23:28Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:28Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules645596113/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules645596113/work/payloads/0000/tree" + time="2021-07-27T05:23:28Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:28Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules645596113/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules645596113/work/payloads/0000/tree" + time="2021-07-27T05:23:28Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:28Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:28Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:28Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:28Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules645596113/artifact_info file." + time="2021-07-27T05:23:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules645596113/artifact_info" + time="2021-07-27T05:23:28Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:28Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.57s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Leave_00 state_test.go:4717: Killed in ArtifactRollback_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:15Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:15Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45017->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45017->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49664->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49664->[::1]:53: read: connection refused" - time="2022-08-29T11:32:15Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:15Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:15Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:15Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules227622853/device_type" - time="2022-08-29T11:32:15Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:15Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:15Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:15Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules227622853/artifact_info file." - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules227622853/artifact_info" - time="2022-08-29T11:32:15Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules227622853/artifact_info" - time="2022-08-29T11:32:15Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules227622853/device_type" - time="2022-08-29T11:32:15Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:15Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227622853/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules227622853/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227622853/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules227622853/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:16Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49059->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49059->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36982->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36982->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58938->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58938->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57385->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57385->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227622853/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules227622853/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227622853/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules227622853/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:16Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38287->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38287->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36192->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36192->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38349->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38349->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54511->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54511->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:16Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227622853/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules227622853/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227622853/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules227622853/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:16Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:16Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:16Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38406->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38406->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52390->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52390->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38471->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38471->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44758->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44758->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227622853/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules227622853/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:16Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48192->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48192->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:29Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43956->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43956->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53024->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53024->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:29Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:29Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:29Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules001576846/device_type" + time="2021-07-27T05:23:29Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:29Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:29Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:29Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:29Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:29Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules001576846/artifact_info file." + time="2021-07-27T05:23:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules001576846/artifact_info" + time="2021-07-27T05:23:29Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:29Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules001576846/artifact_info" + time="2021-07-27T05:23:29Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules001576846/device_type" + time="2021-07-27T05:23:29Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:29Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:29Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules001576846/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules001576846/work/payloads/0000/tree" + time="2021-07-27T05:23:29Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:29Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules001576846/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules001576846/work/payloads/0000/tree" + time="2021-07-27T05:23:29Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:29Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:29Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:29Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52760->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52760->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57463->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57463->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59354->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59354->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60559->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60559->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules001576846/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules001576846/work/payloads/0000/tree" + time="2021-07-27T05:23:29Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules001576846/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules001576846/work/payloads/0000/tree" + time="2021-07-27T05:23:29Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:29Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:29Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43042->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43042->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58846->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58846->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60536->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60536->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50209->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50209->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:29Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:29Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules001576846/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules001576846/work/payloads/0000/tree" + time="2021-07-27T05:23:29Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:29Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules001576846/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules001576846/work/payloads/0000/tree" + time="2021-07-27T05:23:29Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:29Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:29Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:29Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39565->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39565->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40047->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40047->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51778->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51778->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51692->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51692->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:29Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules001576846/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules001576846/work/payloads/0000/tree" + time="2021-07-27T05:23:29Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:29Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44998->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44998->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateRollbackState) - time="2022-08-29T11:32:16Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:16Z" level=info msg="Handling loaded state: rollback" - time="2022-08-29T11:32:16Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:16Z" level=error msg="Mender shut down in state: rollback" - time="2022-08-29T11:32:16Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:16Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37544->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37544->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34123->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34123->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227622853/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules227622853/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:16Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38372->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38372->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38744->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38744->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37888->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37888->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34584->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34584->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227622853/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules227622853/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227622853/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules227622853/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:16Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:16Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36403->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36403->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55796->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55796->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32962->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32962->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57419->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57419->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227622853/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules227622853/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227622853/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules227622853/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:16Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:16Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules227622853/artifact_info file." - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules227622853/artifact_info" - time="2022-08-29T11:32:16Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:16Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.03s) + time="2021-07-27T05:23:29Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:29Z" level=info msg="Handling loaded state: rollback" + time="2021-07-27T05:23:29Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:29Z" level=error msg="Mender shut down in state: rollback" + time="2021-07-27T05:23:29Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:29Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38434->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38434->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40541->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40541->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:29Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules001576846/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules001576846/work/payloads/0000/tree" + time="2021-07-27T05:23:29Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:29Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47092->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47092->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38295->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38295->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45836->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45836->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38296->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38296->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules001576846/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules001576846/work/payloads/0000/tree" + time="2021-07-27T05:23:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules001576846/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules001576846/work/payloads/0000/tree" + time="2021-07-27T05:23:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:29Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:29Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46624->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46624->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33474->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33474->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35944->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35944->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55662->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55662->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:29Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules001576846/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules001576846/work/payloads/0000/tree" + time="2021-07-27T05:23:29Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:29Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules001576846/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules001576846/work/payloads/0000/tree" + time="2021-07-27T05:23:29Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:29Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:29Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:29Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules001576846/artifact_info file." + time="2021-07-27T05:23:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules001576846/artifact_info" + time="2021-07-27T05:23:29Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:29Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.10s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Leave_00 state_test.go:4717: Error in ArtifactRollbackReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44035->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44035->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50012->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50012->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:16Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:16Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules582646418/device_type" - time="2022-08-29T11:32:16Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:16Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:16Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules582646418/artifact_info file." - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules582646418/artifact_info" - time="2022-08-29T11:32:16Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:16Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules582646418/artifact_info" - time="2022-08-29T11:32:16Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules582646418/device_type" - time="2022-08-29T11:32:16Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:16Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582646418/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules582646418/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582646418/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules582646418/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:16Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60949->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60949->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37607->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37607->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42060->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42060->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35283->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35283->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582646418/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules582646418/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582646418/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules582646418/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:16Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50820->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50820->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45027->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45027->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33760->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33760->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56548->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56548->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:16Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582646418/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules582646418/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582646418/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules582646418/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:16Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:16Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:16Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49339->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49339->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42075->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42075->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60685->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60685->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33211->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33211->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582646418/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules582646418/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:16Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50725->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50725->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39305->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39305->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47294->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47294->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47522->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47522->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582646418/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules582646418/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582646418/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules582646418/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:16Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:16Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55564->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55564->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Leave_00': 1: exit status 1" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60485->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60485->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46317->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46317->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36788->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36788->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582646418/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules582646418/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582646418/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules582646418/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:16Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:16Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules582646418/artifact_info file." - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules582646418/artifact_info" - time="2022-08-29T11:32:16Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:16Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.19s) + time="2021-07-27T05:23:29Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:29Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:29Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53615->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53615->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60505->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60505->[::1]:53: read: connection refused" + time="2021-07-27T05:23:29Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:29Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:29Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:29Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules374130319/device_type" + time="2021-07-27T05:23:29Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:29Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:29Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:29Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:30Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:30Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules374130319/artifact_info file." + time="2021-07-27T05:23:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules374130319/artifact_info" + time="2021-07-27T05:23:30Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:30Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules374130319/artifact_info" + time="2021-07-27T05:23:30Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules374130319/device_type" + time="2021-07-27T05:23:30Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:30Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:30Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:30Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules374130319/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules374130319/work/payloads/0000/tree" + time="2021-07-27T05:23:30Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:30Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules374130319/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules374130319/work/payloads/0000/tree" + time="2021-07-27T05:23:30Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:30Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:30Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:30Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:30Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53366->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53366->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45742->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45742->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:30Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44666->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44666->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34128->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34128->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules374130319/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules374130319/work/payloads/0000/tree" + time="2021-07-27T05:23:30Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules374130319/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules374130319/work/payloads/0000/tree" + time="2021-07-27T05:23:30Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:30Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:30Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:30Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45416->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45416->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60006->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60006->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:30Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48340->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48340->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47700->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47700->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:30Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:30Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules374130319/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules374130319/work/payloads/0000/tree" + time="2021-07-27T05:23:30Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:30Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules374130319/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules374130319/work/payloads/0000/tree" + time="2021-07-27T05:23:30Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:30Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:30Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:30Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:30Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40846->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40846->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46982->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46982->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:30Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54423->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54423->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49337->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49337->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:30Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules374130319/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules374130319/work/payloads/0000/tree" + time="2021-07-27T05:23:30Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:30Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:30Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32808->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32808->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50508->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50508->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54321->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54321->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45754->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45754->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:30Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules374130319/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules374130319/work/payloads/0000/tree" + time="2021-07-27T05:23:30Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:30Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules374130319/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules374130319/work/payloads/0000/tree" + time="2021-07-27T05:23:30Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:30Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:30Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47181->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47181->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Leave_00': 1: exit status 1" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54612->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54612->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56540->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56540->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49798->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49798->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:30Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules374130319/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules374130319/work/payloads/0000/tree" + time="2021-07-27T05:23:30Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:30Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:30Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:30Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules374130319/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules374130319/work/payloads/0000/tree" + time="2021-07-27T05:23:30Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:30Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:30Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:30Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:30Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules374130319/artifact_info file." + time="2021-07-27T05:23:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules374130319/artifact_info" + time="2021-07-27T05:23:30Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:30Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.90s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Leave_00 state_test.go:4717: Killed in ArtifactRollbackReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40239->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40239->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51706->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51706->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:16Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:16Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules233359331/device_type" - time="2022-08-29T11:32:16Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:16Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:16Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules233359331/artifact_info file." - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules233359331/artifact_info" - time="2022-08-29T11:32:16Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:16Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules233359331/artifact_info" - time="2022-08-29T11:32:16Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules233359331/device_type" - time="2022-08-29T11:32:16Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:16Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules233359331/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules233359331/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules233359331/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules233359331/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:16Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55735->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55735->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40727->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40727->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53759->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53759->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52805->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52805->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules233359331/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules233359331/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules233359331/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules233359331/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:16Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34637->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34637->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51918->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51918->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59439->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59439->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57522->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57522->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:16Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules233359331/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules233359331/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules233359331/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules233359331/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:16Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:16Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:16Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44616->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44616->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58457->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58457->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44133->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44133->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38134->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38134->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules233359331/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules233359331/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:16Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57310->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57310->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45390->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45390->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45030->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45030->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56527->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56527->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules233359331/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules233359331/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules233359331/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules233359331/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:16Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:16Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41967->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41967->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:30Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:30Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:30Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51452->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51452->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52922->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52922->[::1]:53: read: connection refused" + time="2021-07-27T05:23:30Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:30Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:30Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:30Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules197860388/device_type" + time="2021-07-27T05:23:30Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:30Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:30Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:30Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:31Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:31Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules197860388/artifact_info file." + time="2021-07-27T05:23:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules197860388/artifact_info" + time="2021-07-27T05:23:31Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:31Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules197860388/artifact_info" + time="2021-07-27T05:23:31Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules197860388/device_type" + time="2021-07-27T05:23:31Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:31Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:31Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules197860388/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules197860388/work/payloads/0000/tree" + time="2021-07-27T05:23:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules197860388/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules197860388/work/payloads/0000/tree" + time="2021-07-27T05:23:31Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:31Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:31Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:31Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:31Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53072->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53072->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36303->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36303->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:31Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43542->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43542->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44876->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44876->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules197860388/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules197860388/work/payloads/0000/tree" + time="2021-07-27T05:23:31Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules197860388/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules197860388/work/payloads/0000/tree" + time="2021-07-27T05:23:31Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:31Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:31Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:31Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38760->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38760->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58475->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58475->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:31Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60547->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60547->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43531->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43531->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:31Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:31Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules197860388/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules197860388/work/payloads/0000/tree" + time="2021-07-27T05:23:31Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:31Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules197860388/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules197860388/work/payloads/0000/tree" + time="2021-07-27T05:23:31Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:31Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:31Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:31Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:31Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45531->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45531->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45699->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45699->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:31Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34044->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34044->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59424->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59424->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:31Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules197860388/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules197860388/work/payloads/0000/tree" + time="2021-07-27T05:23:31Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:31Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:31Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50954->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50954->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60007->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60007->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:31Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49982->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49982->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57118->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57118->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:31Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules197860388/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules197860388/work/payloads/0000/tree" + time="2021-07-27T05:23:31Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:31Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules197860388/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules197860388/work/payloads/0000/tree" + time="2021-07-27T05:23:31Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:31Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:31Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:31Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45286->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45286->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 11 (*app.updateVerifyRollbackRebootState) - time="2022-08-29T11:32:16Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:16Z" level=info msg="Handling loaded state: after-rollback-reboot" - time="2022-08-29T11:32:16Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:16Z" level=error msg="Mender shut down in state: after-rollback-reboot" - time="2022-08-29T11:32:16Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:16Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules233359331/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules233359331/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:16Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:16Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49365->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49365->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37274->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37274->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59248->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59248->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57202->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57202->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules233359331/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules233359331/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules233359331/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules233359331/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:16Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:16Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules233359331/artifact_info file." - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules233359331/artifact_info" - time="2022-08-29T11:32:16Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:16Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.02s) + time="2021-07-27T05:23:31Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:31Z" level=info msg="Handling loaded state: after-rollback-reboot" + time="2021-07-27T05:23:31Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:31Z" level=error msg="Mender shut down in state: after-rollback-reboot" + time="2021-07-27T05:23:31Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:31Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:31Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules197860388/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules197860388/work/payloads/0000/tree" + time="2021-07-27T05:23:31Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:31Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:31Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:31Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42208->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42208->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47585->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47585->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40385->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40385->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47102->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47102->[::1]:53: read: connection refused" + time="2021-07-27T05:23:31Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:31Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules197860388/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules197860388/work/payloads/0000/tree" + time="2021-07-27T05:23:31Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:31Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:31Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:31Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules197860388/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules197860388/work/payloads/0000/tree" + time="2021-07-27T05:23:31Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:31Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:31Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:31Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:31Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules197860388/artifact_info file." + time="2021-07-27T05:23:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules197860388/artifact_info" + time="2021-07-27T05:23:31Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:31Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.26s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Leave_00 state_test.go:4717: Error in ArtifactFailure_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36505->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36505->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46129->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46129->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:16Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:16Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules868606472/device_type" - time="2022-08-29T11:32:16Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:16Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:16Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules868606472/artifact_info file." - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules868606472/artifact_info" - time="2022-08-29T11:32:16Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:16Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules868606472/artifact_info" - time="2022-08-29T11:32:16Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules868606472/device_type" - time="2022-08-29T11:32:16Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:16Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules868606472/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules868606472/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules868606472/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules868606472/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:16Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37602->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37602->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58873->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58873->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59812->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59812->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56644->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56644->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules868606472/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules868606472/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:16Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:16Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44952->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44952->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37846->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37846->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51470->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51470->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43209->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43209->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules868606472/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules868606472/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37259->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37259->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40272->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40272->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59436->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59436->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50350->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50350->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules868606472/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules868606472/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Leave_00': 1: exit status 1" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules868606472/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules868606472/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:16Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:16Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules868606472/artifact_info file." - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules868606472/artifact_info" - time="2022-08-29T11:32:16Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:16Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.19s) + time="2021-07-27T05:23:32Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:32Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60782->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60782->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40457->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40457->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:32Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:32Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:32Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules998802909/device_type" + time="2021-07-27T05:23:32Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:32Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:32Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:32Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules998802909/artifact_info file." + time="2021-07-27T05:23:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules998802909/artifact_info" + time="2021-07-27T05:23:32Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:32Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules998802909/artifact_info" + time="2021-07-27T05:23:32Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules998802909/device_type" + time="2021-07-27T05:23:32Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:32Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules998802909/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules998802909/work/payloads/0000/tree" + time="2021-07-27T05:23:32Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules998802909/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules998802909/work/payloads/0000/tree" + time="2021-07-27T05:23:32Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:32Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:32Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:32Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43362->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43362->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46464->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46464->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54356->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54356->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45055->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45055->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules998802909/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules998802909/work/payloads/0000/tree" + time="2021-07-27T05:23:32Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:32Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:32Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:32Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40510->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40510->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39203->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39203->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60922->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60922->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50559->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50559->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:32Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules998802909/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules998802909/work/payloads/0000/tree" + time="2021-07-27T05:23:32Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55726->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55726->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41104->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41104->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39033->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39033->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40693->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40693->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:32Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules998802909/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules998802909/work/payloads/0000/tree" + time="2021-07-27T05:23:32Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Leave_00': 1: exit status 1" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:32Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules998802909/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules998802909/work/payloads/0000/tree" + time="2021-07-27T05:23:32Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:32Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:32Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules998802909/artifact_info file." + time="2021-07-27T05:23:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules998802909/artifact_info" + time="2021-07-27T05:23:32Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:32Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.46s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Leave_00 state_test.go:4717: Killed in ArtifactFailure_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60301->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60301->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54634->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54634->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:16Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:16Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules601899409/device_type" - time="2022-08-29T11:32:16Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:16Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:16Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules601899409/artifact_info file." - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules601899409/artifact_info" - time="2022-08-29T11:32:16Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:16Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules601899409/artifact_info" - time="2022-08-29T11:32:16Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules601899409/device_type" - time="2022-08-29T11:32:16Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:16Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601899409/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules601899409/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601899409/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules601899409/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:16Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49811->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49811->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40598->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40598->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60813->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60813->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53557->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53557->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601899409/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules601899409/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:16Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:16Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35767->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35767->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51848->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51848->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40326->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40326->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59887->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59887->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601899409/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules601899409/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34212->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34212->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53185->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53185->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39486->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39486->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39158->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39158->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601899409/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules601899409/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:32Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:32Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33498->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33498->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52336->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52336->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:32Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:32Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:32Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules292894858/device_type" + time="2021-07-27T05:23:32Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:32Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:32Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:32Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules292894858/artifact_info file." + time="2021-07-27T05:23:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules292894858/artifact_info" + time="2021-07-27T05:23:32Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:32Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules292894858/artifact_info" + time="2021-07-27T05:23:32Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules292894858/device_type" + time="2021-07-27T05:23:32Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:32Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:32Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules292894858/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules292894858/work/payloads/0000/tree" + time="2021-07-27T05:23:32Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules292894858/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules292894858/work/payloads/0000/tree" + time="2021-07-27T05:23:32Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:32Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:32Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:32Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59935->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59935->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60559->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60559->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45073->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45073->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37884->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37884->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules292894858/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules292894858/work/payloads/0000/tree" + time="2021-07-27T05:23:32Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:32Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:32Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:32Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59896->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59896->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39890->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39890->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60475->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60475->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45270->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45270->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:32Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules292894858/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules292894858/work/payloads/0000/tree" + time="2021-07-27T05:23:32Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35397->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35397->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34735->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34735->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56504->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56504->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53300->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53300->[::1]:53: read: connection refused" + time="2021-07-27T05:23:32Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:32Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules292894858/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules292894858/work/payloads/0000/tree" + time="2021-07-27T05:23:32Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:32Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 7 (*app.updateErrorState) - time="2022-08-29T11:32:16Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:16Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:16Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:16Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:16Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:16Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56913->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56913->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52887->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52887->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601899409/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules601899409/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601899409/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules601899409/work/payloads/0000/tree" - time="2022-08-29T11:32:16Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:16Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:16Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules601899409/artifact_info file." - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules601899409/artifact_info" - time="2022-08-29T11:32:16Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:16Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.01s) + time="2021-07-27T05:23:33Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:33Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:33Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:33Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:33Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:33Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51114->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51114->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40333->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40333->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:33Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules292894858/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules292894858/work/payloads/0000/tree" + time="2021-07-27T05:23:33Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:33Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:33Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:33Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules292894858/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules292894858/work/payloads/0000/tree" + time="2021-07-27T05:23:33Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:33Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:33Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:33Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:33Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules292894858/artifact_info file." + time="2021-07-27T05:23:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules292894858/artifact_info" + time="2021-07-27T05:23:33Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:33Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00 state_test.go:4717: Error in ArtifactCommit_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:16Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35898->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35898->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48645->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48645->[::1]:53: read: connection refused" - time="2022-08-29T11:32:16Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:16Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:16Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules113755726/device_type" - time="2022-08-29T11:32:16Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:16Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:16Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules113755726/artifact_info file." - time="2022-08-29T11:32:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules113755726/artifact_info" - time="2022-08-29T11:32:17Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:17Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules113755726/artifact_info" - time="2022-08-29T11:32:17Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules113755726/device_type" - time="2022-08-29T11:32:17Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:17Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules113755726/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules113755726/work/payloads/0000/tree" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules113755726/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules113755726/work/payloads/0000/tree" - time="2022-08-29T11:32:17Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:17Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42561->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42561->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52597->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52597->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45059->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45059->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50012->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50012->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules113755726/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules113755726/work/payloads/0000/tree" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules113755726/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules113755726/work/payloads/0000/tree" - time="2022-08-29T11:32:17Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:17Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50712->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50712->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32986->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32986->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33983->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33983->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35219->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35219->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:17Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules113755726/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules113755726/work/payloads/0000/tree" - time="2022-08-29T11:32:17Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules113755726/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules113755726/work/payloads/0000/tree" - time="2022-08-29T11:32:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:17Z" level=debug msg="Handling state after reboot" - time="2022-08-29T11:32:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37876->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37876->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45449->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45449->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55959->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55959->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36350->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36350->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=debug msg="Handle update commit state" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2022-08-29T11:32:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules113755726/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules113755726/work/payloads/0000/tree" - time="2022-08-29T11:32:17Z" level=debug msg="Committing new artifact name: artifact-name" - time="2022-08-29T11:32:17Z" level=debug msg="Committing new artifact group name: " - time="2022-08-29T11:32:17Z" level=debug msg="Committing new artifact type-info provides" - time="2022-08-29T11:32:17Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2022-08-29T11:32:17Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2022-08-29T11:32:17Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:17Z" level=error msg="transient error: error executing leave script for update-after-commit state: error running leave state script(s) for ArtifactCommit_Leave state: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" - time="2022-08-29T11:32:17Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2022-08-29T11:32:17Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" - time="2022-08-29T11:32:17Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules113755726/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules113755726/work/payloads/0000/tree" - time="2022-08-29T11:32:17Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:17Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:17Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:17Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.17s) + time="2021-07-27T05:23:33Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:33Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:33Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:33Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37338->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37338->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57621->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57621->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:33Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:33Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:33Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules076956475/device_type" + time="2021-07-27T05:23:33Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:33Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:33Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:33Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:33Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:33Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules076956475/artifact_info file." + time="2021-07-27T05:23:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules076956475/artifact_info" + time="2021-07-27T05:23:33Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:33Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules076956475/artifact_info" + time="2021-07-27T05:23:33Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules076956475/device_type" + time="2021-07-27T05:23:33Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:33Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:33Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules076956475/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules076956475/work/payloads/0000/tree" + time="2021-07-27T05:23:33Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:33Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules076956475/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules076956475/work/payloads/0000/tree" + time="2021-07-27T05:23:33Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:33Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:33Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:33Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:33Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35054->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35054->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48308->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48308->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:33Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45987->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45987->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44400->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44400->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules076956475/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules076956475/work/payloads/0000/tree" + time="2021-07-27T05:23:33Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules076956475/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules076956475/work/payloads/0000/tree" + time="2021-07-27T05:23:33Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:33Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:33Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:33Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33296->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33296->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41708->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41708->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:33Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35021->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35021->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59821->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59821->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:33Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:33Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules076956475/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules076956475/work/payloads/0000/tree" + time="2021-07-27T05:23:33Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:33Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules076956475/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules076956475/work/payloads/0000/tree" + time="2021-07-27T05:23:33Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:33Z" level=debug msg="Handling state after reboot" + time="2021-07-27T05:23:33Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:23:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:33Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47161->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47161->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54408->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54408->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:33Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43972->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43972->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53861->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53861->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=debug msg="Handle update commit state" + time="2021-07-27T05:23:33Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2021-07-27T05:23:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules076956475/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules076956475/work/payloads/0000/tree" + time="2021-07-27T05:23:33Z" level=debug msg="Committing new artifact name: artifact-name" + time="2021-07-27T05:23:33Z" level=debug msg="Committing new artifact group name: " + time="2021-07-27T05:23:33Z" level=debug msg="Committing new artifact type-info provides" + time="2021-07-27T05:23:33Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2021-07-27T05:23:33Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2021-07-27T05:23:33Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2021-07-27T05:23:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:33Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:33Z" level=error msg="transient error: error executing leave script for update-after-commit state: error running leave state script(s) for ArtifactCommit_Leave state: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" + time="2021-07-27T05:23:33Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2021-07-27T05:23:33Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" + time="2021-07-27T05:23:33Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:33Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:33Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:33Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules076956475/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules076956475/work/payloads/0000/tree" + time="2021-07-27T05:23:33Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:33Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:33Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:33Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:33Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.79s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00 state_test.go:4717: Killed in ArtifactCommit_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42601->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42601->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48990->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48990->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:17Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:17Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules422467663/device_type" - time="2022-08-29T11:32:17Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:17Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:17Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules422467663/artifact_info file." - time="2022-08-29T11:32:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules422467663/artifact_info" - time="2022-08-29T11:32:17Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:17Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules422467663/artifact_info" - time="2022-08-29T11:32:17Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules422467663/device_type" - time="2022-08-29T11:32:17Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:17Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules422467663/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules422467663/work/payloads/0000/tree" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules422467663/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules422467663/work/payloads/0000/tree" - time="2022-08-29T11:32:17Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:17Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39266->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39266->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40191->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40191->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43010->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43010->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54086->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54086->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules422467663/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules422467663/work/payloads/0000/tree" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules422467663/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules422467663/work/payloads/0000/tree" - time="2022-08-29T11:32:17Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:17Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52503->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52503->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37981->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37981->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44331->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44331->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47465->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47465->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:17Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules422467663/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules422467663/work/payloads/0000/tree" - time="2022-08-29T11:32:17Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules422467663/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules422467663/work/payloads/0000/tree" - time="2022-08-29T11:32:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:17Z" level=debug msg="Handling state after reboot" - time="2022-08-29T11:32:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50178->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50178->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38133->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38133->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60844->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60844->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48101->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48101->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=debug msg="Handle update commit state" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2022-08-29T11:32:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules422467663/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules422467663/work/payloads/0000/tree" - time="2022-08-29T11:32:17Z" level=debug msg="Committing new artifact name: artifact-name" - time="2022-08-29T11:32:17Z" level=debug msg="Committing new artifact group name: " - time="2022-08-29T11:32:17Z" level=debug msg="Committing new artifact type-info provides" - time="2022-08-29T11:32:17Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2022-08-29T11:32:17Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2022-08-29T11:32:17Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:33Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:33Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:33Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:33Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55486->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55486->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34143->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34143->[::1]:53: read: connection refused" + time="2021-07-27T05:23:33Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:33Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:33Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:33Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules702875712/device_type" + time="2021-07-27T05:23:33Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:33Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:33Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:33Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:34Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules702875712/artifact_info file." + time="2021-07-27T05:23:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules702875712/artifact_info" + time="2021-07-27T05:23:34Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:34Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules702875712/artifact_info" + time="2021-07-27T05:23:34Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules702875712/device_type" + time="2021-07-27T05:23:34Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:34Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:34Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules702875712/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules702875712/work/payloads/0000/tree" + time="2021-07-27T05:23:34Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:34Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules702875712/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules702875712/work/payloads/0000/tree" + time="2021-07-27T05:23:34Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:34Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:34Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:34Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:34Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48775->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48775->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52846->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52846->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:34Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45852->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45852->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38604->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38604->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules702875712/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules702875712/work/payloads/0000/tree" + time="2021-07-27T05:23:34Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules702875712/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules702875712/work/payloads/0000/tree" + time="2021-07-27T05:23:34Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:34Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:34Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:34Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49318->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49318->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40117->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40117->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:34Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59220->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59220->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45511->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45511->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:34Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:34Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules702875712/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules702875712/work/payloads/0000/tree" + time="2021-07-27T05:23:34Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:34Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules702875712/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules702875712/work/payloads/0000/tree" + time="2021-07-27T05:23:34Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:34Z" level=debug msg="Handling state after reboot" + time="2021-07-27T05:23:34Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:23:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:34Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43650->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43650->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60966->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60966->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:34Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39094->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39094->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53739->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53739->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=debug msg="Handle update commit state" + time="2021-07-27T05:23:34Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2021-07-27T05:23:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules702875712/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules702875712/work/payloads/0000/tree" + time="2021-07-27T05:23:34Z" level=debug msg="Committing new artifact name: artifact-name" + time="2021-07-27T05:23:34Z" level=debug msg="Committing new artifact group name: " + time="2021-07-27T05:23:34Z" level=debug msg="Committing new artifact type-info provides" + time="2021-07-27T05:23:34Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2021-07-27T05:23:34Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2021-07-27T05:23:34Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2021-07-27T05:23:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:34Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 11 (*app.updateAfterCommitState) - time="2022-08-29T11:32:17Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:17Z" level=info msg="Handling loaded state: update-after-commit" - time="2022-08-29T11:32:17Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:17Z" level=error msg="Mender shut down in state: update-after-commit" - time="2022-08-29T11:32:17Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2022-08-29T11:32:17Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:17Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules422467663/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules422467663/work/payloads/0000/tree" - time="2022-08-29T11:32:17Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2022-08-29T11:32:17Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:17Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:17Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.01s) + time="2021-07-27T05:23:34Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:34Z" level=info msg="Handling loaded state: update-after-commit" + time="2021-07-27T05:23:34Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:34Z" level=error msg="Mender shut down in state: update-after-commit" + time="2021-07-27T05:23:34Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2021-07-27T05:23:34Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2021-07-27T05:23:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:34Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:34Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:34Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules702875712/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules702875712/work/payloads/0000/tree" + time="2021-07-27T05:23:34Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2021-07-27T05:23:34Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:34Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:34Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.05s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00,_no_reboot state_test.go:4717: Error in ArtifactCommit_Leave_00, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:17Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40383->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40383->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48841->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48841->[::1]:53: read: connection refused" - time="2022-08-29T11:32:17Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:17Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:17Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules108893412/device_type" - time="2022-08-29T11:32:17Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:17Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:17Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:17Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules108893412/artifact_info file." - time="2022-08-29T11:32:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules108893412/artifact_info" - time="2022-08-29T11:32:17Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:17Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules108893412/artifact_info" - time="2022-08-29T11:32:17Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules108893412/device_type" - time="2022-08-29T11:32:17Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:17Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules108893412/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules108893412/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules108893412/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules108893412/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:18Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46996->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46996->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58842->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58842->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60080->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60080->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52738->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52738->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules108893412/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules108893412/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules108893412/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules108893412/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=debug msg="Update module output: No" - time="2022-08-29T11:32:18Z" level=debug msg="Module does not need reboot" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45131->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45131->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58925->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58925->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52839->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52839->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36662->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36662->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="Handle update commit state" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules108893412/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules108893412/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=debug msg="Committing new artifact name: artifact-name" - time="2022-08-29T11:32:18Z" level=debug msg="Committing new artifact group name: " - time="2022-08-29T11:32:18Z" level=debug msg="Committing new artifact type-info provides" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="transient error: error executing leave script for update-after-commit state: error running leave state script(s) for ArtifactCommit_Leave state: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" - time="2022-08-29T11:32:18Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" - time="2022-08-29T11:32:18Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules108893412/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules108893412/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:18Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:18Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:18Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.45s) + time="2021-07-27T05:23:34Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:34Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:34Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:34Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35861->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35861->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53126->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53126->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:34Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:34Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:34Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules168112169/device_type" + time="2021-07-27T05:23:34Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:34Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:34Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:34Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:34Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules168112169/artifact_info file." + time="2021-07-27T05:23:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules168112169/artifact_info" + time="2021-07-27T05:23:34Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:34Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules168112169/artifact_info" + time="2021-07-27T05:23:34Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules168112169/device_type" + time="2021-07-27T05:23:34Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:34Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:34Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:34Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules168112169/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules168112169/work/payloads/0000/tree" + time="2021-07-27T05:23:34Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:34Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules168112169/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules168112169/work/payloads/0000/tree" + time="2021-07-27T05:23:34Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:34Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:34Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:34Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:34Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51255->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51255->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57431->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57431->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:34Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42103->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42103->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47116->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47116->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules168112169/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules168112169/work/payloads/0000/tree" + time="2021-07-27T05:23:34Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules168112169/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules168112169/work/payloads/0000/tree" + time="2021-07-27T05:23:34Z" level=debug msg="Update module output: No" + time="2021-07-27T05:23:34Z" level=debug msg="Module does not need reboot" + time="2021-07-27T05:23:34Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:23:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:34Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36008->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36008->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49087->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49087->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:34Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36315->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36315->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47190->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47190->[::1]:53: read: connection refused" + time="2021-07-27T05:23:34Z" level=debug msg="Handle update commit state" + time="2021-07-27T05:23:34Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2021-07-27T05:23:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules168112169/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules168112169/work/payloads/0000/tree" + time="2021-07-27T05:23:34Z" level=debug msg="Committing new artifact name: artifact-name" + time="2021-07-27T05:23:34Z" level=debug msg="Committing new artifact group name: " + time="2021-07-27T05:23:34Z" level=debug msg="Committing new artifact type-info provides" + time="2021-07-27T05:23:34Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2021-07-27T05:23:34Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2021-07-27T05:23:34Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2021-07-27T05:23:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:34Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:34Z" level=error msg="transient error: error executing leave script for update-after-commit state: error running leave state script(s) for ArtifactCommit_Leave state: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" + time="2021-07-27T05:23:34Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2021-07-27T05:23:35Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" + time="2021-07-27T05:23:35Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:35Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:35Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules168112169/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules168112169/work/payloads/0000/tree" + time="2021-07-27T05:23:35Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:35Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:35Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:35Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:35Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.47s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00,_no_reboot state_test.go:4717: Killed in ArtifactCommit_Leave_00, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52593->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52593->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50608->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50608->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:18Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules142284701/device_type" - time="2022-08-29T11:32:18Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:18Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:18Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules142284701/artifact_info file." - time="2022-08-29T11:32:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules142284701/artifact_info" - time="2022-08-29T11:32:18Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:18Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules142284701/artifact_info" - time="2022-08-29T11:32:18Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules142284701/device_type" - time="2022-08-29T11:32:18Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:18Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules142284701/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules142284701/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules142284701/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules142284701/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:18Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38175->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38175->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47075->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47075->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36500->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36500->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34477->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34477->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules142284701/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules142284701/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules142284701/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules142284701/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=debug msg="Update module output: No" - time="2022-08-29T11:32:18Z" level=debug msg="Module does not need reboot" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37679->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37679->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47100->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47100->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34056->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34056->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33585->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33585->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="Handle update commit state" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules142284701/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules142284701/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=debug msg="Committing new artifact name: artifact-name" - time="2022-08-29T11:32:18Z" level=debug msg="Committing new artifact group name: " - time="2022-08-29T11:32:18Z" level=debug msg="Committing new artifact type-info provides" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:35Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:35Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:35Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:35Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59427->[::1]:53: read: connection refused" + time="2021-07-27T05:23:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59427->[::1]:53: read: connection refused" + time="2021-07-27T05:23:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51034->[::1]:53: read: connection refused" + time="2021-07-27T05:23:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51034->[::1]:53: read: connection refused" + time="2021-07-27T05:23:35Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:35Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:35Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:35Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules099943110/device_type" + time="2021-07-27T05:23:35Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:35Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:35Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:35Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:35Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules099943110/artifact_info file." + time="2021-07-27T05:23:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules099943110/artifact_info" + time="2021-07-27T05:23:35Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:35Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules099943110/artifact_info" + time="2021-07-27T05:23:35Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules099943110/device_type" + time="2021-07-27T05:23:35Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:35Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules099943110/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules099943110/work/payloads/0000/tree" + time="2021-07-27T05:23:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules099943110/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules099943110/work/payloads/0000/tree" + time="2021-07-27T05:23:35Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:35Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:35Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:35Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:35Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38115->[::1]:53: read: connection refused" + time="2021-07-27T05:23:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38115->[::1]:53: read: connection refused" + time="2021-07-27T05:23:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45592->[::1]:53: read: connection refused" + time="2021-07-27T05:23:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45592->[::1]:53: read: connection refused" + time="2021-07-27T05:23:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33854->[::1]:53: read: connection refused" + time="2021-07-27T05:23:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33854->[::1]:53: read: connection refused" + time="2021-07-27T05:23:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58436->[::1]:53: read: connection refused" + time="2021-07-27T05:23:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58436->[::1]:53: read: connection refused" + time="2021-07-27T05:23:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules099943110/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules099943110/work/payloads/0000/tree" + time="2021-07-27T05:23:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules099943110/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules099943110/work/payloads/0000/tree" + time="2021-07-27T05:23:35Z" level=debug msg="Update module output: No" + time="2021-07-27T05:23:35Z" level=debug msg="Module does not need reboot" + time="2021-07-27T05:23:35Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:23:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46045->[::1]:53: read: connection refused" + time="2021-07-27T05:23:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46045->[::1]:53: read: connection refused" + time="2021-07-27T05:23:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41059->[::1]:53: read: connection refused" + time="2021-07-27T05:23:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41059->[::1]:53: read: connection refused" + time="2021-07-27T05:23:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:35Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36569->[::1]:53: read: connection refused" + time="2021-07-27T05:23:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36569->[::1]:53: read: connection refused" + time="2021-07-27T05:23:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41457->[::1]:53: read: connection refused" + time="2021-07-27T05:23:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41457->[::1]:53: read: connection refused" + time="2021-07-27T05:23:35Z" level=debug msg="Handle update commit state" + time="2021-07-27T05:23:35Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2021-07-27T05:23:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules099943110/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules099943110/work/payloads/0000/tree" + time="2021-07-27T05:23:35Z" level=debug msg="Committing new artifact name: artifact-name" + time="2021-07-27T05:23:35Z" level=debug msg="Committing new artifact group name: " + time="2021-07-27T05:23:35Z" level=debug msg="Committing new artifact type-info provides" + time="2021-07-27T05:23:35Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2021-07-27T05:23:35Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2021-07-27T05:23:35Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2021-07-27T05:23:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:35Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateAfterCommitState) - time="2022-08-29T11:32:18Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:18Z" level=info msg="Handling loaded state: update-after-commit" - time="2022-08-29T11:32:18Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:18Z" level=error msg="Mender shut down in state: update-after-commit" - time="2022-08-29T11:32:18Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:18Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules142284701/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules142284701/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2022-08-29T11:32:18Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:18Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:18Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.01s) + time="2021-07-27T05:23:35Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:35Z" level=info msg="Handling loaded state: update-after-commit" + time="2021-07-27T05:23:35Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:35Z" level=error msg="Mender shut down in state: update-after-commit" + time="2021-07-27T05:23:35Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2021-07-27T05:23:35Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2021-07-27T05:23:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:35Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:35Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules099943110/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules099943110/work/payloads/0000/tree" + time="2021-07-27T05:23:35Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2021-07-27T05:23:35Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:35Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:35Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.11s) PASS === RUN TestStateTransitionsWithUpdateModules/Break_out_of_error_loop state_test.go:4717: Break out of error loop state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39537->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39537->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50801->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50801->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:18Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules293548362/device_type" - time="2022-08-29T11:32:18Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:18Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:18Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules293548362/artifact_info file." - time="2022-08-29T11:32:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules293548362/artifact_info" - time="2022-08-29T11:32:18Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:18Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules293548362/artifact_info" - time="2022-08-29T11:32:18Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules293548362/device_type" - time="2022-08-29T11:32:18Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:18Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:18Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36257->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36257->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36182->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36182->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57318->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57318->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58178->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58178->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:18Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:18Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55703->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55703->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36651->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36651->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54393->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54393->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48693->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48693->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:18Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35662->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35662->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58040->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58040->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42860->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42860->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59218->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59218->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36404->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36404->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57626->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57626->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56963->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56963->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48585->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48585->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44455->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44455->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50806->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50806->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45031->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45031->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38969->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38969->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51363->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51363->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59832->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59832->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44198->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44198->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36771->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36771->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44521->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44521->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38382->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38382->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51879->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51879->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53462->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53462->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41390->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41390->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49947->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49947->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42777->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42777->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56492->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56492->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54751->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54751->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46301->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46301->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38170->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38170->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37783->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37783->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60404->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60404->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45596->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45596->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45953->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45953->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52101->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52101->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55635->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55635->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40458->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40458->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33360->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33360->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53920->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53920->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58851->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58851->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51607->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51607->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47404->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47404->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41486->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41486->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38483->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38483->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43459->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43459->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58404->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58404->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52878->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52878->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41213->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41213->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37561->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37561->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45264->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45264->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53350->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53350->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56574->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56574->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55668->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55668->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33656->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33656->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48925->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48925->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42232->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42232->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37807->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37807->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40473->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40473->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40518->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40518->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49264->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49264->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54942->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54942->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45887->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45887->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52376->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52376->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38596->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38596->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46599->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46599->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58672->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58672->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34237->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34237->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40062->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40062->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43719->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43719->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44842->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44842->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60778->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60778->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35774->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35774->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35351->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35351->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41117->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41117->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58237->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58237->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52405->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52405->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32837->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32837->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34992->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34992->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46845->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46845->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45199->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45199->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34913->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34913->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33392->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33392->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58485->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58485->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37078->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37078->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34425->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34425->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36977->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36977->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60068->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60068->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55500->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55500->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53312->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53312->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33210->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33210->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33147->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33147->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48984->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48984->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58994->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58994->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54444->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54444->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37158->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37158->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34708->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34708->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33425->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33425->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45093->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45093->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54215->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54215->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46147->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46147->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41000->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41000->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57207->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57207->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41628->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41628->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33345->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33345->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36920->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36920->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51430->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51430->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58928->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58928->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50238->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50238->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59782->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59782->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52091->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52091->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59171->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59171->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60885->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60885->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51638->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51638->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33059->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33059->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37649->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37649->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38237->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38237->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57929->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57929->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60112->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60112->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53646->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53646->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38508->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38508->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51086->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51086->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51803->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51803->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48559->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48559->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58187->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58187->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41754->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41754->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35522->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35522->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48964->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48964->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules293548362/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules293548362/work/payloads/0000/tree" - time="2022-08-29T11:32:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41621->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41621->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51143->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51143->[::1]:53: read: connection refused" - time="2022-08-29T11:32:18Z" level=error msg="Could not write state data to persistent storage: State data stored and retrieved maximum number of times" - time="2022-08-29T11:32:18Z" level=error msg="State transition loop detected in state rollback-reboot: Forcefully aborting update. The system is likely to be in an inconsistent state after this." - time="2022-08-29T11:32:18Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2022-08-29T11:32:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> update-status-report [none]" - time="2022-08-29T11:32:18Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:18Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:18Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:18Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.46s) + time="2021-07-27T05:23:36Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:36Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:36Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:36Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34289->[::1]:53: read: connection refused" + time="2021-07-27T05:23:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34289->[::1]:53: read: connection refused" + time="2021-07-27T05:23:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54962->[::1]:53: read: connection refused" + time="2021-07-27T05:23:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54962->[::1]:53: read: connection refused" + time="2021-07-27T05:23:36Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:36Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:36Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:36Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules541904423/device_type" + time="2021-07-27T05:23:36Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:36Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:36Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:36Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:36Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:36Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules541904423/artifact_info file." + time="2021-07-27T05:23:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules541904423/artifact_info" + time="2021-07-27T05:23:36Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:36Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules541904423/artifact_info" + time="2021-07-27T05:23:36Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules541904423/device_type" + time="2021-07-27T05:23:36Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:36Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:36Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:36Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:36Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:36Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:36Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:37Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:37Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48149->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48149->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41844->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41844->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37780->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37780->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36131->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36131->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:37Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:37Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41397->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41397->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40843->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40843->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59415->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59415->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37385->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37385->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:37Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:37Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38247->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38247->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50511->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50511->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40834->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40834->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59733->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59733->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:37Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41651->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41651->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37337->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37337->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49713->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49713->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45338->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45338->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44996->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44996->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40425->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40425->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45356->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45356->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36343->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36343->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43590->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43590->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55487->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55487->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44737->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44737->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54107->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54107->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45756->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45756->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49335->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49335->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38894->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38894->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48585->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48585->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50868->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50868->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38079->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38079->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46058->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46058->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50981->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50981->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48538->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48538->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44758->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44758->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59155->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59155->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46006->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46006->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44272->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44272->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45350->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45350->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42814->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42814->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55142->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55142->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36988->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36988->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58617->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58617->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60986->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60986->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35985->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35985->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53023->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53023->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59558->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59558->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50111->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50111->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35192->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35192->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52627->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52627->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59295->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59295->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46159->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46159->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32776->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32776->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42875->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42875->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37054->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37054->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35706->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35706->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54567->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54567->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59090->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59090->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55197->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55197->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35728->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35728->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46592->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46592->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:37Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:37Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:37Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35172->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35172->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53853->[::1]:53: read: connection refused" + time="2021-07-27T05:23:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53853->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57724->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57724->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55844->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55844->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57166->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57166->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33383->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33383->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37977->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37977->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43170->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43170->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46684->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46684->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35176->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35176->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35165->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35165->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35645->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35645->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35815->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35815->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48681->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48681->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60047->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60047->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51886->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51886->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44159->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44159->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44205->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44205->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55889->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55889->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36064->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36064->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52346->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52346->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51810->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51810->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56714->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56714->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56660->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56660->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41142->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41142->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56922->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56922->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34928->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34928->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40961->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40961->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48096->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48096->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36676->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36676->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39171->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39171->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33337->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33337->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55901->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55901->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45490->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45490->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38379->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38379->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51474->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51474->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41877->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41877->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35041->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35041->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49752->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49752->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34027->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34027->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49210->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49210->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45536->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45536->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48234->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48234->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48889->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48889->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40680->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40680->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60808->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60808->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48541->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48541->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48483->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48483->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45263->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45263->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58190->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58190->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60196->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60196->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43041->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43041->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45277->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45277->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42423->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42423->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34591->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34591->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47063->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47063->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48196->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48196->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54690->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54690->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45960->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45960->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49636->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49636->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45639->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45639->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44186->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44186->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44492->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44492->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34689->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34689->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:38Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:38Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41628->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41628->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43087->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43087->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33589->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33589->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51556->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51556->[::1]:53: read: connection refused" + time="2021-07-27T05:23:38Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:38Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:39Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:39Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49407->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49407->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47167->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47167->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45407->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45407->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51724->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51724->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules541904423/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules541904423/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:39Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:39Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36365->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36365->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43972->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43972->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Could not write state data to persistent storage: State data stored and retrieved maximum number of times" + time="2021-07-27T05:23:39Z" level=error msg="State transition loop detected in state rollback-reboot: Forcefully aborting update. The system is likely to be in an inconsistent state after this." + time="2021-07-27T05:23:39Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2021-07-27T05:23:39Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> update-status-report [none]" + time="2021-07-27T05:23:39Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:39Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:39Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:39Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (2.64s) PASS === RUN TestStateTransitionsWithUpdateModules/Break_out_of_spontaneous_reboot_loop state_test.go:4717: Break out of spontaneous reboot loop state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54579->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54579->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53241->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53241->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:19Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules090961147/device_type" - time="2022-08-29T11:32:19Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:19Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:19Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules090961147/artifact_info file." - time="2022-08-29T11:32:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules090961147/artifact_info" - time="2022-08-29T11:32:19Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:19Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules090961147/artifact_info" - time="2022-08-29T11:32:19Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules090961147/device_type" - time="2022-08-29T11:32:19Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:19Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" - time="2022-08-29T11:32:19Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:19Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:19Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:19Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41403->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41403->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41509->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41509->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56930->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56930->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39999->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39999->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" - time="2022-08-29T11:32:19Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:19Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:19Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42652->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42652->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37323->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37323->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57513->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57513->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42996->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42996->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:19Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" - time="2022-08-29T11:32:19Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" - time="2022-08-29T11:32:19Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:19Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2022-08-29T11:32:19Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33123->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33123->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57460->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57460->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56963->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56963->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44510->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44510->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" - time="2022-08-29T11:32:19Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35501->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35501->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54671->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54671->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50721->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50721->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48588->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48588->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" - time="2022-08-29T11:32:19Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" - time="2022-08-29T11:32:19Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:19Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:19Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52778->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52778->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33698->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33698->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37505->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37505->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38548->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38548->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:39Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41746->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41746->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52237->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52237->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:39Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:39Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:39Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules739131804/device_type" + time="2021-07-27T05:23:39Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:39Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:39Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:39Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules739131804/artifact_info file." + time="2021-07-27T05:23:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules739131804/artifact_info" + time="2021-07-27T05:23:39Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:39Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules739131804/artifact_info" + time="2021-07-27T05:23:39Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules739131804/device_type" + time="2021-07-27T05:23:39Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:39Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:39Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:39Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:39Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:39Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49189->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49189->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33871->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33871->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53263->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53263->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48920->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48920->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:39Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:39Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56041->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56041->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50008->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50008->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40619->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40619->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34419->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34419->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:39Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:39Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2021-07-27T05:23:39Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:39Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53610->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53610->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42462->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42462->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33610->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33610->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38839->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38839->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:23:39Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43238->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43238->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56259->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56259->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50263->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50263->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52702->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52702->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:23:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:23:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:23:39Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:23:39Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46191->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46191->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41291->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41291->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38983->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38983->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49651->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49651->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 11 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56566->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56566->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36078->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36078->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:39Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:39Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:39Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:39Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:39Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34063->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34063->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33998->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33998->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 12 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54024->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54024->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59854->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59854->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:39Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:39Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:39Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:39Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:39Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56844->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56844->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44740->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44740->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 13 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43541->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43541->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53767->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53767->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:39Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:39Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:39Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:39Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:39Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43359->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43359->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52124->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52124->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 14 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54472->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54472->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36895->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36895->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:39Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:39Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:39Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:39Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:39Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39594->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39594->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41460->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41460->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 15 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60369->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60369->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55818->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55818->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:39Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:39Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:39Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:39Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:39Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50334->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50334->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34882->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34882->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 16 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48059->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48059->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47167->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47167->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:39Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:39Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:39Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:39Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:39Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58018->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58018->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57016->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57016->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 17 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34779->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34779->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56002->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56002->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:39Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:39Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:39Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:39Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:39Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:39Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37821->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37821->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60959->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60959->[::1]:53: read: connection refused" + time="2021-07-27T05:23:39Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:39Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 18 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35284->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35284->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60979->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60979->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:40Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:40Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:40Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55605->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55605->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33779->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33779->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:40Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 19 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38104->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38104->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48559->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48559->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:40Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:40Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:40Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58745->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58745->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50169->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50169->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:40Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 20 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60424->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60424->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56618->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56618->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:40Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:40Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:40Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36756->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36756->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60865->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60865->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:40Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 21 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49750->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49750->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48778->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48778->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:40Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:40Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:40Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40979->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40979->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43555->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43555->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:40Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 22 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52396->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52396->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45793->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45793->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:40Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:40Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:40Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36328->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36328->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57508->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57508->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:40Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 23 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34065->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34065->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44458->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44458->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:40Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:40Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:40Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58393->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58393->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34684->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34684->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:40Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 24 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49484->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49484->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52976->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52976->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:40Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:40Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:40Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43174->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43174->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52231->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52231->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:40Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 25 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57744->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57744->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55120->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55120->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:40Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:40Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:40Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52565->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52565->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41766->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41766->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:40Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 26 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38041->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38041->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47001->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47001->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:40Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:40Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:40Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38500->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38500->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60911->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60911->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:40Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 27 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34702->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34702->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46614->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46614->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:40Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:40Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:40Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50079->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50079->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38118->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38118->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:40Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 28 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40601->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40601->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33120->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33120->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:40Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:40Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:40Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45234->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45234->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46973->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46973->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:40Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 29 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45315->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45315->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37726->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37726->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:40Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:40Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:40Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56700->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56700->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43080->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43080->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:40Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 30 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55833->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55833->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43301->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43301->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:40Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:40Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:40Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58338->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58338->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36171->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36171->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:40Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 31 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48216->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48216->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60959->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60959->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:40Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:40Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:40Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35599->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35599->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55815->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55815->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:40Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 32 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47659->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47659->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59992->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59992->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:40Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:40Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:40Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48251->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48251->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46475->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46475->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:40Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 33 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51349->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51349->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33287->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33287->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:40Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:40Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:40Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40566->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40566->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41955->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41955->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:40Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 34 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42751->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42751->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41152->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41152->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:40Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:40Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:40Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:40Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48115->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48115->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47692->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47692->[::1]:53: read: connection refused" + time="2021-07-27T05:23:40Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:40Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 35 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49641->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49641->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55891->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55891->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:41Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:41Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:41Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:41Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:41Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:41Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:41Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53608->[::1]:53: read: connection refused" + time="2021-07-27T05:23:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53608->[::1]:53: read: connection refused" + time="2021-07-27T05:23:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46525->[::1]:53: read: connection refused" + time="2021-07-27T05:23:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46525->[::1]:53: read: connection refused" + time="2021-07-27T05:23:41Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:41Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 36 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36796->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36796->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35363->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35363->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:41Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:41Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:41Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:41Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:41Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:41Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:41Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48224->[::1]:53: read: connection refused" + time="2021-07-27T05:23:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48224->[::1]:53: read: connection refused" + time="2021-07-27T05:23:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58919->[::1]:53: read: connection refused" + time="2021-07-27T05:23:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58919->[::1]:53: read: connection refused" + time="2021-07-27T05:23:41Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:41Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 37 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44237->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44237->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43064->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43064->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:41Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:41Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:41Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:41Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:41Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:41Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:41Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39081->[::1]:53: read: connection refused" + time="2021-07-27T05:23:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39081->[::1]:53: read: connection refused" + time="2021-07-27T05:23:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42055->[::1]:53: read: connection refused" + time="2021-07-27T05:23:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42055->[::1]:53: read: connection refused" + time="2021-07-27T05:23:41Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:41Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 38 (*app.updateErrorState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="Mender shut down in state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:19Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43778->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43778->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48179->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48179->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules090961147/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules090961147/work/payloads/0000/tree" + time="2021-07-27T05:23:41Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:41Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:41Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:41Z" level=error msg="Mender shut down in state: update-error" + time="2021-07-27T05:23:41Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:41Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:41Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45604->[::1]:53: read: connection refused" + time="2021-07-27T05:23:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45604->[::1]:53: read: connection refused" + time="2021-07-27T05:23:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43330->[::1]:53: read: connection refused" + time="2021-07-27T05:23:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43330->[::1]:53: read: connection refused" + time="2021-07-27T05:23:41Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:41Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules739131804/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules739131804/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 39 (*app.updateStatusReportState) - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2022-08-29T11:32:19Z" level=info msg="Handling loaded state: update-error" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=error msg="State transition loop detected in state update-error: Forcefully aborting update. The system is likely to be in an inconsistent state after this." - time="2022-08-29T11:32:19Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-status-report [none]" - time="2022-08-29T11:32:19Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:19Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:19Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:19Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + time="2021-07-27T05:23:41Z" level=info msg="State transition: init [none] -> init [none]" + time="2021-07-27T05:23:41Z" level=info msg="Handling loaded state: update-error" + time="2021-07-27T05:23:41Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:41Z" level=error msg="State transition loop detected in state update-error: Forcefully aborting update. The system is likely to be in an inconsistent state after this." + time="2021-07-27T05:23:41Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2021-07-27T05:23:41Z" level=info msg="State transition: init [none] -> update-status-report [none]" + time="2021-07-27T05:23:41Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:41Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:41Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:41Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.00s) PASS === RUN TestStateTransitionsWithUpdateModules/Hang_in_Download_state state_test.go:4717: Hang in Download state state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:19Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48579->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48579->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44002->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44002->[::1]:53: read: connection refused" - time="2022-08-29T11:32:19Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:19Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:19Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules256539392/device_type" - time="2022-08-29T11:32:19Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:19Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:19Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules256539392/artifact_info file." - time="2022-08-29T11:32:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules256539392/artifact_info" - time="2022-08-29T11:32:19Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:19Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules256539392/artifact_info" - time="2022-08-29T11:32:19Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules256539392/device_type" - time="2022-08-29T11:32:19Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:19Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules256539392/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules256539392/work/payloads/0000/tree" - time="2022-08-29T11:32:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:24Z" level=error msg="Process 63023 timed out. Sending SIGTERM" - time="2022-08-29T11:32:24Z" level=error msg="Artifact install failed: Update module terminated abnormally: signal: terminated" - time="2022-08-29T11:32:24Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" - time="2022-08-29T11:32:24Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:24Z" level=debug msg="Executing script: Download_Error_00" - time="2022-08-29T11:32:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:24Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules256539392/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules256539392/work/payloads/0000/tree" - time="2022-08-29T11:32:24Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:24Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:24Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:24Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules256539392/artifact_info file." - time="2022-08-29T11:32:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules256539392/artifact_info" - time="2022-08-29T11:32:24Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:24Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (5.10s) + time="2021-07-27T05:23:41Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:41Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:41Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:41Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49473->[::1]:53: read: connection refused" + time="2021-07-27T05:23:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49473->[::1]:53: read: connection refused" + time="2021-07-27T05:23:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58454->[::1]:53: read: connection refused" + time="2021-07-27T05:23:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58454->[::1]:53: read: connection refused" + time="2021-07-27T05:23:41Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:41Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:41Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:41Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules038826677/device_type" + time="2021-07-27T05:23:41Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:41Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:41Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:41Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:41Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules038826677/artifact_info file." + time="2021-07-27T05:23:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules038826677/artifact_info" + time="2021-07-27T05:23:41Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:41Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules038826677/artifact_info" + time="2021-07-27T05:23:41Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules038826677/device_type" + time="2021-07-27T05:23:41Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:41Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:41Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:41Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules038826677/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules038826677/work/payloads/0000/tree" + time="2021-07-27T05:23:41Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:46Z" level=error msg="Process 7849 timed out. Sending SIGTERM" + time="2021-07-27T05:23:46Z" level=error msg="Artifact install failed: Update module terminated abnormally: signal: terminated" + time="2021-07-27T05:23:46Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" + time="2021-07-27T05:23:46Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:46Z" level=debug msg="Executing script: Download_Error_00" + time="2021-07-27T05:23:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:46Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:46Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules038826677/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules038826677/work/payloads/0000/tree" + time="2021-07-27T05:23:46Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:46Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:46Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:46Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules038826677/artifact_info file." + time="2021-07-27T05:23:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules038826677/artifact_info" + time="2021-07-27T05:23:46Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:46Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (5.17s) PASS === RUN TestStateTransitionsWithUpdateModules/Hang_in_ArtifactInstall state_test.go:4717: Hang in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:24Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:24Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:24Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:24Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50981->[::1]:53: read: connection refused" - time="2022-08-29T11:32:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50981->[::1]:53: read: connection refused" - time="2022-08-29T11:32:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53283->[::1]:53: read: connection refused" - time="2022-08-29T11:32:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53283->[::1]:53: read: connection refused" - time="2022-08-29T11:32:24Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:24Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:24Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:24Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules266524137/device_type" - time="2022-08-29T11:32:24Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:24Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:24Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:24Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:24Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules266524137/artifact_info file." - time="2022-08-29T11:32:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules266524137/artifact_info" - time="2022-08-29T11:32:24Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:24Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules266524137/artifact_info" - time="2022-08-29T11:32:24Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules266524137/device_type" - time="2022-08-29T11:32:24Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:24Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:26Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:26Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules266524137/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules266524137/work/payloads/0000/tree" - time="2022-08-29T11:32:26Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:26Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules266524137/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules266524137/work/payloads/0000/tree" - time="2022-08-29T11:32:26Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:26Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:26Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:26Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:26Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56804->[::1]:53: read: connection refused" - time="2022-08-29T11:32:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56804->[::1]:53: read: connection refused" - time="2022-08-29T11:32:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36758->[::1]:53: read: connection refused" - time="2022-08-29T11:32:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36758->[::1]:53: read: connection refused" - time="2022-08-29T11:32:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:26Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41270->[::1]:53: read: connection refused" - time="2022-08-29T11:32:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41270->[::1]:53: read: connection refused" - time="2022-08-29T11:32:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60093->[::1]:53: read: connection refused" - time="2022-08-29T11:32:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60093->[::1]:53: read: connection refused" - time="2022-08-29T11:32:26Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules266524137/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules266524137/work/payloads/0000/tree" - time="2022-08-29T11:32:31Z" level=error msg="Process 63581 timed out. Sending SIGTERM" - time="2022-08-29T11:32:31Z" level=error msg="Update module terminated abnormally: signal: terminated" - time="2022-08-29T11:32:31Z" level=error msg="transient error: Update module terminated abnormally: signal: terminated" - time="2022-08-29T11:32:31Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:31Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:31Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47837->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47837->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33853->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33853->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:31Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36680->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36680->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58599->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58599->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:31Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules266524137/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules266524137/work/payloads/0000/tree" - time="2022-08-29T11:32:31Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:31Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57612->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57612->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51343->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51343->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46016->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46016->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44720->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44720->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:31Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules266524137/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules266524137/work/payloads/0000/tree" - time="2022-08-29T11:32:31Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:31Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:31Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:31Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules266524137/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules266524137/work/payloads/0000/tree" - time="2022-08-29T11:32:31Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:31Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:31Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:31Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:31Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules266524137/artifact_info file." - time="2022-08-29T11:32:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules266524137/artifact_info" - time="2022-08-29T11:32:31Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:31Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (6.46s) + time="2021-07-27T05:23:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:47Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:47Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52647->[::1]:53: read: connection refused" + time="2021-07-27T05:23:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52647->[::1]:53: read: connection refused" + time="2021-07-27T05:23:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48444->[::1]:53: read: connection refused" + time="2021-07-27T05:23:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48444->[::1]:53: read: connection refused" + time="2021-07-27T05:23:47Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:47Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:47Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules299508802/device_type" + time="2021-07-27T05:23:47Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:47Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:47Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:47Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules299508802/artifact_info file." + time="2021-07-27T05:23:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules299508802/artifact_info" + time="2021-07-27T05:23:47Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:47Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules299508802/artifact_info" + time="2021-07-27T05:23:47Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules299508802/device_type" + time="2021-07-27T05:23:47Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:47Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules299508802/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules299508802/work/payloads/0000/tree" + time="2021-07-27T05:23:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules299508802/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules299508802/work/payloads/0000/tree" + time="2021-07-27T05:23:47Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:47Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:47Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40154->[::1]:53: read: connection refused" + time="2021-07-27T05:23:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40154->[::1]:53: read: connection refused" + time="2021-07-27T05:23:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48740->[::1]:53: read: connection refused" + time="2021-07-27T05:23:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48740->[::1]:53: read: connection refused" + time="2021-07-27T05:23:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33936->[::1]:53: read: connection refused" + time="2021-07-27T05:23:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33936->[::1]:53: read: connection refused" + time="2021-07-27T05:23:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51015->[::1]:53: read: connection refused" + time="2021-07-27T05:23:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51015->[::1]:53: read: connection refused" + time="2021-07-27T05:23:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules299508802/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules299508802/work/payloads/0000/tree" + time="2021-07-27T05:23:52Z" level=error msg="Process 8684 timed out. Sending SIGTERM" + time="2021-07-27T05:23:52Z" level=error msg="Update module terminated abnormally: signal: terminated" + time="2021-07-27T05:23:52Z" level=error msg="transient error: Update module terminated abnormally: signal: terminated" + time="2021-07-27T05:23:52Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2021-07-27T05:23:52Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:23:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:52Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35767->[::1]:53: read: connection refused" + time="2021-07-27T05:23:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35767->[::1]:53: read: connection refused" + time="2021-07-27T05:23:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35769->[::1]:53: read: connection refused" + time="2021-07-27T05:23:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35769->[::1]:53: read: connection refused" + time="2021-07-27T05:23:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:52Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42440->[::1]:53: read: connection refused" + time="2021-07-27T05:23:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42440->[::1]:53: read: connection refused" + time="2021-07-27T05:23:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52868->[::1]:53: read: connection refused" + time="2021-07-27T05:23:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52868->[::1]:53: read: connection refused" + time="2021-07-27T05:23:52Z" level=info msg="Performing rollback" + time="2021-07-27T05:23:52Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:23:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules299508802/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules299508802/work/payloads/0000/tree" + time="2021-07-27T05:23:52Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2021-07-27T05:23:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:52Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50104->[::1]:53: read: connection refused" + time="2021-07-27T05:23:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50104->[::1]:53: read: connection refused" + time="2021-07-27T05:23:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43285->[::1]:53: read: connection refused" + time="2021-07-27T05:23:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43285->[::1]:53: read: connection refused" + time="2021-07-27T05:23:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36957->[::1]:53: read: connection refused" + time="2021-07-27T05:23:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36957->[::1]:53: read: connection refused" + time="2021-07-27T05:23:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54195->[::1]:53: read: connection refused" + time="2021-07-27T05:23:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54195->[::1]:53: read: connection refused" + time="2021-07-27T05:23:52Z" level=debug msg="Handle update error state" + time="2021-07-27T05:23:52Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:23:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules299508802/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules299508802/work/payloads/0000/tree" + time="2021-07-27T05:23:52Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:23:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:52Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:52Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules299508802/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules299508802/work/payloads/0000/tree" + time="2021-07-27T05:23:52Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:23:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:52Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:52Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:23:52Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules299508802/artifact_info file." + time="2021-07-27T05:23:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules299508802/artifact_info" + time="2021-07-27T05:23:52Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:52Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (5.48s) PASS === RUN TestStateTransitionsWithUpdateModules/Temporary_failure_in_report_sending_after_reboot state_test.go:4717: Temporary failure in report sending after reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:31Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:31Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:31Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:31Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32832->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32832->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50748->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50748->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:31Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:31Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:31Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules866095494/device_type" - time="2022-08-29T11:32:31Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:31Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:31Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:31Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:31Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:31Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules866095494/artifact_info file." - time="2022-08-29T11:32:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules866095494/artifact_info" - time="2022-08-29T11:32:31Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:31Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules866095494/artifact_info" - time="2022-08-29T11:32:31Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules866095494/device_type" - time="2022-08-29T11:32:31Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:31Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:31Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules866095494/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules866095494/work/payloads/0000/tree" - time="2022-08-29T11:32:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules866095494/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules866095494/work/payloads/0000/tree" - time="2022-08-29T11:32:31Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:31Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:31Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:31Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:31Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51795->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51795->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51412->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51412->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:31Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57396->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57396->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42550->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42550->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules866095494/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules866095494/work/payloads/0000/tree" - time="2022-08-29T11:32:31Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules866095494/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules866095494/work/payloads/0000/tree" - time="2022-08-29T11:32:31Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:31Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:31Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:31Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48295->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48295->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50582->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50582->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:31Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49612->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49612->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39386->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39386->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:31Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:31Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules866095494/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules866095494/work/payloads/0000/tree" - time="2022-08-29T11:32:31Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:31Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules866095494/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules866095494/work/payloads/0000/tree" - time="2022-08-29T11:32:31Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:31Z" level=debug msg="Handling state after reboot" - time="2022-08-29T11:32:31Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:31Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42505->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42505->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47289->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47289->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:31Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49361->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49361->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55057->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55057->[::1]:53: read: connection refused" - time="2022-08-29T11:32:31Z" level=debug msg="Handle update commit state" - time="2022-08-29T11:32:31Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" - time="2022-08-29T11:32:31Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" - time="2022-08-29T11:32:36Z" level=debug msg="Wait complete" - time="2022-08-29T11:32:36Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:36Z" level=debug msg="Handle update commit state" - time="2022-08-29T11:32:36Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2022-08-29T11:32:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules866095494/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules866095494/work/payloads/0000/tree" - time="2022-08-29T11:32:36Z" level=debug msg="Committing new artifact name: artifact-name" - time="2022-08-29T11:32:36Z" level=debug msg="Committing new artifact group name: " - time="2022-08-29T11:32:36Z" level=debug msg="Committing new artifact type-info provides" - time="2022-08-29T11:32:36Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2022-08-29T11:32:36Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2022-08-29T11:32:36Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2022-08-29T11:32:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:36Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:36Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:36Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules866095494/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules866095494/work/payloads/0000/tree" - time="2022-08-29T11:32:36Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2022-08-29T11:32:36Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:36Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:36Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (5.13s) + time="2021-07-27T05:23:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:52Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:52Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48004->[::1]:53: read: connection refused" + time="2021-07-27T05:23:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48004->[::1]:53: read: connection refused" + time="2021-07-27T05:23:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41687->[::1]:53: read: connection refused" + time="2021-07-27T05:23:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41687->[::1]:53: read: connection refused" + time="2021-07-27T05:23:52Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:52Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:52Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules888363859/device_type" + time="2021-07-27T05:23:52Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:52Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:52Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:52Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules888363859/artifact_info file." + time="2021-07-27T05:23:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules888363859/artifact_info" + time="2021-07-27T05:23:52Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:52Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules888363859/artifact_info" + time="2021-07-27T05:23:52Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules888363859/device_type" + time="2021-07-27T05:23:52Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:52Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:53Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules888363859/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules888363859/work/payloads/0000/tree" + time="2021-07-27T05:23:53Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules888363859/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules888363859/work/payloads/0000/tree" + time="2021-07-27T05:23:53Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:53Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:23:53Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:23:53Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:23:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:53Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:23:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46392->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46392->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40611->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40611->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:53Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33438->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33438->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43771->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43771->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:23:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules888363859/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules888363859/work/payloads/0000/tree" + time="2021-07-27T05:23:53Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:23:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules888363859/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules888363859/work/payloads/0000/tree" + time="2021-07-27T05:23:53Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:53Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:23:53Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:23:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:53Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35466->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35466->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45282->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45282->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:53Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33548->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33548->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57902->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57902->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:23:53Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:23:53Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:23:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules888363859/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules888363859/work/payloads/0000/tree" + time="2021-07-27T05:23:53Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:53Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:23:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules888363859/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules888363859/work/payloads/0000/tree" + time="2021-07-27T05:23:53Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:23:53Z" level=debug msg="Handling state after reboot" + time="2021-07-27T05:23:53Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:23:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:53Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37819->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37819->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36411->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36411->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:53Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56824->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56824->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55089->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55089->[::1]:53: read: connection refused" + time="2021-07-27T05:23:53Z" level=debug msg="Handle update commit state" + time="2021-07-27T05:23:53Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" + time="2021-07-27T05:23:53Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" + time="2021-07-27T05:23:58Z" level=debug msg="Wait complete" + time="2021-07-27T05:23:58Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:23:58Z" level=debug msg="Handle update commit state" + time="2021-07-27T05:23:58Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2021-07-27T05:23:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules888363859/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules888363859/work/payloads/0000/tree" + time="2021-07-27T05:23:58Z" level=debug msg="Committing new artifact name: artifact-name" + time="2021-07-27T05:23:58Z" level=debug msg="Committing new artifact group name: " + time="2021-07-27T05:23:58Z" level=debug msg="Committing new artifact type-info provides" + time="2021-07-27T05:23:58Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2021-07-27T05:23:58Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2021-07-27T05:23:58Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2021-07-27T05:23:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:58Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:58Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:23:58Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:23:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules888363859/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules888363859/work/payloads/0000/tree" + time="2021-07-27T05:23:58Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2021-07-27T05:23:58Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:23:58Z" level=debug msg="Reporting complete" + time="2021-07-27T05:23:58Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (5.53s) PASS === RUN TestStateTransitionsWithUpdateModules/Permanent_failure_in_report_sending_after_reboot state_test.go:4717: Permanent failure in report sending after reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2022-08-29T11:32:36Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2022-08-29T11:32:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:36Z" level=debug msg="Handle update check state" - time="2022-08-29T11:32:36Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2022-08-29T11:32:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:36Z" level=debug msg="Executing script: Download_Enter_00" - time="2022-08-29T11:32:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47604->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47604->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50445->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50445->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=info msg="Running Mender client version: unknown" - time="2022-08-29T11:32:36Z" level=debug msg="Handling update fetch state" - time="2022-08-29T11:32:36Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2022-08-29T11:32:36Z" level=debug msg="Handling update install state" - time="2022-08-29T11:32:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules848422375/device_type" - time="2022-08-29T11:32:36Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:36Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:36Z" level=info msg="No public key was provided for authenticating the artifact" - time="2022-08-29T11:32:36Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2022-08-29T11:32:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2022-08-29T11:32:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2022-08-29T11:32:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2022-08-29T11:32:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2022-08-29T11:32:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2022-08-29T11:32:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2022-08-29T11:32:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:36Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2022-08-29T11:32:36Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules848422375/artifact_info file." - time="2022-08-29T11:32:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules848422375/artifact_info" - time="2022-08-29T11:32:36Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:36Z" level=debug msg="Current manifest data: old_name" - time="2022-08-29T11:32:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules848422375/artifact_info" - time="2022-08-29T11:32:36Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules848422375/device_type" - time="2022-08-29T11:32:36Z" level=debug msg="device_type=test-device" - time="2022-08-29T11:32:36Z" level=debug msg="Current manifest data: test-device" - time="2022-08-29T11:32:36Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2022-08-29T11:32:36Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2022-08-29T11:32:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules848422375/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules848422375/work/payloads/0000/tree" - time="2022-08-29T11:32:36Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2022-08-29T11:32:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2022-08-29T11:32:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules848422375/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules848422375/work/payloads/0000/tree" - time="2022-08-29T11:32:36Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:36Z" level=debug msg="Module supports rollback" - time="2022-08-29T11:32:36Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2022-08-29T11:32:36Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2022-08-29T11:32:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:36Z" level=debug msg="Executing script: Download_Leave_00" - time="2022-08-29T11:32:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47475->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47475->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32978->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32978->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:36Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2022-08-29T11:32:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57789->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57789->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32862->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32862->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2022-08-29T11:32:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules848422375/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules848422375/work/payloads/0000/tree" - time="2022-08-29T11:32:36Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2022-08-29T11:32:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules848422375/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules848422375/work/payloads/0000/tree" - time="2022-08-29T11:32:36Z" level=debug msg="Update module output: Yes" - time="2022-08-29T11:32:36Z" level=debug msg="Module needs custom reboot" - time="2022-08-29T11:32:36Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2022-08-29T11:32:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:36Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2022-08-29T11:32:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41057->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41057->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50840->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50840->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:36Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2022-08-29T11:32:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60594->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60594->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42364->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42364->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=debug msg="Handling reboot state" - time="2022-08-29T11:32:36Z" level=info msg="Rebooting device(s)" - time="2022-08-29T11:32:36Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2022-08-29T11:32:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules848422375/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules848422375/work/payloads/0000/tree" - time="2022-08-29T11:32:36Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:36Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2022-08-29T11:32:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules848422375/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules848422375/work/payloads/0000/tree" - time="2022-08-29T11:32:36Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2022-08-29T11:32:36Z" level=debug msg="Handling state after reboot" - time="2022-08-29T11:32:36Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:36Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2022-08-29T11:32:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42917->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42917->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45244->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45244->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:36Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2022-08-29T11:32:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36999->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36999->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45961->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45961->[::1]:53: read: connection refused" - time="2022-08-29T11:32:36Z" level=debug msg="Handle update commit state" - time="2022-08-29T11:32:36Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" - time="2022-08-29T11:32:36Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" - time="2022-08-29T11:32:41Z" level=debug msg="Wait complete" - time="2022-08-29T11:32:41Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:41Z" level=debug msg="Handle update commit state" - time="2022-08-29T11:32:41Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" - time="2022-08-29T11:32:41Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" - time="2022-08-29T11:32:46Z" level=debug msg="Wait complete" - time="2022-08-29T11:32:46Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:46Z" level=debug msg="Handle update commit state" - time="2022-08-29T11:32:46Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" - time="2022-08-29T11:32:46Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" - time="2022-08-29T11:32:51Z" level=debug msg="Wait complete" - time="2022-08-29T11:32:51Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" - time="2022-08-29T11:32:51Z" level=debug msg="Handle update commit state" - time="2022-08-29T11:32:51Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" - time="2022-08-29T11:32:51Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" - time="2022-08-29T11:32:51Z" level=error msg="transient error: Tried sending status report maximum number of times." - time="2022-08-29T11:32:51Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" - time="2022-08-29T11:32:51Z" level=debug msg="Transitioning to error state" - time="2022-08-29T11:32:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:51Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2022-08-29T11:32:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53213->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53213->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49095->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49095->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2022-08-29T11:32:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35023->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35023->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38479->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38479->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=info msg="Performing rollback" - time="2022-08-29T11:32:51Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2022-08-29T11:32:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules848422375/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules848422375/work/payloads/0000/tree" - time="2022-08-29T11:32:51Z" level=debug msg="Will try to rollback reboot the device" - time="2022-08-29T11:32:51Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2022-08-29T11:32:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2022-08-29T11:32:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47038->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47038->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33267->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33267->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:51Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2022-08-29T11:32:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53164->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53164->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43536->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43536->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=info msg="Rebooting device(s) after rollback" - time="2022-08-29T11:32:51Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2022-08-29T11:32:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules848422375/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules848422375/work/payloads/0000/tree" - time="2022-08-29T11:32:51Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:51Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2022-08-29T11:32:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules848422375/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules848422375/work/payloads/0000/tree" - time="2022-08-29T11:32:51Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2022-08-29T11:32:51Z" level=debug msg="Handling state after rollback reboot" - time="2022-08-29T11:32:51Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2022-08-29T11:32:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:51Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2022-08-29T11:32:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35734->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35734->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35082->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35082->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2022-08-29T11:32:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46936->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46936->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42267->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42267->[::1]:53: read: connection refused" - time="2022-08-29T11:32:51Z" level=debug msg="Handle update error state" - time="2022-08-29T11:32:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2022-08-29T11:32:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules848422375/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules848422375/work/payloads/0000/tree" - time="2022-08-29T11:32:51Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2022-08-29T11:32:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2022-08-29T11:32:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:51Z" level=debug msg="Handling Cleanup state" - time="2022-08-29T11:32:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2022-08-29T11:32:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules848422375/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules848422375/work/payloads/0000/tree" - time="2022-08-29T11:32:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2022-08-29T11:32:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2022-08-29T11:32:51Z" level=debug msg="Handling update status report state" - time="2022-08-29T11:32:51Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2022-08-29T11:32:51Z" level=debug msg="Reporting complete" - time="2022-08-29T11:32:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules848422375/artifact_info file." - time="2022-08-29T11:32:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules848422375/artifact_info" - time="2022-08-29T11:32:51Z" level=debug msg="artifact_name=old_name" - time="2022-08-29T11:32:51Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (15.16s) + time="2021-07-27T05:23:58Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2021-07-27T05:23:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:58Z" level=debug msg="Handle update check state" + time="2021-07-27T05:23:58Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2021-07-27T05:23:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:23:58Z" level=debug msg="Executing script: Download_Enter_00" + time="2021-07-27T05:23:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48848->[::1]:53: read: connection refused" + time="2021-07-27T05:23:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48848->[::1]:53: read: connection refused" + time="2021-07-27T05:23:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48667->[::1]:53: read: connection refused" + time="2021-07-27T05:23:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48667->[::1]:53: read: connection refused" + time="2021-07-27T05:23:58Z" level=info msg="Running Mender client version: unknown" + time="2021-07-27T05:23:58Z" level=debug msg="Handling update fetch state" + time="2021-07-27T05:23:58Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2021-07-27T05:23:58Z" level=debug msg="Handling update install state" + time="2021-07-27T05:23:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules970784312/device_type" + time="2021-07-27T05:23:58Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:58Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:58Z" level=info msg="No public key was provided for authenticating the artifact" + time="2021-07-27T05:23:58Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2021-07-27T05:23:58Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:23:58Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:23:58Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2021-07-27T05:23:58Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:23:58Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2021-07-27T05:23:58Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:23:58Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:23:58Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2021-07-27T05:23:58Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:23:58Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2021-07-27T05:23:58Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:23:58Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:23:58Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:23:58Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2021-07-27T05:23:58Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:23:58Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2021-07-27T05:23:58Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:23:58Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2021-07-27T05:23:58Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2021-07-27T05:23:58Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules970784312/artifact_info file." + time="2021-07-27T05:23:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules970784312/artifact_info" + time="2021-07-27T05:23:58Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:58Z" level=debug msg="Current manifest data: old_name" + time="2021-07-27T05:23:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules970784312/artifact_info" + time="2021-07-27T05:23:58Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:23:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules970784312/device_type" + time="2021-07-27T05:23:58Z" level=debug msg="device_type=test-device" + time="2021-07-27T05:23:58Z" level=debug msg="Current manifest data: test-device" + time="2021-07-27T05:23:58Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2021-07-27T05:23:59Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2021-07-27T05:23:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules970784312/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules970784312/work/payloads/0000/tree" + time="2021-07-27T05:23:59Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2021-07-27T05:23:59Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2021-07-27T05:23:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules970784312/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules970784312/work/payloads/0000/tree" + time="2021-07-27T05:23:59Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:23:59Z" level=debug msg="Module supports rollback" + time="2021-07-27T05:24:00Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2021-07-27T05:24:00Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2021-07-27T05:24:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:24:00Z" level=debug msg="Executing script: Download_Leave_00" + time="2021-07-27T05:24:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58100->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58100->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51949->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51949->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:24:00Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2021-07-27T05:24:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51954->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51954->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43924->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43924->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2021-07-27T05:24:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules970784312/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules970784312/work/payloads/0000/tree" + time="2021-07-27T05:24:00Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2021-07-27T05:24:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules970784312/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules970784312/work/payloads/0000/tree" + time="2021-07-27T05:24:00Z" level=debug msg="Update module output: Yes" + time="2021-07-27T05:24:00Z" level=debug msg="Module needs custom reboot" + time="2021-07-27T05:24:00Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2021-07-27T05:24:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:24:00Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2021-07-27T05:24:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36327->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36327->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34838->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34838->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:24:00Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2021-07-27T05:24:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46389->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46389->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33934->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33934->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=debug msg="Handling reboot state" + time="2021-07-27T05:24:00Z" level=info msg="Rebooting device(s)" + time="2021-07-27T05:24:00Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2021-07-27T05:24:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules970784312/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules970784312/work/payloads/0000/tree" + time="2021-07-27T05:24:00Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:24:00Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2021-07-27T05:24:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules970784312/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules970784312/work/payloads/0000/tree" + time="2021-07-27T05:24:00Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2021-07-27T05:24:00Z" level=debug msg="Handling state after reboot" + time="2021-07-27T05:24:00Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:24:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:24:00Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2021-07-27T05:24:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45140->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45140->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60243->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60243->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:24:00Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2021-07-27T05:24:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55870->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55870->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41580->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41580->[::1]:53: read: connection refused" + time="2021-07-27T05:24:00Z" level=debug msg="Handle update commit state" + time="2021-07-27T05:24:00Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" + time="2021-07-27T05:24:00Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" + time="2021-07-27T05:24:05Z" level=debug msg="Wait complete" + time="2021-07-27T05:24:05Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:24:05Z" level=debug msg="Handle update commit state" + time="2021-07-27T05:24:05Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" + time="2021-07-27T05:24:05Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" + time="2021-07-27T05:24:10Z" level=debug msg="Wait complete" + time="2021-07-27T05:24:10Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:24:10Z" level=debug msg="Handle update commit state" + time="2021-07-27T05:24:10Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" + time="2021-07-27T05:24:10Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" + time="2021-07-27T05:24:15Z" level=debug msg="Wait complete" + time="2021-07-27T05:24:15Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" + time="2021-07-27T05:24:15Z" level=debug msg="Handle update commit state" + time="2021-07-27T05:24:15Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" + time="2021-07-27T05:24:15Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" + time="2021-07-27T05:24:15Z" level=error msg="transient error: Tried sending status report maximum number of times." + time="2021-07-27T05:24:15Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" + time="2021-07-27T05:24:15Z" level=debug msg="Transitioning to error state" + time="2021-07-27T05:24:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:24:15Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2021-07-27T05:24:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58094->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58094->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60931->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60931->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:24:15Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2021-07-27T05:24:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58840->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58840->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50785->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50785->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=info msg="Performing rollback" + time="2021-07-27T05:24:15Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2021-07-27T05:24:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules970784312/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules970784312/work/payloads/0000/tree" + time="2021-07-27T05:24:15Z" level=debug msg="Will try to rollback reboot the device" + time="2021-07-27T05:24:15Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2021-07-27T05:24:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:24:15Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2021-07-27T05:24:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55612->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55612->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41253->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41253->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:24:15Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2021-07-27T05:24:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55707->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55707->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48696->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48696->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=info msg="Rebooting device(s) after rollback" + time="2021-07-27T05:24:15Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2021-07-27T05:24:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules970784312/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules970784312/work/payloads/0000/tree" + time="2021-07-27T05:24:15Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:24:15Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2021-07-27T05:24:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules970784312/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules970784312/work/payloads/0000/tree" + time="2021-07-27T05:24:15Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2021-07-27T05:24:15Z" level=debug msg="Handling state after rollback reboot" + time="2021-07-27T05:24:15Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2021-07-27T05:24:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:24:15Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2021-07-27T05:24:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54235->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54235->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59040->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59040->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:24:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2021-07-27T05:24:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36298->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36298->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34311->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34311->[::1]:53: read: connection refused" + time="2021-07-27T05:24:15Z" level=debug msg="Handle update error state" + time="2021-07-27T05:24:15Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2021-07-27T05:24:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules970784312/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules970784312/work/payloads/0000/tree" + time="2021-07-27T05:24:15Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2021-07-27T05:24:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:24:15Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2021-07-27T05:24:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:24:15Z" level=debug msg="Handling Cleanup state" + time="2021-07-27T05:24:15Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2021-07-27T05:24:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules970784312/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules970784312/work/payloads/0000/tree" + time="2021-07-27T05:24:15Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2021-07-27T05:24:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2021-07-27T05:24:15Z" level=debug msg="Handling update status report state" + time="2021-07-27T05:24:15Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2021-07-27T05:24:15Z" level=debug msg="Reporting complete" + time="2021-07-27T05:24:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules970784312/artifact_info file." + time="2021-07-27T05:24:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules970784312/artifact_info" + time="2021-07-27T05:24:15Z" level=debug msg="artifact_name=old_name" + time="2021-07-27T05:24:15Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (17.60s) PASS ---- PASS: TestStateTransitionsWithUpdateModules (47.08s) - --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_reboot,_no_rollback (1.25s) - --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_rollback (0.18s) - --- PASS: TestStateTransitionsWithUpdateModules/Normal_install (0.16s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_state,_no_rollback (0.12s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_state,_no_rollback (0.13s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_state,_no_rollback (0.15s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_state,_no_rollback (0.18s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall (0.17s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall (0.28s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot (0.19s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot (0.18s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyReboot (0.21s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyReboot (0.22s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback (0.21s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback (0.24s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot (0.22s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot (0.25s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyRollbackReboot (0.24s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyRollbackReboot (0.23s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure (0.18s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure (0.23s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Cleanup (0.23s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Cleanup (0.27s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit (0.27s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit (0.26s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit,_no_reboot (0.18s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit,_no_reboot (0.19s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Enter_00_state,_no_rollback (0.04s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Enter_00_state,_no_rollback (0.04s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00_state,_no_rollback (0.15s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00_state,_no_rollback (0.17s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00 (0.18s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00 (0.21s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Enter_00 (0.20s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Enter_00 (0.19s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Enter_00 (0.29s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Enter_00 (0.22s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Enter_00 (0.21s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Enter_00 (0.21s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Enter_00 (0.17s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Enter_00 (0.19s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00 (0.27s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00 (0.21s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00,_no_reboot (0.18s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00,_no_reboot (0.21s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Leave_00_state,_no_rollback (0.13s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Leave_00_state,_no_rollback (0.13s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00_state,_no_rollback (0.15s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00_state,_no_rollback (0.16s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00 (0.17s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00 (0.18s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Leave_00 (0.18s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Leave_00 (0.19s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Leave_00 (0.21s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Leave_00 (0.21s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Leave_00 (0.20s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Leave_00 (0.25s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Leave_00 (0.20s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Leave_00 (0.19s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00 (0.19s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00 (0.64s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00,_no_reboot (0.47s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00,_no_reboot (0.27s) - --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_error_loop (0.48s) - --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_spontaneous_reboot_loop (0.60s) - --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_Download_state (5.13s) - --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_ArtifactInstall (6.48s) - --- PASS: TestStateTransitionsWithUpdateModules/Temporary_failure_in_report_sending_after_reboot (5.14s) - --- PASS: TestStateTransitionsWithUpdateModules/Permanent_failure_in_report_sending_after_reboot (15.17s) +--- PASS: TestStateTransitionsWithUpdateModules (83.65s) + --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_reboot,_no_rollback (0.56s) + --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_rollback (0.42s) + --- PASS: TestStateTransitionsWithUpdateModules/Normal_install (2.14s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_state,_no_rollback (0.23s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_state,_no_rollback (0.51s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_state,_no_rollback (0.37s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_state,_no_rollback (0.62s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall (1.61s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall (0.60s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot (0.45s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot (0.64s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyReboot (0.73s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyReboot (0.65s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback (0.98s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback (0.53s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot (0.61s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot (0.58s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyRollbackReboot (0.81s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyRollbackReboot (1.04s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure (0.55s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure (0.42s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Cleanup (1.13s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Cleanup (1.05s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit (0.91s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit (0.91s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit,_no_reboot (0.42s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit,_no_reboot (1.00s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Enter_00_state,_no_rollback (0.72s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Enter_00_state,_no_rollback (0.38s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00_state,_no_rollback (0.48s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00_state,_no_rollback (0.30s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00 (0.45s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00 (0.71s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Enter_00 (0.75s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Enter_00 (0.61s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Enter_00 (0.43s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Enter_00 (0.48s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Enter_00 (0.49s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Enter_00 (0.70s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Enter_00 (0.45s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Enter_00 (0.56s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00 (1.01s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00 (1.45s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00,_no_reboot (0.64s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00,_no_reboot (0.48s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Leave_00_state,_no_rollback (0.57s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Leave_00_state,_no_rollback (0.35s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00_state,_no_rollback (0.80s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00_state,_no_rollback (0.36s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00 (0.54s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00 (0.42s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Leave_00 (0.69s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Leave_00 (0.75s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Leave_00 (0.66s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Leave_00 (0.72s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Leave_00 (0.99s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Leave_00 (1.28s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Leave_00 (0.67s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Leave_00 (0.42s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00 (0.84s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00 (0.59s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00,_no_reboot (0.55s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00,_no_reboot (0.82s) + --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_error_loop (3.24s) + --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_spontaneous_reboot_loop (2.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_Download_state (5.55s) + --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_ArtifactInstall (5.92s) + --- PASS: TestStateTransitionsWithUpdateModules/Temporary_failure_in_report_sending_after_reboot (5.59s) + --- PASS: TestStateTransitionsWithUpdateModules/Permanent_failure_in_report_sending_after_reboot (17.68s) === RUN TestDBSchemaUpdate --- PASS: TestDBSchemaUpdate (0.00s) === RUN TestAutomaticReboot -time="2022-08-29T11:32:51Z" level=info msg="Running Mender client version: unknown" -time="2022-08-29T11:32:51Z" level=debug msg="Handling reboot state" -time="2022-08-29T11:32:51Z" level=info msg="Rebooting device(s)" -time="2022-08-29T11:32:51Z" level=error msg="transient error: Could not reboot host: exit status 99" -time="2022-08-29T11:32:51Z" level=debug msg="Setting artifact name to _INCONSISTENT" ---- PASS: TestAutomaticReboot (0.02s) +time="2021-07-27T05:24:15Z" level=info msg="Running Mender client version: unknown" +time="2021-07-27T05:24:15Z" level=debug msg="Handling reboot state" +time="2021-07-27T05:24:16Z" level=info msg="Rebooting device(s)" +time="2021-07-27T05:24:16Z" level=error msg="transient error: Could not reboot host: exit status 99" +time="2021-07-27T05:24:16Z" level=debug msg="Setting artifact name to _INCONSISTENT" +--- PASS: TestAutomaticReboot (0.29s) === RUN TestTransitions -time="2022-08-29T11:32:51Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:24:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" === RUN TestTransitions/0 -time="2022-08-29T11:32:51Z" level=info msg="State transition: init [Idle] -> init [Sync]" +time="2021-07-27T05:24:16Z" level=info msg="State transition: init [Idle] -> init [Sync]" transition_test.go:194: has: [{Idle Leave} {Sync Enter}] expect: [{Idle Leave} {Sync Enter}] === RUN TestTransitions/1 -time="2022-08-29T11:32:51Z" level=info msg="State transition: init [Idle] -> init [Sync]" +time="2021-07-27T05:24:16Z" level=info msg="State transition: init [Idle] -> init [Sync]" transition_test.go:194: has: [{Idle Leave} {Sync Enter}] expect: [{Idle Leave} {Sync Enter}] === RUN TestTransitions/2 -time="2022-08-29T11:32:51Z" level=info msg="State transition: init [Idle] -> init [Sync]" +time="2021-07-27T05:24:16Z" level=info msg="State transition: init [Idle] -> init [Sync]" transition_test.go:194: has: [{Idle Leave} {Sync Enter}] expect: [{Idle Leave} {Sync Enter}] === RUN TestTransitions/3 -time="2022-08-29T11:32:51Z" level=info msg="State transition: init [Sync] -> init [Download_Enter]" +time="2021-07-27T05:24:16Z" level=info msg="State transition: init [Sync] -> init [Download_Enter]" transition_test.go:194: has: [{Sync Leave}] expect: [{Sync Leave}] === RUN TestTransitions/4 -time="2022-08-29T11:32:51Z" level=info msg="State transition: init [Error] -> init [Idle]" +time="2021-07-27T05:24:16Z" level=info msg="State transition: init [Error] -> init [Idle]" transition_test.go:194: has: [{Error Leave} {Idle Enter}] expect: [{Error Leave} {Idle Enter}] === RUN TestTransitions/5 -time="2022-08-29T11:32:51Z" level=info msg="State transition: init [ArtifactReboot_Enter] -> init [Error]" -time="2022-08-29T11:32:51Z" level=debug msg="Transitioning to error state" +time="2021-07-27T05:24:16Z" level=info msg="State transition: init [ArtifactReboot_Enter] -> init [Error]" +time="2021-07-27T05:24:16Z" level=debug msg="Transitioning to error state" transition_test.go:194: has: [{ArtifactReboot Error} {Error Enter}] expect: [{ArtifactReboot Error} {Error Enter}] === RUN TestTransitions/6 -time="2022-08-29T11:32:51Z" level=info msg="State transition: init [none] -> init [Idle]" +time="2021-07-27T05:24:16Z" level=info msg="State transition: init [none] -> init [Idle]" transition_test.go:194: has: [{Idle Enter}] expect: [{Idle Enter}] === RUN TestTransitions/7 -time="2022-08-29T11:32:51Z" level=info msg="State transition: init [none] -> init [Error]" -time="2022-08-29T11:32:51Z" level=debug msg="Transitioning to error state" +time="2021-07-27T05:24:16Z" level=info msg="State transition: init [none] -> init [Error]" +time="2021-07-27T05:24:16Z" level=debug msg="Transitioning to error state" transition_test.go:194: has: [{Error Enter}] expect: [{Error Enter}] === RUN TestTransitions/8 -time="2022-08-29T11:32:51Z" level=info msg="State transition: init [Idle] -> init [Error]" -time="2022-08-29T11:32:51Z" level=debug msg="Transitioning to error state" +time="2021-07-27T05:24:16Z" level=info msg="State transition: init [Idle] -> init [Error]" +time="2021-07-27T05:24:16Z" level=debug msg="Transitioning to error state" transition_test.go:194: has: [{Idle Error} {Error Enter}] expect: [{Idle Error} {Error Enter}] ---- PASS: TestTransitions (0.01s) +--- PASS: TestTransitions (0.03s) --- PASS: TestTransitions/0 (0.00s) --- PASS: TestTransitions/1 (0.00s) --- PASS: TestTransitions/2 (0.00s) @@ -15176,114 +15246,114 @@ transition_test.go:329: Running state: update-error --- PASS: TestTransitionReporting (0.00s) FAIL -FAIL github.com/mendersoftware/mender/app 233.230s +FAIL github.com/mendersoftware/mender/app 287.580s === RUN TestAmbiguousArgumentsArgs -time="2022-08-29T11:28:58Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" ---- PASS: TestAmbiguousArgumentsArgs (0.00s) +time="2021-07-27T05:19:27Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" +--- PASS: TestAmbiguousArgumentsArgs (0.02s) === RUN TestCheckUpdate -time="2022-08-29T11:28:58Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" +time="2021-07-27T05:19:27Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" --- PASS: TestCheckUpdate (0.00s) === RUN TestSendInventory -time="2022-08-29T11:28:58Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" +time="2021-07-27T05:19:27Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" --- PASS: TestSendInventory (0.00s) === RUN TestRunDaemon -time="2022-08-29T11:28:58Z" level=debug msg="Private key does not exist" -time="2022-08-29T11:28:58Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:28:58Z" level=info msg="State transition: init [none] -> init [none]" -time="2022-08-29T11:28:58Z" level=debug msg="No state data stored" -time="2022-08-29T11:28:58Z" level=info msg="State transition: init [none] -> idle [Idle]" -time="2022-08-29T11:28:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:28:58Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" -time="2022-08-29T11:28:58Z" level=debug msg="Handle authorize wait state" -time="2022-08-29T11:28:58Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2022-08-29T11:28:58Z" level=debug msg="Wait 0s before next authorization attempt" -time="2022-08-29T11:28:58Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" -time="2022-08-29T11:28:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:28:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:28:58Z" level=debug msg="Handle authorize state" -time="2022-08-29T11:28:58Z" level=debug msg="Needs keys" -time="2022-08-29T11:28:58Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2022-08-29T11:29:00Z" level=debug msg="Tenant token: " -time="2022-08-29T11:29:00Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA6CWpwM5CKrJZ6fu9HWcI\nf5FTlIbe0Ului6x67OVI61Eo6ieXBqB9OikM2dZKGNjz1zCieUyIc7jzRdGCiVhb\nJfhnk0/ieV8jHk3wbpGZPUPJ8+8tHrt8t3EGITfXkI1a1fSLESHbfOkZLeDTAmHD\nrX5KmHseOZoVGUma1cBy2mWOdDdfQbAdjJOPnv/79275KbQnd3uI+xy8ymyY4Y6D\ng4Rp4wVgn9fbP4PfGP56HspDdKDcSNJkIoR+hCMORESBHoi010DIvBK8asyt6Va2\nw8kv22M2/WR60ILEm+p6g2hlLSrTnSOzdZ+NKzwb+TbPQPF5zZeivGvtgIrVLG/k\n6oYxv5eZLiXEpAJ9dLf1eiqQzqqwLplXP+sAI8WQErnFpWuj0rBxoDMPJZFckWWY\n8r76nkMjl8vqGYUoPX2ModxBsIdIjyONYhm51bhvit3Hs0nCb5gaUCLvUToUeUv6\n0w0u/UywO79cPNLmGSSouSkW1dCTXMo9/EW2+/67lPJfAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2022-08-29T11:29:00Z" level=debug msg="Making an authorization request () to server " -time="2022-08-29T11:29:00Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xa990258)}" -time="2022-08-29T11:29:00Z" level=error msg="Authorization request error: http: no Host in request URL" -time="2022-08-29T11:29:00Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" -time="2022-08-29T11:29:00Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" -time="2022-08-29T11:29:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:29:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:29:00Z" level=debug msg="Handle authorize wait state" -time="2022-08-29T11:29:00Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2022-08-29T11:29:00Z" level=debug msg="Wait 4m58.020377272s before next authorization attempt" -time="2022-08-29T11:29:00Z" level=debug msg="SIGUSR1 signal received." -time="2022-08-29T11:29:00Z" level=debug msg="Sent wake up!" -time="2022-08-29T11:29:00Z" level=info msg="Forced wake-up from sleep" -time="2022-08-29T11:29:00Z" level=error msg="Cannot check update or update inventory while in authorize state" -time="2022-08-29T11:29:00Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" -time="2022-08-29T11:29:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:29:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:29:00Z" level=debug msg="Handle authorize state" -time="2022-08-29T11:29:00Z" level=debug msg="Tenant token: " -time="2022-08-29T11:29:00Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA6CWpwM5CKrJZ6fu9HWcI\nf5FTlIbe0Ului6x67OVI61Eo6ieXBqB9OikM2dZKGNjz1zCieUyIc7jzRdGCiVhb\nJfhnk0/ieV8jHk3wbpGZPUPJ8+8tHrt8t3EGITfXkI1a1fSLESHbfOkZLeDTAmHD\nrX5KmHseOZoVGUma1cBy2mWOdDdfQbAdjJOPnv/79275KbQnd3uI+xy8ymyY4Y6D\ng4Rp4wVgn9fbP4PfGP56HspDdKDcSNJkIoR+hCMORESBHoi010DIvBK8asyt6Va2\nw8kv22M2/WR60ILEm+p6g2hlLSrTnSOzdZ+NKzwb+TbPQPF5zZeivGvtgIrVLG/k\n6oYxv5eZLiXEpAJ9dLf1eiqQzqqwLplXP+sAI8WQErnFpWuj0rBxoDMPJZFckWWY\n8r76nkMjl8vqGYUoPX2ModxBsIdIjyONYhm51bhvit3Hs0nCb5gaUCLvUToUeUv6\n0w0u/UywO79cPNLmGSSouSkW1dCTXMo9/EW2+/67lPJfAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2022-08-29T11:29:00Z" level=debug msg="Making an authorization request () to server " -time="2022-08-29T11:29:00Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xa990750)}" -time="2022-08-29T11:29:00Z" level=error msg="Authorization request error: http: no Host in request URL" -time="2022-08-29T11:29:00Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" -time="2022-08-29T11:29:00Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" -time="2022-08-29T11:29:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:29:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:29:00Z" level=debug msg="Handle authorize wait state" -time="2022-08-29T11:29:00Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2022-08-29T11:29:00Z" level=debug msg="Wait 9m57.975573345s before next authorization attempt" -time="2022-08-29T11:29:01Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2022-08-29T11:29:01Z" level=info msg="State transition: init [none] -> init [none]" -time="2022-08-29T11:29:01Z" level=debug msg="No state data stored" -time="2022-08-29T11:29:01Z" level=info msg="State transition: init [none] -> idle [Idle]" -time="2022-08-29T11:29:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:29:01Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" -time="2022-08-29T11:29:01Z" level=debug msg="Handle authorize wait state" -time="2022-08-29T11:29:01Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2022-08-29T11:29:01Z" level=debug msg="Wait 0s before next authorization attempt" -time="2022-08-29T11:29:01Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" -time="2022-08-29T11:29:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:29:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:29:01Z" level=debug msg="Handle authorize state" -time="2022-08-29T11:29:01Z" level=debug msg="Tenant token: " -time="2022-08-29T11:29:01Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA6CWpwM5CKrJZ6fu9HWcI\nf5FTlIbe0Ului6x67OVI61Eo6ieXBqB9OikM2dZKGNjz1zCieUyIc7jzRdGCiVhb\nJfhnk0/ieV8jHk3wbpGZPUPJ8+8tHrt8t3EGITfXkI1a1fSLESHbfOkZLeDTAmHD\nrX5KmHseOZoVGUma1cBy2mWOdDdfQbAdjJOPnv/79275KbQnd3uI+xy8ymyY4Y6D\ng4Rp4wVgn9fbP4PfGP56HspDdKDcSNJkIoR+hCMORESBHoi010DIvBK8asyt6Va2\nw8kv22M2/WR60ILEm+p6g2hlLSrTnSOzdZ+NKzwb+TbPQPF5zZeivGvtgIrVLG/k\n6oYxv5eZLiXEpAJ9dLf1eiqQzqqwLplXP+sAI8WQErnFpWuj0rBxoDMPJZFckWWY\n8r76nkMjl8vqGYUoPX2ModxBsIdIjyONYhm51bhvit3Hs0nCb5gaUCLvUToUeUv6\n0w0u/UywO79cPNLmGSSouSkW1dCTXMo9/EW2+/67lPJfAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2022-08-29T11:29:01Z" level=debug msg="Making an authorization request () to server " -time="2022-08-29T11:29:01Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xaa06110)}" -time="2022-08-29T11:29:01Z" level=error msg="Authorization request error: http: no Host in request URL" -time="2022-08-29T11:29:01Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" -time="2022-08-29T11:29:01Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" -time="2022-08-29T11:29:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:29:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:29:01Z" level=debug msg="Handle authorize wait state" -time="2022-08-29T11:29:01Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2022-08-29T11:29:01Z" level=debug msg="Wait 4m59.976431749s before next authorization attempt" -time="2022-08-29T11:29:01Z" level=debug msg="SIGUSR2 signal received." -time="2022-08-29T11:29:01Z" level=debug msg="Sent wake up!" -time="2022-08-29T11:29:01Z" level=info msg="Forced wake-up from sleep" -time="2022-08-29T11:29:01Z" level=error msg="Cannot check update or update inventory while in authorize state" -time="2022-08-29T11:29:01Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" -time="2022-08-29T11:29:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:29:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:29:01Z" level=debug msg="Handle authorize state" -time="2022-08-29T11:29:01Z" level=debug msg="SIGUSR2 signal received." -time="2022-08-29T11:29:01Z" level=debug msg="Sent wake up!" -time="2022-08-29T11:29:01Z" level=info msg="Forced wake-up from sleep" -time="2022-08-29T11:29:01Z" level=debug msg="Tenant token: " -time="2022-08-29T11:29:01Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA6CWpwM5CKrJZ6fu9HWcI\nf5FTlIbe0Ului6x67OVI61Eo6ieXBqB9OikM2dZKGNjz1zCieUyIc7jzRdGCiVhb\nJfhnk0/ieV8jHk3wbpGZPUPJ8+8tHrt8t3EGITfXkI1a1fSLESHbfOkZLeDTAmHD\nrX5KmHseOZoVGUma1cBy2mWOdDdfQbAdjJOPnv/79275KbQnd3uI+xy8ymyY4Y6D\ng4Rp4wVgn9fbP4PfGP56HspDdKDcSNJkIoR+hCMORESBHoi010DIvBK8asyt6Va2\nw8kv22M2/WR60ILEm+p6g2hlLSrTnSOzdZ+NKzwb+TbPQPF5zZeivGvtgIrVLG/k\n6oYxv5eZLiXEpAJ9dLf1eiqQzqqwLplXP+sAI8WQErnFpWuj0rBxoDMPJZFckWWY\n8r76nkMjl8vqGYUoPX2ModxBsIdIjyONYhm51bhvit3Hs0nCb5gaUCLvUToUeUv6\n0w0u/UywO79cPNLmGSSouSkW1dCTXMo9/EW2+/67lPJfAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2022-08-29T11:29:01Z" level=debug msg="Making an authorization request () to server " -time="2022-08-29T11:29:01Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xa899f48)}" -time="2022-08-29T11:29:01Z" level=error msg="Authorization request error: http: no Host in request URL" -time="2022-08-29T11:29:01Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" -time="2022-08-29T11:29:01Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" -time="2022-08-29T11:29:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:29:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2022-08-29T11:29:01Z" level=debug msg="Handle authorize wait state" -time="2022-08-29T11:29:01Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2022-08-29T11:29:01Z" level=debug msg="Wait 9m59.767400877s before next authorization attempt" ---- PASS: TestRunDaemon (4.20s) +time="2021-07-27T05:19:27Z" level=debug msg="Private key does not exist" +time="2021-07-27T05:19:27Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:19:27Z" level=info msg="State transition: init [none] -> init [none]" +time="2021-07-27T05:19:27Z" level=debug msg="No state data stored" +time="2021-07-27T05:19:27Z" level=info msg="State transition: init [none] -> idle [Idle]" +time="2021-07-27T05:19:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:19:27Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" +time="2021-07-27T05:19:27Z" level=debug msg="Handle authorize wait state" +time="2021-07-27T05:19:27Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2021-07-27T05:19:27Z" level=debug msg="Wait 0s before next authorization attempt" +time="2021-07-27T05:19:27Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" +time="2021-07-27T05:19:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:19:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:19:27Z" level=debug msg="Handle authorize state" +time="2021-07-27T05:19:27Z" level=debug msg="Needs keys" +time="2021-07-27T05:19:27Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2021-07-27T05:19:27Z" level=debug msg="Tenant token: " +time="2021-07-27T05:19:27Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2seSodTZpitrGe4SY9Nn\neEf6tBPJ0CXv0Jjz6g3lh7Y+yHBw9ABFLUgf/5w2ZD12ed1z1kaeM1x1rJIBW3nA\nZuKruYRkiIXyOzICa525RlEjjFd/cmjxP4ejMgGYokchO8b86CdsTWCvi5rsmFxJ\nQBYxcMoBCJmvRcxQ5aJEGHI8sPxLSJN2Gwuu1rwVOiow39li512TNLLKjP9yCPvP\n/8jLxe7FkD4pbxWKFHdTYHeEp2p4b8idUzzkB/1gtfl7R1/VZuJd9VQ077V4DOcv\nukxLZCKCZis2NPR5MYrN+Taxtaztjq0nGnvSyHN6vAteESKUKdCvhXROraQIrvS8\nRLO0Sgk0/qxzS98jbOdJUe/ikt959EX+368c2L443j4dRilsSRB+zWiLggDNsKkH\ndhQVyp2Fid2rdNT8JXLwi3xAlCz+V5DpVE+Lth/KOEEXuX9r0RIwpPgADvwhZiJE\nCu0+Ty5ISO65DROm4rBDEMkkbEGni+EYC67LH2KW1YFvAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2021-07-27T05:19:27Z" level=debug msg="Making an authorization request () to server " +time="2021-07-27T05:19:27Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x8d200a0)}" +time="2021-07-27T05:19:27Z" level=error msg="Authorization request error: http: no Host in request URL" +time="2021-07-27T05:19:27Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" +time="2021-07-27T05:19:27Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" +time="2021-07-27T05:19:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:19:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:19:27Z" level=debug msg="Handle authorize wait state" +time="2021-07-27T05:19:27Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2021-07-27T05:19:27Z" level=debug msg="Wait 4m59.81891834s before next authorization attempt" +time="2021-07-27T05:19:27Z" level=debug msg="SIGUSR1 signal received." +time="2021-07-27T05:19:27Z" level=debug msg="Sent wake up!" +time="2021-07-27T05:19:27Z" level=info msg="Forced wake-up from sleep" +time="2021-07-27T05:19:27Z" level=error msg="Cannot check update or update inventory while in authorize state" +time="2021-07-27T05:19:27Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" +time="2021-07-27T05:19:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:19:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:19:27Z" level=debug msg="Handle authorize state" +time="2021-07-27T05:19:27Z" level=debug msg="Tenant token: " +time="2021-07-27T05:19:27Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2seSodTZpitrGe4SY9Nn\neEf6tBPJ0CXv0Jjz6g3lh7Y+yHBw9ABFLUgf/5w2ZD12ed1z1kaeM1x1rJIBW3nA\nZuKruYRkiIXyOzICa525RlEjjFd/cmjxP4ejMgGYokchO8b86CdsTWCvi5rsmFxJ\nQBYxcMoBCJmvRcxQ5aJEGHI8sPxLSJN2Gwuu1rwVOiow39li512TNLLKjP9yCPvP\n/8jLxe7FkD4pbxWKFHdTYHeEp2p4b8idUzzkB/1gtfl7R1/VZuJd9VQ077V4DOcv\nukxLZCKCZis2NPR5MYrN+Taxtaztjq0nGnvSyHN6vAteESKUKdCvhXROraQIrvS8\nRLO0Sgk0/qxzS98jbOdJUe/ikt959EX+368c2L443j4dRilsSRB+zWiLggDNsKkH\ndhQVyp2Fid2rdNT8JXLwi3xAlCz+V5DpVE+Lth/KOEEXuX9r0RIwpPgADvwhZiJE\nCu0+Ty5ISO65DROm4rBDEMkkbEGni+EYC67LH2KW1YFvAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2021-07-27T05:19:28Z" level=debug msg="Making an authorization request () to server " +time="2021-07-27T05:19:28Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x8d20598)}" +time="2021-07-27T05:19:28Z" level=error msg="Authorization request error: http: no Host in request URL" +time="2021-07-27T05:19:28Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" +time="2021-07-27T05:19:28Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" +time="2021-07-27T05:19:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:19:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:19:28Z" level=debug msg="Handle authorize wait state" +time="2021-07-27T05:19:28Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2021-07-27T05:19:28Z" level=debug msg="Wait 9m59.747638809s before next authorization attempt" +time="2021-07-27T05:19:28Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2021-07-27T05:19:28Z" level=info msg="State transition: init [none] -> init [none]" +time="2021-07-27T05:19:28Z" level=debug msg="No state data stored" +time="2021-07-27T05:19:28Z" level=info msg="State transition: init [none] -> idle [Idle]" +time="2021-07-27T05:19:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:19:28Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" +time="2021-07-27T05:19:28Z" level=debug msg="Handle authorize wait state" +time="2021-07-27T05:19:28Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2021-07-27T05:19:28Z" level=debug msg="Wait 0s before next authorization attempt" +time="2021-07-27T05:19:28Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" +time="2021-07-27T05:19:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:19:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:19:28Z" level=debug msg="Handle authorize state" +time="2021-07-27T05:19:28Z" level=debug msg="Tenant token: " +time="2021-07-27T05:19:28Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2seSodTZpitrGe4SY9Nn\neEf6tBPJ0CXv0Jjz6g3lh7Y+yHBw9ABFLUgf/5w2ZD12ed1z1kaeM1x1rJIBW3nA\nZuKruYRkiIXyOzICa525RlEjjFd/cmjxP4ejMgGYokchO8b86CdsTWCvi5rsmFxJ\nQBYxcMoBCJmvRcxQ5aJEGHI8sPxLSJN2Gwuu1rwVOiow39li512TNLLKjP9yCPvP\n/8jLxe7FkD4pbxWKFHdTYHeEp2p4b8idUzzkB/1gtfl7R1/VZuJd9VQ077V4DOcv\nukxLZCKCZis2NPR5MYrN+Taxtaztjq0nGnvSyHN6vAteESKUKdCvhXROraQIrvS8\nRLO0Sgk0/qxzS98jbOdJUe/ikt959EX+368c2L443j4dRilsSRB+zWiLggDNsKkH\ndhQVyp2Fid2rdNT8JXLwi3xAlCz+V5DpVE+Lth/KOEEXuX9r0RIwpPgADvwhZiJE\nCu0+Ty5ISO65DROm4rBDEMkkbEGni+EYC67LH2KW1YFvAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2021-07-27T05:19:29Z" level=debug msg="Making an authorization request () to server " +time="2021-07-27T05:19:29Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x8d20bf0)}" +time="2021-07-27T05:19:29Z" level=error msg="Authorization request error: http: no Host in request URL" +time="2021-07-27T05:19:29Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" +time="2021-07-27T05:19:29Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" +time="2021-07-27T05:19:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:19:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:19:29Z" level=debug msg="Handle authorize wait state" +time="2021-07-27T05:19:29Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2021-07-27T05:19:29Z" level=debug msg="Wait 4m59.955669816s before next authorization attempt" +time="2021-07-27T05:19:29Z" level=debug msg="SIGUSR2 signal received." +time="2021-07-27T05:19:29Z" level=debug msg="Sent wake up!" +time="2021-07-27T05:19:29Z" level=info msg="Forced wake-up from sleep" +time="2021-07-27T05:19:29Z" level=debug msg="SIGUSR2 signal received." +time="2021-07-27T05:19:29Z" level=debug msg="Sent wake up!" +time="2021-07-27T05:19:29Z" level=info msg="Forced wake-up from sleep" +time="2021-07-27T05:19:29Z" level=error msg="Cannot check update or update inventory while in authorize state" +time="2021-07-27T05:19:29Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" +time="2021-07-27T05:19:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:19:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:19:29Z" level=debug msg="Handle authorize state" +time="2021-07-27T05:19:29Z" level=debug msg="Tenant token: " +time="2021-07-27T05:19:29Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2seSodTZpitrGe4SY9Nn\neEf6tBPJ0CXv0Jjz6g3lh7Y+yHBw9ABFLUgf/5w2ZD12ed1z1kaeM1x1rJIBW3nA\nZuKruYRkiIXyOzICa525RlEjjFd/cmjxP4ejMgGYokchO8b86CdsTWCvi5rsmFxJ\nQBYxcMoBCJmvRcxQ5aJEGHI8sPxLSJN2Gwuu1rwVOiow39li512TNLLKjP9yCPvP\n/8jLxe7FkD4pbxWKFHdTYHeEp2p4b8idUzzkB/1gtfl7R1/VZuJd9VQ077V4DOcv\nukxLZCKCZis2NPR5MYrN+Taxtaztjq0nGnvSyHN6vAteESKUKdCvhXROraQIrvS8\nRLO0Sgk0/qxzS98jbOdJUe/ikt959EX+368c2L443j4dRilsSRB+zWiLggDNsKkH\ndhQVyp2Fid2rdNT8JXLwi3xAlCz+V5DpVE+Lth/KOEEXuX9r0RIwpPgADvwhZiJE\nCu0+Ty5ISO65DROm4rBDEMkkbEGni+EYC67LH2KW1YFvAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2021-07-27T05:19:29Z" level=debug msg="Making an authorization request () to server " +time="2021-07-27T05:19:29Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x8f0a4e0)}" +time="2021-07-27T05:19:29Z" level=error msg="Authorization request error: http: no Host in request URL" +time="2021-07-27T05:19:29Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" +time="2021-07-27T05:19:29Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" +time="2021-07-27T05:19:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:19:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2021-07-27T05:19:29Z" level=debug msg="Handle authorize wait state" +time="2021-07-27T05:19:29Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2021-07-27T05:19:29Z" level=debug msg="Wait 9m59.758673005s before next authorization attempt" +--- PASS: TestRunDaemon (2.40s) === RUN TestLoggingOptions not a valid logrus Level: "crap" @@ -15371,7 +15441,7 @@ --skipverify Skip certificate verification. --help, -h show help --version, -v print the version -time="2022-08-29T11:29:02Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" func="github.com/mendersoftware/mender/cli.(*runOptionsType).handleLogFlags" file="/build/mender-client-2.4.1/obj-i686-linux-gnu/src/github.com/mendersoftware/mender/cli/cli.go:583" +time="2021-07-27T05:19:30Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" func="github.com/mendersoftware/mender/cli.(*runOptionsType).handleLogFlags" file="/build/mender-client-2.4.1/obj-i686-linux-gnu/src/github.com/mendersoftware/mender/cli/cli.go:583" NAME: mender - manage and start the Mender client. @@ -15414,8 +15484,8 @@ --skipverify Skip certificate verification. --help, -h show help --version, -v print the version -time="2022-08-29T11:29:02Z" level=debug msg="Should show" func=github.com/mendersoftware/mender/cli.TestLoggingOptions file="/build/mender-client-2.4.1/obj-i686-linux-gnu/src/github.com/mendersoftware/mender/cli/cli_test.go:172" -time="2022-08-29T11:29:02Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" func="github.com/mendersoftware/mender/cli.(*runOptionsType).handleLogFlags" file="/build/mender-client-2.4.1/obj-i686-linux-gnu/src/github.com/mendersoftware/mender/cli/cli.go:583" +time="2021-07-27T05:19:30Z" level=debug msg="Should show" func=github.com/mendersoftware/mender/cli.TestLoggingOptions file="/build/mender-client-2.4.1/obj-i686-linux-gnu/src/github.com/mendersoftware/mender/cli/cli_test.go:172" +time="2021-07-27T05:19:30Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" func="github.com/mendersoftware/mender/cli.(*runOptionsType).handleLogFlags" file="/build/mender-client-2.4.1/obj-i686-linux-gnu/src/github.com/mendersoftware/mender/cli/cli.go:583" NAME: mender - manage and start the Mender client. @@ -15546,16 +15616,16 @@ === RUN TestVersion --- PASS: TestVersion (0.00s) === RUN TestMainBootstrap ---- PASS: TestMainBootstrap (2.32s) +--- PASS: TestMainBootstrap (11.02s) === RUN TestPrintArtifactName foobar db-name foobar ---- PASS: TestPrintArtifactName (0.01s) +--- PASS: TestPrintArtifactName (0.57s) === RUN TestGetMenderDaemonPID ---- PASS: TestGetMenderDaemonPID (0.00s) +--- PASS: TestGetMenderDaemonPID (0.03s) === RUN TestInvalidServerCertificateBoot ---- PASS: TestInvalidServerCertificateBoot (0.08s) +--- PASS: TestInvalidServerCertificateBoot (0.24s) === RUN TestIgnoreServerConfigVerification Mender Client Setup =================== @@ -15570,29 +15640,29 @@ Error Trace: cli_test.go:578 Error: "NAME:\n mender snapshot - Creates a snapshot of the currently running rootfs. The snapshots can be passed as a rootfs-image to the mender-artifact tool to create an update based on THIS device's rootfs. Refer to the list of COMMANDS to specify where to stream the image.\n NOTE: If the process gets killed (e.g. by SIGKILL) while a snapshot is in progress, the system may freeze - forcing you to manually hard-reboot the device. Use at your own risk - preferably on a device that is physically accessible.\n\nUSAGE:\n mender snapshot command [command options] [arguments...]\n\nCOMMANDS:\n dump Dumps rootfs to stdout.\n\nOPTIONS:\n --help, -h show help\n \n" does not contain "\nDESCRIPTION" Test: TestCliHelpText ---- FAIL: TestCliHelpText (0.00s) +--- FAIL: TestCliHelpText (0.01s) === RUN TestSetupInteractiveMode The device type property is used to determine which Mender Artifact are compatible with this device. -Enter a name for the device type (e.g. raspberrypi3): [ionos6-i386] +Enter a name for the device type (e.g. raspberrypi3): [ionos2-i386] Are you connecting this device to hosted.mender.io? [Y/n] Demo mode uses short poll intervals and assumes the default demo server setup. (Recommended for testing.) Do you want to run the client in demo mode? [Y/n] Set the IP of the Mender Server: [127.0.0.1] The device type property is used to determine which Mender Artifact are compatible with this device. -Enter a name for the device type (e.g. raspberrypi3): [ionos6-i386] +Enter a name for the device type (e.g. raspberrypi3): [ionos2-i386] Are you connecting this device to hosted.mender.io? [Y/n] Demo mode uses short poll intervals and assumes the default demo server setup. (Recommended for testing.) Do you want to run the client in demo mode? [Y/n] The device type property is used to determine which Mender Artifact are compatible with this device. -Enter a name for the device type (e.g. raspberrypi3): [ionos6-i386] +Enter a name for the device type (e.g. raspberrypi3): [ionos2-i386] Are you connecting this device to hosted.mender.io? [Y/n] Demo mode uses short poll intervals and assumes the default demo server setup. (Recommended for testing.) Do you want to run the client in demo mode? [Y/n] Set the update poll interval - the frequency with which the client will send an update check request to the server, in seconds: [1800]Set the inventory poll interval - the frequency with which the client will send inventory data to the server, in seconds: [28800] Set the retry poll interval - the frequency with which the client tries to communicate with the server (note: the client may attempt more often initially based on the previous intervals, but will fall back to this value if theserver is busy) [300] The device type property is used to determine which Mender Artifact are compatible with this device. -Enter a name for the device type (e.g. raspberrypi3): [ionos6-i386] +Enter a name for the device type (e.g. raspberrypi3): [ionos2-i386] Are you connecting this device to hosted.mender.io? [Y/n] Demo mode uses short poll intervals and assumes the default demo server setup. (Recommended for testing.) Do you want to run the client in demo mode? [Y/n] @@ -15603,85 +15673,89 @@ === RUN TestSetupFlags --- PASS: TestSetupFlags (0.00s) FAIL -FAIL github.com/mendersoftware/mender/cli 6.643s +FAIL github.com/mendersoftware/mender/cli 14.315s === RUN TestClientAuthMakeReq client_auth_test.go:75: data: foobar data --- PASS: TestClientAuthMakeReq (0.00s) === RUN TestClientAuth ---- PASS: TestClientAuth (3.89s) +--- PASS: TestClientAuth (5.62s) === RUN TestClientAuthExpiredCert -time="2022-08-29T11:29:01Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:43213/api/devices/v1/authentication/auth_requests\", Err:certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt}" -time="2022-08-29T11:29:01Z" level=error msg="Authorization request error: certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt" ---- PASS: TestClientAuthExpiredCert (0.57s) +time="2021-07-27T05:19:29Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:34887/api/devices/v1/authentication/auth_requests\", Err:certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt}" +time="2021-07-27T05:19:29Z" level=error msg="Authorization request error: certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt" +--- PASS: TestClientAuthExpiredCert (0.84s) === RUN TestClientAuthUnknownAuthorityCert -time="2022-08-29T11:29:01Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:44625/api/devices/v1/authentication/auth_requests\", Err:certificate signed by unknown authority, openssl verify rc: 20 server cert file: testdata/server.unknown-authority.crt}" -time="2022-08-29T11:29:01Z" level=error msg="Authorization request error: certificate signed by unknown authority, openssl verify rc: 20 server cert file: testdata/server.unknown-authority.crt" ---- PASS: TestClientAuthUnknownAuthorityCert (0.09s) +time="2021-07-27T05:19:29Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:43527/api/devices/v1/authentication/auth_requests\", Err:certificate signed by unknown authority, openssl verify rc: 20 server cert file: testdata/server.unknown-authority.crt}" +time="2021-07-27T05:19:29Z" level=error msg="Authorization request error: certificate signed by unknown authority, openssl verify rc: 20 server cert file: testdata/server.unknown-authority.crt" +--- PASS: TestClientAuthUnknownAuthorityCert (0.16s) === RUN TestClientAuthDepthZeroSelfSignedCert -time="2022-08-29T11:29:05Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:44559/api/devices/v1/authentication/auth_requests\", Err:depth zero self-signed certificate, openssl verify rc: 18 server cert file: testdata/server.zero.depth.self.signed.crt}" -time="2022-08-29T11:29:05Z" level=error msg="Authorization request error: depth zero self-signed certificate, openssl verify rc: 18 server cert file: testdata/server.zero.depth.self.signed.crt" ---- PASS: TestClientAuthDepthZeroSelfSignedCert (3.83s) +time="2021-07-27T05:19:34Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:38717/api/devices/v1/authentication/auth_requests\", Err:depth zero self-signed certificate, openssl verify rc: 18 server cert file: testdata/server.zero.depth.self.signed.crt}" +time="2021-07-27T05:19:34Z" level=error msg="Authorization request error: depth zero self-signed certificate, openssl verify rc: 18 server cert file: testdata/server.zero.depth.self.signed.crt" +2021/07/27 05:19:34 http: TLS handshake error from 127.0.0.1:43562: read tcp 127.0.0.1:38717->127.0.0.1:43562: use of closed network connection +--- PASS: TestClientAuthDepthZeroSelfSignedCert (5.42s) === RUN TestClientAuthEndEntityKeyTooSmall -time="2022-08-29T11:29:05Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:46795/api/devices/v1/authentication/auth_requests\", Err:end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt}" -time="2022-08-29T11:29:05Z" level=error msg="Authorization request error: end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt" ---- PASS: TestClientAuthEndEntityKeyTooSmall (0.08s) +time="2021-07-27T05:19:35Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:36069/api/devices/v1/authentication/auth_requests\", Err:end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt}" +time="2021-07-27T05:19:35Z" level=error msg="Authorization request error: end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt" +--- PASS: TestClientAuthEndEntityKeyTooSmall (0.21s) === RUN TestClientAuthNoCert -time="2022-08-29T11:29:05Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (testdata/server.non-existing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2022-08-29T11:29:05Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" ---- PASS: TestClientAuthNoCert (0.09s) +time="2021-07-27T05:19:35Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (testdata/server.non-existing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2021-07-27T05:19:35Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" +--- PASS: TestClientAuthNoCert (0.17s) === RUN TestClientAuthHostValidationNocheck ---- PASS: TestClientAuthHostValidationNocheck (3.82s) +--- PASS: TestClientAuthHostValidationNocheck (5.46s) === RUN TestClientAuthHostValidationError -time="2022-08-29T11:29:09Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:37483/api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x9112650)}" -time="2022-08-29T11:29:09Z" level=error msg="Authorization request error: Host validation error" ---- PASS: TestClientAuthHostValidationError (0.10s) +time="2021-07-27T05:19:40Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:34409/api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x9512650)}" +time="2021-07-27T05:19:40Z" level=error msg="Authorization request error: Host validation error" +--- PASS: TestClientAuthHostValidationError (0.21s) === RUN TestClientAuthNotValidCertificate -time="2022-08-29T11:29:09Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:40883/api/devices/v1/authentication/auth_requests\", Err:not a valid certificate, openssl verify rc: 67 server cert file: testdata/server.ca.key.too.small.crt}" -time="2022-08-29T11:29:09Z" level=error msg="Authorization request error: not a valid certificate, openssl verify rc: 67 server cert file: testdata/server.ca.key.too.small.crt" ---- PASS: TestClientAuthNotValidCertificate (0.12s) +time="2021-07-27T05:19:41Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:34181/api/devices/v1/authentication/auth_requests\", Err:not a valid certificate, openssl verify rc: 67 server cert file: testdata/server.ca.key.too.small.crt}" +time="2021-07-27T05:19:41Z" level=error msg="Authorization request error: not a valid certificate, openssl verify rc: 67 server cert file: testdata/server.ca.key.too.small.crt" +2021/07/27 05:19:41 http: TLS handshake error from 127.0.0.1:46560: read tcp 127.0.0.1:34181->127.0.0.1:46560: use of closed network connection +--- PASS: TestClientAuthNotValidCertificate (0.20s) === RUN TestInventoryClient -time="2022-08-29T11:29:09Z" level=error msg="Failed to submit inventory data: foo" -time="2022-08-29T11:29:13Z" level=error msg="Got unexpected HTTP status when submitting to inventory: 401" ---- PASS: TestInventoryClient (3.82s) +time="2021-07-27T05:19:41Z" level=error msg="Failed to submit inventory data: foo" +time="2021-07-27T05:19:46Z" level=error msg="Got unexpected HTTP status when submitting to inventory: 401" +--- PASS: TestInventoryClient (5.34s) === RUN TestLogUploadClient -time="2022-08-29T11:29:13Z" level=error msg="failed to upload logs: foo" -time="2022-08-29T11:29:17Z" level=error msg="Got unexpected HTTP status when uploading log: 401" ---- PASS: TestLogUploadClient (3.87s) +time="2021-07-27T05:19:46Z" level=error msg="failed to upload logs: foo" +time="2021-07-27T05:19:51Z" level=error msg="Got unexpected HTTP status when uploading log: 401" +--- PASS: TestLogUploadClient (5.44s) === RUN TestStatusClient -time="2022-08-29T11:29:17Z" level=error msg="Failed to report status: foo" -time="2022-08-29T11:29:21Z" level=error msg="Got unexpected HTTP status when reporting status: 401" -time="2022-08-29T11:29:21Z" level=warning msg="Status report rejected, deployment aborted at the backend" ---- PASS: TestStatusClient (3.75s) +time="2021-07-27T05:19:52Z" level=error msg="Failed to report status: foo" +time="2021-07-27T05:19:57Z" level=error msg="Got unexpected HTTP status when reporting status: 401" +time="2021-07-27T05:19:57Z" level=warning msg="Status report rejected, deployment aborted at the backend" +--- PASS: TestStatusClient (5.29s) === RUN TestHttpClient -time="2022-08-29T11:29:21Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (testdata/missing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2022-08-29T11:29:21Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" ---- PASS: TestHttpClient (0.18s) +time="2021-07-27T05:19:57Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (testdata/missing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2021-07-27T05:19:57Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" +--- PASS: TestHttpClient (0.29s) === RUN TestApiClientRequest -time="2022-08-29T11:29:25Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2022-08-29T11:29:25Z" level=warning msg="Reauthorization failed with error: " -time="2022-08-29T11:29:25Z" level=info msg="Device unauthorized; attempting reauthorization" ---- PASS: TestApiClientRequest (3.76s) +time="2021-07-27T05:20:02Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2021-07-27T05:20:02Z" level=warning msg="Reauthorization failed with error: " +time="2021-07-27T05:20:02Z" level=info msg="Device unauthorized; attempting reauthorization" +--- PASS: TestApiClientRequest (5.28s) === RUN TestClientConnectionTimeout -2022/08/29 11:29:28 http: TLS handshake error from 127.0.0.1:34730: write tcp 127.0.0.1:45781->127.0.0.1:34730: use of closed network connection ---- PASS: TestClientConnectionTimeout (3.78s) +2021/07/27 05:20:07 httptest.Server blocked in Close after 5 seconds, waiting for connections: + *tls.Conn 0x95b4000 127.0.0.1:51174 in state new +2021/07/27 05:20:08 http: TLS handshake error from 127.0.0.1:51174: write tcp 127.0.0.1:45619->127.0.0.1:51174: use of closed network connection +--- PASS: TestClientConnectionTimeout (5.29s) === RUN TestHttpClientUrl --- PASS: TestHttpClientUrl (0.00s) === RUN TestLoadingTrust === RUN TestLoadingTrust/Test_loading_server_trust -time="2022-08-29T11:29:29Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (missing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2021-07-27T05:20:08Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (missing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" === RUN TestLoadingTrust/Test_loading_client_trust ---- PASS: TestLoadingTrust (0.16s) - --- PASS: TestLoadingTrust/Test_loading_server_trust (0.16s) - --- PASS: TestLoadingTrust/Test_loading_client_trust (0.00s) +--- PASS: TestLoadingTrust (0.31s) + --- PASS: TestLoadingTrust/Test_loading_server_trust (0.30s) + --- PASS: TestLoadingTrust/Test_loading_client_trust (0.01s) === RUN TestExponentialBackoffTimeCalculation --- PASS: TestExponentialBackoffTimeCalculation (0.00s) === RUN TestUnMarshalErrorMessage --- PASS: TestUnMarshalErrorMessage (0.00s) === RUN TestFailoverAPICall -time="2022-08-29T11:29:29Z" level=warning msg="Server \"fakeURL.404\" failed to serve request \"\". Attempting \"https://127.0.0.1:40043\"" ---- PASS: TestFailoverAPICall (3.83s) +time="2021-07-27T05:20:08Z" level=warning msg="Server \"fakeURL.404\" failed to serve request \"\". Attempting \"https://127.0.0.1:36627\"" +--- PASS: TestFailoverAPICall (5.26s) === RUN TestListSystemCertsFound ---- PASS: TestListSystemCertsFound (0.00s) +--- PASS: TestListSystemCertsFound (0.02s) === RUN TestParseUpdateResponse === RUN TestParseUpdateResponse/0 === PAUSE TestParseUpdateResponse/0 @@ -15701,46 +15775,46 @@ === PAUSE TestParseUpdateResponse/7 === RUN TestParseUpdateResponse/8 === PAUSE TestParseUpdateResponse/8 -=== CONT TestParseUpdateResponse/8 === CONT TestParseUpdateResponse/0 -=== CONT TestParseUpdateResponse/7 -=== CONT TestParseUpdateResponse/6 === CONT TestParseUpdateResponse/5 +=== CONT TestParseUpdateResponse/7 === CONT TestParseUpdateResponse/4 +=== CONT TestParseUpdateResponse/1 === CONT TestParseUpdateResponse/3 +=== CONT TestParseUpdateResponse/6 === CONT TestParseUpdateResponse/2 -=== CONT TestParseUpdateResponse/1 +=== CONT TestParseUpdateResponse/8 --- PASS: TestParseUpdateResponse (0.00s) - --- PASS: TestParseUpdateResponse/8 (0.00s) --- PASS: TestParseUpdateResponse/0 (0.00s) - --- PASS: TestParseUpdateResponse/7 (0.00s) - --- PASS: TestParseUpdateResponse/6 (0.00s) --- PASS: TestParseUpdateResponse/5 (0.00s) + --- PASS: TestParseUpdateResponse/7 (0.00s) --- PASS: TestParseUpdateResponse/4 (0.00s) + --- PASS: TestParseUpdateResponse/1 (0.00s) --- PASS: TestParseUpdateResponse/3 (0.00s) + --- PASS: TestParseUpdateResponse/6 (0.00s) --- PASS: TestParseUpdateResponse/2 (0.00s) - --- PASS: TestParseUpdateResponse/1 (0.00s) + --- PASS: TestParseUpdateResponse/8 (0.00s) === RUN Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing -time="2022-08-29T11:29:33Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (test/server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2022-08-29T11:29:33Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" ---- PASS: Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing (3.85s) +time="2021-07-27T05:20:13Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (test/server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2021-07-27T05:20:13Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" +--- PASS: Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing (5.28s) === RUN Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing ---- PASS: Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing (3.96s) +--- PASS: Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing (5.34s) === RUN Test_GetScheduledUpdate_ParsingResponseOK_updateSuccess -time="2022-08-29T11:29:44Z" level=info msg="Correct request for getting image from: https://menderupdate.com [name: myapp-release-z-build-123; devices: [BBB]]" ---- PASS: Test_GetScheduledUpdate_ParsingResponseOK_updateSuccess (3.78s) +time="2021-07-27T05:20:29Z" level=info msg="Correct request for getting image from: https://menderupdate.com [name: myapp-release-z-build-123; devices: [BBB]]" +--- PASS: Test_GetScheduledUpdate_ParsingResponseOK_updateSuccess (5.33s) === RUN Test_FetchUpdate_noContent_UpdateFailing -time="2022-08-29T11:29:44Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2022-08-29T11:29:44Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" -time="2022-08-29T11:29:48Z" level=error msg="Can not fetch update image: Get \"https://127.0.0.1:40617\": depth zero self-signed certificate, openssl verify rc: 18 server cert file: server.crt" ---- PASS: Test_FetchUpdate_noContent_UpdateFailing (3.85s) +time="2021-07-27T05:20:29Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2021-07-27T05:20:29Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" +time="2021-07-27T05:20:35Z" level=error msg="Can not fetch update image: Get \"https://127.0.0.1:35127\": depth zero self-signed certificate, openssl verify rc: 18 server cert file: server.crt" +--- PASS: Test_FetchUpdate_noContent_UpdateFailing (5.38s) === RUN Test_FetchUpdate_invalidRequest_UpdateFailing -time="2022-08-29T11:29:48Z" level=error msg="Can not fetch update image: Get \"broken-request\": unsupported protocol scheme \"\"" ---- PASS: Test_FetchUpdate_invalidRequest_UpdateFailing (0.08s) +time="2021-07-27T05:20:35Z" level=error msg="Can not fetch update image: Get \"broken-request\": unsupported protocol scheme \"\"" +--- PASS: Test_FetchUpdate_invalidRequest_UpdateFailing (0.17s) === RUN Test_FetchUpdate_correctContent_UpdateFetched ---- PASS: Test_FetchUpdate_correctContent_UpdateFetched (3.77s) +--- PASS: Test_FetchUpdate_correctContent_UpdateFetched (5.32s) === RUN Test_UpdateApiClientError -time="2022-08-29T11:29:52Z" level=error msg="Can not fetch update image: foo" +time="2021-07-27T05:20:40Z" level=error msg="Can not fetch update image: foo" --- PASS: Test_UpdateApiClientError (0.00s) === RUN TestMakeUpdateCheckRequest client_update_test.go:357: http://foo.bar/api/devices/v1/deployments/device/deployments/next @@ -15748,7 +15822,7 @@ client_update_test.go:386: http://foo.bar/api/devices/v1/deployments/device/deployments/next?artifact_name=foo&device_type=hammer --- PASS: TestMakeUpdateCheckRequest (0.00s) === RUN TestGetUpdateInfo ---- PASS: TestGetUpdateInfo (11.44s) +--- PASS: TestGetUpdateInfo (16.20s) === RUN TestBrokenReadAndPartialDownload === RUN TestBrokenReadAndPartialDownload/group === RUN TestBrokenReadAndPartialDownload/group/success @@ -15784,503 +15858,503 @@ === RUN TestBrokenReadAndPartialDownload/group/serverDown === PAUSE TestBrokenReadAndPartialDownload/group/serverDown === CONT TestBrokenReadAndPartialDownload/group/success -=== CONT TestBrokenReadAndPartialDownload/group/serverDown -=== CONT TestBrokenReadAndPartialDownload/group/serverDownAndUp +=== CONT TestBrokenReadAndPartialDownload/group/missingBytesContentRange === CONT TestBrokenReadAndPartialDownload/group/breakAfterShortRange -=== CONT TestBrokenReadAndPartialDownload/group/garbledContentStart -=== CONT TestBrokenReadAndPartialDownload/group/tooManyContentRanges +=== CONT TestBrokenReadAndPartialDownload/group/noPartialContentSupport +=== CONT TestBrokenReadAndPartialDownload/group/missingContentLength === CONT TestBrokenReadAndPartialDownload/group/missingContentRange -=== CONT TestBrokenReadAndPartialDownload/group/missingBytesContentRange +=== CONT TestBrokenReadAndPartialDownload/group/tooManyContentRanges +=== CONT TestBrokenReadAndPartialDownload/group/lateRangeStart === CONT TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange +=== CONT TestBrokenReadAndPartialDownload/group/serverDown +time="2021-07-27T05:20:56Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:56Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:56Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:56Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:56Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:56Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:56Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:56Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:56Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:56Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:56Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:56Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:56Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:56Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:56Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:56Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:56Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:56Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:57Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:57Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:57Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:57Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:57Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:57Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:57Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:57Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:57Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:57Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:57Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:57Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:57Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:57Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:57Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:57Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:57Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:57Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:57Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:57Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:57Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:57Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:57Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:57Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:57Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:57Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:57Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:57Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:57Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:58Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:58Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:58Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:58Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:58Z" level=info msg="Attempting to resume artifact download from offset 3406" +time="2021-07-27T05:20:58Z" level=info msg="Attempting to resume artifact download from offset 3406" +time="2021-07-27T05:20:58Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:58Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:58Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:58Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:58Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:58Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:58Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:58Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:58Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:58Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:58Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:58Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:58Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:58Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:58Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:58Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:58Z" level=info msg="Attempting to resume artifact download from offset 3406" +time="2021-07-27T05:20:58Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:58Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:58Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:58Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:58Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:58Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:58Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:59Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:59Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:59Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:20:59Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2021-07-27T05:20:59Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:59Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:59Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:59Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:20:59Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:59Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:20:59Z" level=info msg="Attempting to resume artifact download from offset 3401" +time="2021-07-27T05:20:59Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:59Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2021-07-27T05:20:59Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:59Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:20:59Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:59Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:20:59Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:59Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:59Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:20:59Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2021-07-27T05:20:59Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:59Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:59Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:20:59Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:20:59Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:20:59Z" 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" +time="2021-07-27T05:20:59Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:59Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:20:59Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:20:59Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:00Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:00Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:00Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:01Z" level=info msg="Attempting to resume artifact download from offset 6812" +time="2021-07-27T05:21:01Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:01Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:01Z" level=info msg="Attempting to resume artifact download from offset 5099" +time="2021-07-27T05:21:01Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:01Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:01Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:01Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:01Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:01Z" level=info msg="Attempting to resume artifact download from offset 6812" +time="2021-07-27T05:21:01Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:01Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:01Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:01Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:01Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:01Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2021-07-27T05:21:01Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:01Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:01Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:01Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:01Z" 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" +time="2021-07-27T05:21:01Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:01Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:01Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:01Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:01Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:01Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:01Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:02Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:02Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:02Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:03Z" level=info msg="Attempting to resume artifact download from offset 8515" +time="2021-07-27T05:21:03Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:03Z" level=info msg="Attempting to resume artifact download from offset 6797" +time="2021-07-27T05:21:03Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:03Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:03Z" level=info msg="Attempting to resume artifact download from offset 8515" +time="2021-07-27T05:21:03Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:03Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:03Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:03Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:03Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:03Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:03Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:03Z" level=info msg="Resuming download in 2s" +=== CONT TestBrokenReadAndPartialDownload/group/earlyRangeStart +time="2021-07-27T05:21:03Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:03Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:03Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:03Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:03Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2021-07-27T05:21:03Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:03Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:03Z" 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" +=== CONT TestBrokenReadAndPartialDownload/group/garbledContentStart +time="2021-07-27T05:21:03Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:03Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:04Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:04Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:04Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:04Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:04Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:21:04Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:04Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:21:05Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:05Z" level=info msg="Attempting to resume artifact download from offset 8495" +time="2021-07-27T05:21:05Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:05Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:05Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:05Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:05Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:05Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2021-07-27T05:21:05Z" level=info msg="Attempting to resume artifact download from offset 1703" === CONT TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange +time="2021-07-27T05:21:05Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:05Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:05Z" 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" +time="2021-07-27T05:21:05Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:05Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:05Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:05Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:05Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:05Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:05Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:05Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:05Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:05Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:05Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:05Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:21:05Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:05Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:21:06Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:06Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:06Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:06Z" level=info msg="Attempting to resume artifact download from offset 3401" +time="2021-07-27T05:21:06Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:06Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:06Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:21:06Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:06Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:21:06Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:06Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:21:07Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:07Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:07Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:07Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:21:07Z" level=info msg="Attempting to resume artifact download from offset 5099" +time="2021-07-27T05:21:07Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:07Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:07Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:07Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:08Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:08Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:08Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2021-07-27T05:21:08Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:08Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" +time="2021-07-27T05:21:08Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:08Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:08Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:08Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:08Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:08Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:08Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:08Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:08Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:08Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:08Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:08Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:08Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:08Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:08Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:21:08Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:08Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:09Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:09Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:09Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:09Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:09Z" level=info msg="Attempting to resume artifact download from offset 6797" +time="2021-07-27T05:21:09Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:09Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:09Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:09Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:09Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:09Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:09Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:11Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2021-07-27T05:21:11Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:11Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:11Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:11Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:11Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:11Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" +time="2021-07-27T05:21:11Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:11Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:11Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:11Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:11Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:11Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:11Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:11Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:11Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:11Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:11Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:11Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:11Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:11Z" level=info msg="Attempting to resume artifact download from offset 8495" +time="2021-07-27T05:21:11Z" level=info msg="Attempting to resume artifact download from offset 1703" === CONT TestBrokenReadAndPartialDownload/group/emptyContentRange -=== CONT TestBrokenReadAndPartialDownload/group/noPartialContentSupport -=== CONT TestBrokenReadAndPartialDownload/group/missingContentLength +time="2021-07-27T05:21:11Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:11Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:11Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:11Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:12Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:12Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:12Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:12Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:12Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:21:13Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:13Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:13Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:13Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:13Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:13Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:13Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:13Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:13Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:21:14Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2021-07-27T05:21:14Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" +time="2021-07-27T05:21:14Z" level=error msg="Download connection broken: unexpected EOF" +=== CONT TestBrokenReadAndPartialDownload/group/serverDownAndUp +time="2021-07-27T05:21:14Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:14Z" level=error msg="Download connection broken: unexpected EOF" === CONT TestBrokenReadAndPartialDownload/group/brokenContentLength -=== CONT TestBrokenReadAndPartialDownload/group/lateRangeStart -=== CONT TestBrokenReadAndPartialDownload/group/earlyRangeStart -time="2022-08-29T11:30:04Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:04Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:04Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:04Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:04Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:04Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:04Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:04Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:04Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:04Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:04Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:04Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:04Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:04Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:04Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:04Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:04Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:04Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:04Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:04Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:04Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:04Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:04Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:04Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:04Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:04Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:04Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:04Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:04Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:04Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:04Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:04Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:05Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:05Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:05Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:05Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:05Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:05Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:05Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:05Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:05Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:05Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:05Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:05Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:05Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:05Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:05Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:05Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:05Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:05Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:05Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:05Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:05Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:05Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:05Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:05Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:05Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:05Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:05Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:05Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:05Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:05Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:05Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:05Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:05Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:05Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:05Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:05Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:05Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:05Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:05Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:05Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:05Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:05Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:05Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:05Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:05Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:05Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:05Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:05Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:06Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:06Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:06Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:06Z" level=info msg="Attempting to resume artifact download from offset 3401" -time="2022-08-29T11:30:06Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:06Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:06Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:06Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:06Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:06Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:06Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:06Z" level=info msg="Attempting to resume artifact download from offset 3406" -time="2022-08-29T11:30:06Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:06Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:06Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:06Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:06Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:06Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:06Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:06Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:06Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:06Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:06Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:06Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:06Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:06Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:06Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:06Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:06Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:06Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:06Z" level=info msg="Attempting to resume artifact download from offset 3406" -time="2022-08-29T11:30:06Z" level=info msg="Attempting to resume artifact download from offset 3406" -time="2022-08-29T11:30:06Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:06Z" level=info msg="Attempting to resume artifact download from offset 3406" -time="2022-08-29T11:30:06Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:06Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:06Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:06Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:06Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:06Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:06Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:06Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:06Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:06Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:06Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:06Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:06Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:06Z" level=info msg="Resuming download in 1s" -time="2022-08-29T11:30:07Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:07Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:07Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:07Z" level=info msg="Attempting to resume artifact download from offset 5099" -time="2022-08-29T11:30:07Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:07Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:07Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:07Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:07Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:07Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:07Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:07Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:07Z" level=info msg="Attempting to resume artifact download from offset 3401" -time="2022-08-29T11:30:07Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2022-08-29T11:30:07Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:07Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:07Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:07Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:07Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:07Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:07Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:07Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:07Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:07Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:07Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:07Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:07Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:07Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:07Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:07Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:07Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2022-08-29T11:30:07Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2022-08-29T11:30:07Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:07Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2022-08-29T11:30:07Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:07Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:07Z" 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" -time="2022-08-29T11:30:07Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:07Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:07Z" 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" -time="2022-08-29T11:30:07Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:07Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:07Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:07Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:07Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:07Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:07Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:07Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:07Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:07Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:09Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:09Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:09Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:09Z" level=info msg="Attempting to resume artifact download from offset 6797" -time="2022-08-29T11:30:09Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:09Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:09Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:09Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:09Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:09Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:09Z" level=info msg="Attempting to resume artifact download from offset 5099" -time="2022-08-29T11:30:09Z" level=info msg="Attempting to resume artifact download from offset 6812" -time="2022-08-29T11:30:09Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:09Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:09Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:09Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:09Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:09Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:09Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:09Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:09Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:09Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:09Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:09Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:09Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:09Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:09Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:09Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:09Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:09Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:09Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2022-08-29T11:30:09Z" 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" -time="2022-08-29T11:30:09Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:09Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:09Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2022-08-29T11:30:09Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:09Z" level=info msg="Attempting to resume artifact download from offset 6812" -time="2022-08-29T11:30:09Z" 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" -time="2022-08-29T11:30:09Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:09Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:09Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:09Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:09Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:09Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:09Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:09Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:09Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:09Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:09Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:09Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:11Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:11Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:11Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:11Z" level=info msg="Attempting to resume artifact download from offset 8495" -time="2022-08-29T11:30:11Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:11Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:11Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:11Z" level=info msg="Attempting to resume artifact download from offset 8515" -time="2022-08-29T11:30:11Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:11Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:11Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:11Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:11Z" level=info msg="Attempting to resume artifact download from offset 6797" -time="2022-08-29T11:30:11Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:11Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:11Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:11Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:11Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:11Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:11Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:11Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:11Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:11Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:11Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:11Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:11Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:11Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2022-08-29T11:30:11Z" level=info msg="Download resume request failed: Get \"http://localhost:9767/update_resumer_test.go\": dial tcp 127.0.0.1:9767: connect: connection refused" -time="2022-08-29T11:30:11Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:11Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:11Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2022-08-29T11:30:11Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" -time="2022-08-29T11:30:11Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:11Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:11Z" level=info msg="Attempting to resume artifact download from offset 8515" -time="2022-08-29T11:30:11Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:11Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:11Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:11Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:11Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:11Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:11Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:11Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:11Z" level=info msg="Resuming download in 2s" -time="2022-08-29T11:30:13Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:13Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:13Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:13Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:13Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:13Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:13Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:13Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:13Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:13Z" level=info msg="Attempting to resume artifact download from offset 8495" -time="2022-08-29T11:30:13Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:13Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:13Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:13Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:13Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:13Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:13Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:13Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:13Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:13Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:13Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:13Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:13Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2022-08-29T11:30:13Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2022-08-29T11:30:13Z" 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" -time="2022-08-29T11:30:13Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:13Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:13Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:13Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:13Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:13Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:13Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:13Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:13Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:13Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:13Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:13Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:13Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:16Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:16Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:16Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:16Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:16Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:16Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:16Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:16Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:16Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:16Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:16Z" level=info msg="Attempting to resume artifact download from offset 6812" -time="2022-08-29T11:30:16Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:16Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2022-08-29T11:30:16Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30: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" -time="2022-08-29T11:30:16Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:16Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:16Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:16Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:16Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:16Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:16Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:16Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:16Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:16Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:16Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:16Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:16Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:16Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:16Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:16Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:16Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:16Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:16Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:16Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:16Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:16Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:19Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:19Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:19Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:19Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2022-08-29T11:30:19Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:19Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:19Z" level=info msg="Attempting to resume artifact download from offset 8515" -time="2022-08-29T11:30:19Z" 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" -time="2022-08-29T11:30:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:19Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:19Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:19Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:19Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:19Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:19Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:19Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:19Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:19Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:19Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:19Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:19Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:19Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:19Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:19Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:19Z" level=info msg="Resuming download in 3s" -time="2022-08-29T11:30:22Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:22Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:22Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2022-08-29T11:30: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" -time="2022-08-29T11:30:22Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:22Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:22Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:22Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:22Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:22Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:22Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:22Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:22Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:22Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:22Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:22Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:22Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2022-08-29T11:30:22Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:22Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:22Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:22Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:22Z" level=error msg="Download connection broken: unexpected EOF" -time="2022-08-29T11:30:22Z" level=error msg="Download connection broken: unexpected EOF" ---- PASS: TestBrokenReadAndPartialDownload (19.08s) +time="2021-07-27T05:21:14Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:14Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:14Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:14Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:14Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:14Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:14Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:14Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:14Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:14Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:14Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:21:15Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:15Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:15Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:15Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:21:15Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:15Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:21:15Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:15Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:15Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:15Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:15Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:15Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:16Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:16Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:16Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:16Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:21:16Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:16Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:21:16Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:16Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:16Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:17Z" level=info msg="Attempting to resume artifact download from offset 3406" +time="2021-07-27T05:21:17Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:17Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:17Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:21:17Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:17Z" level=info msg="Resuming download in 1s" +time="2021-07-27T05:21:17Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:17Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:17Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:18Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2021-07-27T05:21:18Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:18Z" 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" +time="2021-07-27T05:21:18Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:18Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:18Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:18Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:18Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:18Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:18Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:19Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:19Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:19Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:19Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:19Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:19Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:20Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2021-07-27T05:21:20Z" 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" +time="2021-07-27T05:21:20Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:20Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:20Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:20Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:20Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:21Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:21Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:21Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:21Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:21Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:21Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:22Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2021-07-27T05:21:22Z" 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" +time="2021-07-27T05:21:22Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:22Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:22Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:22Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:22Z" level=info msg="Resuming download in 2s" +time="2021-07-27T05:21:22Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:22Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:24Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2021-07-27T05:21:24Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:24Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:24Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:24Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:24Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:24Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:24Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:24Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:24Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:24Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:27Z" level=info msg="Attempting to resume artifact download from offset 6812" +time="2021-07-27T05:21:27Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:27Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:27Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:27Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:27Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:27Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:27Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:27Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:30Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:30Z" level=info msg="Attempting to resume artifact download from offset 8515" +time="2021-07-27T05:21:30Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:30Z" level=info msg="Resuming download in 3s" +time="2021-07-27T05:21:30Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:30Z" level=error msg="Download connection broken: unexpected EOF" +time="2021-07-27T05:21:33Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2021-07-27T05:21:33Z" level=error msg="Download connection broken: unexpected EOF" +--- PASS: TestBrokenReadAndPartialDownload (37.11s) --- PASS: TestBrokenReadAndPartialDownload/group (0.00s) - --- PASS: TestBrokenReadAndPartialDownload/group/earlyRangeStart (8.03s) - --- PASS: TestBrokenReadAndPartialDownload/group/success (8.03s) - --- PASS: TestBrokenReadAndPartialDownload/group/missingContentLength (8.04s) - --- PASS: TestBrokenReadAndPartialDownload/group/breakAfterShortRange (10.04s) - --- PASS: TestBrokenReadAndPartialDownload/group/serverDownAndUp (16.04s) - --- PASS: TestBrokenReadAndPartialDownload/group/brokenContentLength (19.01s) - --- PASS: TestBrokenReadAndPartialDownload/group/serverDown (19.04s) - --- PASS: TestBrokenReadAndPartialDownload/group/lateRangeStart (19.04s) - --- PASS: TestBrokenReadAndPartialDownload/group/garbledContentStart (19.04s) - --- PASS: TestBrokenReadAndPartialDownload/group/missingContentRange (19.04s) - --- PASS: TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange (19.08s) - --- PASS: TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange (19.08s) - --- PASS: TestBrokenReadAndPartialDownload/group/tooManyContentRanges (19.08s) - --- PASS: TestBrokenReadAndPartialDownload/group/missingBytesContentRange (19.08s) - --- PASS: TestBrokenReadAndPartialDownload/group/emptyContentRange (19.08s) - --- PASS: TestBrokenReadAndPartialDownload/group/noPartialContentSupport (19.08s) + --- PASS: TestBrokenReadAndPartialDownload/group/success (7.07s) + --- PASS: TestBrokenReadAndPartialDownload/group/missingContentLength (7.07s) + --- PASS: TestBrokenReadAndPartialDownload/group/breakAfterShortRange (9.08s) + --- PASS: TestBrokenReadAndPartialDownload/group/earlyRangeStart (8.01s) + --- PASS: TestBrokenReadAndPartialDownload/group/serverDown (18.08s) + --- PASS: TestBrokenReadAndPartialDownload/group/missingContentRange (18.09s) + --- PASS: TestBrokenReadAndPartialDownload/group/lateRangeStart (18.08s) + --- PASS: TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange (18.08s) + --- PASS: TestBrokenReadAndPartialDownload/group/tooManyContentRanges (18.09s) + --- PASS: TestBrokenReadAndPartialDownload/group/missingBytesContentRange (18.09s) + --- PASS: TestBrokenReadAndPartialDownload/group/noPartialContentSupport (19.07s) + --- PASS: TestBrokenReadAndPartialDownload/group/garbledContentStart (19.03s) + --- PASS: TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange (19.03s) + --- PASS: TestBrokenReadAndPartialDownload/group/serverDownAndUp (16.02s) + --- PASS: TestBrokenReadAndPartialDownload/group/emptyContentRange (19.02s) + --- PASS: TestBrokenReadAndPartialDownload/group/brokenContentLength (19.02s) PASS -ok github.com/mendersoftware/mender/client 85.565s +ok github.com/mendersoftware/mender/client 130.995s ? github.com/mendersoftware/mender/client/test [no test files] === RUN Test_readConfigFile_noFile_returnsError --- PASS: Test_readConfigFile_noFile_returnsError (0.00s) === RUN Test_readConfigFile_brokenContent_returnsError -time="2022-08-29T11:28:57Z" level=error msg="Error loading configuration from file: mender.config (Error parsing mender configuration file: invalid character '\\n' in string literal)" +time="2021-07-27T05:19:26Z" level=error msg="Error loading configuration from file: mender.config (Error parsing mender configuration file: invalid character '\\n' in string literal)" --- PASS: Test_readConfigFile_brokenContent_returnsError (0.00s) === RUN Test_LoadConfig_correctConfFile_returnsConfiguration -time="2022-08-29T11:28:57Z" level=info msg="Loaded configuration file: mender.config" -time="2022-08-29T11:28:57Z" level=info msg="Loaded configuration file: mender.config" +time="2021-07-27T05:19:26Z" level=info msg="Loaded configuration file: mender.config" +time="2021-07-27T05:19:26Z" level=info msg="Loaded configuration file: mender.config" --- PASS: Test_LoadConfig_correctConfFile_returnsConfiguration (0.00s) === RUN TestServerURLConfig -time="2022-08-29T11:28:57Z" level=info msg="Loaded configuration file: mender.config" -time="2022-08-29T11:28:57Z" level=info msg="Loaded configuration file: mender.config" -time="2022-08-29T11:28:57Z" 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 overwritesthese fields." +time="2021-07-27T05:19:26Z" level=info msg="Loaded configuration file: mender.config" +time="2021-07-27T05:19:26Z" level=info msg="Loaded configuration file: mender.config" +time="2021-07-27T05:19:26Z" 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 overwritesthese fields." --- PASS: TestServerURLConfig (0.00s) === RUN TestMultipleServersConfig -time="2022-08-29T11:28:57Z" level=info msg="Loaded configuration file: /tmp/mendertest774074376/mender.conf" +time="2021-07-27T05:19:26Z" level=info msg="Loaded configuration file: /tmp/mendertest352624249/mender.conf" --- PASS: TestMultipleServersConfig (0.00s) === RUN TestConfigurationMergeSettings -time="2022-08-29T11:28:57Z" level=info msg="Loaded configuration file: fallback.config" -time="2022-08-29T11:28:57Z" level=info msg="Loaded configuration file: main.config" +time="2021-07-27T05:19:26Z" level=info msg="Loaded configuration file: fallback.config" +time="2021-07-27T05:19:26Z" level=info msg="Loaded configuration file: main.config" --- PASS: TestConfigurationMergeSettings (0.00s) === RUN TestConfigurationNeitherFileExistsIsNotError -time="2022-08-29T11:28:57Z" level=info msg="No configuration files present. Using defaults" +time="2021-07-27T05:19:26Z" level=info msg="No configuration files present. Using defaults" --- PASS: TestConfigurationNeitherFileExistsIsNotError (0.00s) === RUN TestVersionUnknown --- PASS: TestVersionUnknown (0.00s) === RUN TestVersionVersion --- PASS: TestVersionVersion (0.00s) PASS -ok github.com/mendersoftware/mender/conf 0.008s +ok github.com/mendersoftware/mender/conf 0.028s === RUN TestMenderState --- PASS: TestMenderState (0.00s) PASS -ok github.com/mendersoftware/mender/datastore 0.012s +ok github.com/mendersoftware/mender/datastore 0.076s === RUN TestDeviceIdentityGet identity_data_test.go:93: test case: 0 identity_data_test.go:93: test case: 1 identity_data_test.go:93: test case: 2 identity_data_test.go:93: test case: 3 identity_data_test.go:93: test case: 4 ---- PASS: TestDeviceIdentityGet (0.01s) +--- PASS: TestDeviceIdentityGet (0.05s) PASS -ok github.com/mendersoftware/mender/device 0.021s +ok github.com/mendersoftware/mender/device 0.079s === RUN TestBlockDeviceFail --- PASS: TestBlockDeviceFail (0.00s) === RUN TestBlockDeviceWrite -time="2022-08-29T11:28:57Z" level=info msg="Opening device \"/tmp/mender-block-device-194628063/foo\" for writing" - block_device_test.go:46: block device size called: &{0x886a380} - block_device_test.go:56: block device sector-size called: &{0x886a3c0} -time="2022-08-29T11:28:57Z" level=info msg="Native sector size of block device /tmp/mender-block-device-194628063/foo is 5 bytes. Mender will write in chunks of 1310720 bytes" -time="2022-08-29T11:28:57Z" level=error msg="Failed to write 4 bytes to the new partition" -time="2022-08-29T11:28:57Z" level=info msg="The optimized block-device writer wrote a total of 1 frames, where 1 frames did need to be rewritten (i.e., skipped)" ---- PASS: TestBlockDeviceWrite (0.01s) +time="2021-07-27T05:19:27Z" level=info msg="Opening device \"/tmp/mender-block-device-293869495/foo\" for writing" + block_device_test.go:46: block device size called: &{0xa70c1c0} + block_device_test.go:56: block device sector-size called: &{0xa70c200} +time="2021-07-27T05:19:27Z" level=info msg="Native sector size of block device /tmp/mender-block-device-293869495/foo is 5 bytes. Mender will write in chunks of 1310720 bytes" +time="2021-07-27T05:19:27Z" level=error msg="Failed to write 4 bytes to the new partition" +time="2021-07-27T05:19:27Z" level=info msg="The optimized block-device writer wrote a total of 1 frames, where 1 frames did need to be rewritten (i.e., skipped)" +--- PASS: TestBlockDeviceWrite (0.02s) === RUN TestBlockDeviceSize - block_device_test.go:46: block device size called: &{0x886a600} - block_device_test.go:46: block device size called: &{0x886a640} + block_device_test.go:46: block device size called: &{0xa70c440} + block_device_test.go:46: block device size called: &{0xa70c480} --- PASS: TestBlockDeviceSize (0.00s) === RUN TestBlockFrameWriter --- PASS: TestBlockFrameWriter (0.00s) @@ -16289,117 +16363,117 @@ === RUN TestFlushingWriter --- PASS: TestFlushingWriter (0.00s) === RUN Test_EnvWrite_OSResponseOK_WritesOK -time="2022-08-29T11:28:57Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2022-08-29T11:28:57Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2022-08-29T11:28:57Z" level=info msg="Writing map[bootcnt:3] to the U-Boot environment, using separator: =" ---- PASS: Test_EnvWrite_OSResponseOK_WritesOK (0.01s) +time="2021-07-27T05:19:27Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2021-07-27T05:19:27Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2021-07-27T05:19:27Z" level=info msg="Writing map[bootcnt:3] to the U-Boot environment, using separator: =" +--- PASS: Test_EnvWrite_OSResponseOK_WritesOK (0.05s) === RUN Test_EnvWrite_OSResponseError_Fails -time="2022-08-29T11:28:57Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2022-08-29T11:28:57Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2022-08-29T11:28:57Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exit status 1" -time="2022-08-29T11:28:57Z" level=error msg="U-Boot variable malformed or error occurred" -time="2022-08-29T11:28:57Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2022-08-29T11:28:57Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2022-08-29T11:28:57Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exit status 1" ---- PASS: Test_EnvWrite_OSResponseError_Fails (0.01s) +time="2021-07-27T05:19:27Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2021-07-27T05:19:27Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2021-07-27T05:19:27Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exit status 1" +time="2021-07-27T05:19:27Z" level=error msg="U-Boot variable malformed or error occurred" +time="2021-07-27T05:19:27Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2021-07-27T05:19:27Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2021-07-27T05:19:27Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exit status 1" +--- PASS: Test_EnvWrite_OSResponseError_Fails (0.04s) === RUN Test_EnvRead_HaveVariable_ReadsVariable ---- PASS: Test_EnvRead_HaveVariable_ReadsVariable (0.01s) +--- PASS: Test_EnvRead_HaveVariable_ReadsVariable (0.06s) === RUN Test_EnvRead_HaveEnvWarning_FailsReading -time="2022-08-29T11:28:57Z" level=error msg="U-Boot variable malformed or error occurred" -time="2022-08-29T11:28:57Z" level=error msg="U-Boot variable malformed or error occurred" ---- PASS: Test_EnvRead_HaveEnvWarning_FailsReading (0.00s) +time="2021-07-27T05:19:27Z" level=error msg="U-Boot variable malformed or error occurred" +time="2021-07-27T05:19:27Z" level=error msg="U-Boot variable malformed or error occurred" +--- PASS: Test_EnvRead_HaveEnvWarning_FailsReading (0.01s) === RUN Test_EnvRead_NonExisting_FailsReading -time="2022-08-29T11:28:57Z" level=error msg="U-Boot variable malformed or error occurred" -time="2022-08-29T11:28:57Z" level=error msg="U-Boot variable malformed or error occurred" ---- PASS: Test_EnvRead_NonExisting_FailsReading (0.00s) +time="2021-07-27T05:19:27Z" level=error msg="U-Boot variable malformed or error occurred" +time="2021-07-27T05:19:27Z" level=error msg="U-Boot variable malformed or error occurred" +--- PASS: Test_EnvRead_NonExisting_FailsReading (0.01s) === RUN Test_EnvCanary ---- PASS: Test_EnvCanary (0.03s) +--- PASS: Test_EnvCanary (0.10s) === RUN Test_PermissionDenied -time="2022-08-29T11:28:57Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2022-08-29T11:28:57Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2022-08-29T11:28:57Z" level=error msg="Could not execute fw_setenv: exec: \"fw_setenv\": executable file not found in $PATH" -time="2022-08-29T11:28:57Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exec: \"fw_setenv\": executable file not found in $PATH" +time="2021-07-27T05:19:27Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2021-07-27T05:19:27Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2021-07-27T05:19:27Z" level=error msg="Could not execute fw_setenv: exec: \"fw_setenv\": executable file not found in $PATH" +time="2021-07-27T05:19:27Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exec: \"fw_setenv\": executable file not found in $PATH" --- PASS: Test_PermissionDenied (0.00s) === RUN Test_ProbeSeparator -time="2022-08-29T11:28:57Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2022-08-29T11:28:57Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2022-08-29T11:28:57Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2022-08-29T11:28:57Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2022-08-29T11:28:57Z" level=info msg="Writing map[mender_uboot_separator:] to the U-Boot environment, using separator: " ---- PASS: Test_ProbeSeparator (0.01s) +time="2021-07-27T05:19:27Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2021-07-27T05:19:27Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2021-07-27T05:19:27Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2021-07-27T05:19:27Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2021-07-27T05:19:27Z" level=info msg="Writing map[mender_uboot_separator:] to the U-Boot environment, using separator: " +--- PASS: Test_ProbeSeparator (0.05s) === RUN Test_commitUpdate -time="2022-08-29T11:28:57Z" level=info msg="Committing update" +time="2021-07-27T05:19:27Z" level=info msg="Committing update" --- PASS: Test_commitUpdate (0.00s) === RUN Test_enableUpdatedPartition_wrongPartitinNumber_fails --- PASS: Test_enableUpdatedPartition_wrongPartitinNumber_fails (0.00s) === RUN Test_enableUpdatedPartition_correctPartitinNumber -time="2022-08-29T11:28:57Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" -time="2022-08-29T11:28:57Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2022-08-29T11:28:57Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2022-08-29T11:28:57Z" level=info msg="Writing map[bootcount:0 mender_boot_part:2 mender_boot_part_hex:2 upgrade_available:1] to the U-Boot environment, using separator: =" -time="2022-08-29T11:28:57Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" -time="2022-08-29T11:28:57Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2022-08-29T11:28:57Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2022-08-29T11:28:57Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exit status 1" ---- PASS: Test_enableUpdatedPartition_correctPartitinNumber (0.01s) +time="2021-07-27T05:19:27Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" +time="2021-07-27T05:19:27Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2021-07-27T05:19:27Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2021-07-27T05:19:27Z" level=info msg="Writing map[bootcount:0 mender_boot_part:2 mender_boot_part_hex:2 upgrade_available:1] to the U-Boot environment, using separator: =" +time="2021-07-27T05:19:27Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" +time="2021-07-27T05:19:27Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2021-07-27T05:19:27Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2021-07-27T05:19:27Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exit status 1" +--- PASS: Test_enableUpdatedPartition_correctPartitinNumber (0.07s) === RUN Test_installUpdate_existingAndNonInactivePartition -time="2022-08-29T11:28:57Z" level=info msg="Opening device \"/non/existing\" for writing" -time="2022-08-29T11:28:57Z" level=error msg="Failed to read size of block device /non/existing: open /non/existing: no such file or directory" -time="2022-08-29T11:28:57Z" level=info msg="Opening device \"inactivePart\" for writing" -time="2022-08-29T11:28:57Z" level=info msg="Native sector size of block device inactivePart is 12 bytes. Mender will write in chunks of 1572864 bytes" -time="2022-08-29T11:28:57Z" level=info msg="All bytes were successfully written to the new partition" -time="2022-08-29T11:28:57Z" level=error msg="Failed to read a full frame of size: &{%!d(string=EOF)} from the block-device" -time="2022-08-29T11:28:57Z" level=info msg="The optimized block-device writer wrote a total of 0 frames, where 0 frames did need to be rewritten (i.e., skipped)" -time="2022-08-29T11:28:57Z" level=info msg="Wrote 12/12 bytes to the inactive partition" -time="2022-08-29T11:28:57Z" level=info msg="Opening device \"inactivePart\" for writing" -time="2022-08-29T11:28:57Z" level=error msg="Failed to read size of block device inactivePart: " +time="2021-07-27T05:19:27Z" level=info msg="Opening device \"/non/existing\" for writing" +time="2021-07-27T05:19:27Z" level=error msg="Failed to read size of block device /non/existing: open /non/existing: no such file or directory" +time="2021-07-27T05:19:27Z" level=info msg="Opening device \"inactivePart\" for writing" +time="2021-07-27T05:19:27Z" level=info msg="Native sector size of block device inactivePart is 12 bytes. Mender will write in chunks of 1572864 bytes" +time="2021-07-27T05:19:27Z" level=info msg="All bytes were successfully written to the new partition" +time="2021-07-27T05:19:27Z" level=error msg="Failed to read a full frame of size: &{%!d(string=EOF)} from the block-device" +time="2021-07-27T05:19:27Z" level=info msg="The optimized block-device writer wrote a total of 0 frames, where 0 frames did need to be rewritten (i.e., skipped)" +time="2021-07-27T05:19:27Z" level=info msg="Wrote 12/12 bytes to the inactive partition" +time="2021-07-27T05:19:27Z" level=info msg="Opening device \"inactivePart\" for writing" +time="2021-07-27T05:19:27Z" level=error msg="Failed to read size of block device inactivePart: " --- PASS: Test_installUpdate_existingAndNonInactivePartition (0.00s) === RUN Test_FetchUpdate_existingAndNonExistingUpdateFile --- PASS: Test_FetchUpdate_existingAndNonExistingUpdateFile (0.00s) === RUN Test_Rollback_OK -time="2022-08-29T11:28:57Z" level=info msg="No update available, so no rollback needed." -time="2022-08-29T11:28:57Z" level=info msg="Rolling back to the active partition: (1)." -time="2022-08-29T11:28:57Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2022-08-29T11:28:57Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2022-08-29T11:28:57Z" level=info msg="Writing map[mender_boot_part:1 mender_boot_part_hex:1 upgrade_available:0] to the U-Boot environment, using separator: =" - dual_rootfs_device_test.go:200: Log entry: &{0x886a140 map[] 2022-08-29 11:28:57.511036732 +0000 UTC m=+0.127932920 info Rolling back to the active partition: (1). } -time="2022-08-29T11:28:57Z" level=info msg="Rolling back to the inactive partition (2)." -time="2022-08-29T11:28:57Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2022-08-29T11:28:57Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2022-08-29T11:28:57Z" level=info msg="Writing map[mender_boot_part:2 mender_boot_part_hex:2 upgrade_available:0] to the U-Boot environment, using separator: =" - dual_rootfs_device_test.go:200: Log entry: &{0x886a140 map[] 2022-08-29 11:28:57.528199412 +0000 UTC m=+0.145095570 info Rolling back to the inactive partition (2). } ---- PASS: Test_Rollback_OK (0.04s) +time="2021-07-27T05:19:27Z" level=info msg="No update available, so no rollback needed." +time="2021-07-27T05:19:27Z" level=info msg="Rolling back to the active partition: (1)." +time="2021-07-27T05:19:27Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2021-07-27T05:19:27Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2021-07-27T05:19:27Z" level=info msg="Writing map[mender_boot_part:1 mender_boot_part_hex:1 upgrade_available:0] to the U-Boot environment, using separator: =" + dual_rootfs_device_test.go:200: Log entry: &{0x9c62140 map[] 2021-07-27 05:19:27.599133389 +0000 UTC m=+0.499161910 info Rolling back to the active partition: (1). } +time="2021-07-27T05:19:27Z" level=info msg="Rolling back to the inactive partition (2)." +time="2021-07-27T05:19:27Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2021-07-27T05:19:27Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2021-07-27T05:19:27Z" level=info msg="Writing map[mender_boot_part:2 mender_boot_part_hex:2 upgrade_available:0] to the U-Boot environment, using separator: =" + dual_rootfs_device_test.go:200: Log entry: &{0x9c62140 map[] 2021-07-27 05:19:27.686214637 +0000 UTC m=+0.586243301 info Rolling back to the inactive partition (2). } +--- PASS: Test_Rollback_OK (0.19s) === RUN TestDeviceVerifyReboot -time="2022-08-29T11:28:57Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" -time="2022-08-29T11:28:57Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" -time="2022-08-29T11:28:57Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" -time="2022-08-29T11:28:57Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" -time="2022-08-29T11:28:57Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" -time="2022-08-29T11:28:57Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" ---- PASS: TestDeviceVerifyReboot (0.02s) +time="2021-07-27T05:19:27Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" +time="2021-07-27T05:19:27Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" +time="2021-07-27T05:19:27Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" +time="2021-07-27T05:19:27Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" +time="2021-07-27T05:19:27Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" +time="2021-07-27T05:19:27Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" +--- PASS: TestDeviceVerifyReboot (0.05s) === RUN TestInstall -time="2022-08-29T11:28:57Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:28:57Z" level=info msg="No public key was provided for authenticating the artifact" ---- PASS: TestInstall (0.01s) +time="2021-07-27T05:19:27Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:19:27Z" level=info msg="No public key was provided for authenticating the artifact" +--- PASS: TestInstall (0.10s) === RUN TestInstallSigned -time="2022-08-29T11:28:57Z" level=info msg="No public key was provided for authenticating the artifact" -time="2022-08-29T11:28:57Z" level=warning msg="Installer: Installing signed artifact without verification as verification key is missing" -time="2022-08-29T11:28:57Z" level=info msg="Installer: authenticated digital signature of artifact" -time="2022-08-29T11:28:57Z" level=info msg="Installer: authenticated digital signature of artifact" ---- PASS: TestInstallSigned (0.03s) +time="2021-07-27T05:19:27Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:19:27Z" level=warning msg="Installer: Installing signed artifact without verification as verification key is missing" +time="2021-07-27T05:19:27Z" level=info msg="Installer: authenticated digital signature of artifact" +time="2021-07-27T05:19:27Z" level=info msg="Installer: authenticated digital signature of artifact" +--- PASS: TestInstallSigned (0.08s) === RUN TestInstallNoSignature ---- PASS: TestInstallNoSignature (0.00s) +--- PASS: TestInstallNoSignature (0.07s) === RUN TestInstallWithScripts -time="2022-08-29T11:28:57Z" level=info msg="No public key was provided for authenticating the artifact" ---- PASS: TestInstallWithScripts (0.01s) +time="2021-07-27T05:19:28Z" level=info msg="No public key was provided for authenticating the artifact" +--- PASS: TestInstallWithScripts (0.03s) === RUN TestCorrectUpdateProducerReturned -time="2022-08-29T11:28:57Z" level=info msg="No public key was provided for authenticating the artifact" ---- PASS: TestCorrectUpdateProducerReturned (0.01s) +time="2021-07-27T05:19:28Z" level=info msg="No public key was provided for authenticating the artifact" +--- PASS: TestCorrectUpdateProducerReturned (0.02s) === RUN TestMultiplePayloadsRejected -time="2022-08-29T11:28:57Z" level=info msg="No public key was provided for authenticating the artifact" +time="2021-07-27T05:19:28Z" level=info msg="No public key was provided for authenticating the artifact" --- PASS: TestMultiplePayloadsRejected (0.01s) === RUN TestStreamsTree ---- PASS: TestStreamsTree (2.43s) +--- PASS: TestStreamsTree (0.01s) === RUN TestModulesDownload === RUN TestModulesDownload/Mender_download === RUN TestModulesDownload/Module_download @@ -16415,87 +16489,87 @@ === RUN TestModulesDownload/Module_download_doesn't_read_final_zero_entry === RUN TestModulesDownload/Module_download_fails_final_exit === RUN TestModulesDownload/Module_download_hangs -time="2022-08-29T11:29:08Z" level=error msg="Process 49650 timed out. Sending SIGTERM" +time="2021-07-27T05:19:36Z" level=error msg="Process 27091 timed out. Sending SIGTERM" === RUN TestModulesDownload/Module_download_never_exits -time="2022-08-29T11:29:14Z" level=error msg="Process 50526 timed out. Sending SIGTERM" ---- PASS: TestModulesDownload (14.09s) - --- PASS: TestModulesDownload/Mender_download (1.01s) - --- PASS: TestModulesDownload/Module_download (0.01s) - --- PASS: TestModulesDownload/Module_download_failure (0.00s) - --- PASS: TestModulesDownload/Module_download_short_read_of_stream-next (0.00s) - --- PASS: TestModulesDownload/Module_download_short_read_of_stream (0.01s) - --- PASS: TestModulesDownload/Cannot_open_stream_file (0.00s) - --- PASS: TestModulesDownload/files_dir_blocked_by_file (1.00s) - --- PASS: TestModulesDownload/Mender_download_multiple_files (1.01s) - --- PASS: TestModulesDownload/Module_download_multiple_files (0.01s) +time="2021-07-27T05:19:41Z" level=error msg="Process 27304 timed out. Sending SIGTERM" +--- PASS: TestModulesDownload (13.30s) + --- PASS: TestModulesDownload/Mender_download (1.04s) + --- PASS: TestModulesDownload/Module_download (0.02s) + --- PASS: TestModulesDownload/Module_download_failure (0.03s) + --- PASS: TestModulesDownload/Module_download_short_read_of_stream-next (0.02s) + --- PASS: TestModulesDownload/Module_download_short_read_of_stream (0.02s) + --- PASS: TestModulesDownload/Cannot_open_stream_file (0.01s) + --- PASS: TestModulesDownload/files_dir_blocked_by_file (1.02s) + --- PASS: TestModulesDownload/Mender_download_multiple_files (1.02s) + --- PASS: TestModulesDownload/Module_download_multiple_files (0.02s) --- PASS: TestModulesDownload/Module_download_multiple_files,_downloads_only_one (0.01s) - --- PASS: TestModulesDownload/Module_downloads_two_entries,_but_one_file (0.01s) - --- PASS: TestModulesDownload/Module_download_doesn't_read_final_zero_entry (0.00s) + --- PASS: TestModulesDownload/Module_downloads_two_entries,_but_one_file (0.02s) + --- PASS: TestModulesDownload/Module_download_doesn't_read_final_zero_entry (0.03s) --- PASS: TestModulesDownload/Module_download_fails_final_exit (0.01s) - --- PASS: TestModulesDownload/Module_download_hangs (6.00s) - --- PASS: TestModulesDownload/Module_download_never_exits (5.00s) + --- PASS: TestModulesDownload/Module_download_hangs (5.01s) + --- PASS: TestModulesDownload/Module_download_never_exits (5.02s) === RUN Test_GetInactive_HaveActivePartitionSet_ReturnsInactive -time="2022-08-29T11:29:14Z" level=warning msg="Could not resolve path link: /dev/mmc2 Attempting to continue" -time="2022-08-29T11:29:14Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" -time="2022-08-29T11:29:14Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" -time="2022-08-29T11:29:14Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" -time="2022-08-29T11:29:14Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" -time="2022-08-29T11:29:14Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" -time="2022-08-29T11:29:14Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" +time="2021-07-27T05:19:41Z" level=warning msg="Could not resolve path link: /dev/mmc2 Attempting to continue" +time="2021-07-27T05:19:41Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" +time="2021-07-27T05:19:41Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" +time="2021-07-27T05:19:41Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" +time="2021-07-27T05:19:41Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" +time="2021-07-27T05:19:41Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" +time="2021-07-27T05:19:41Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" --- PASS: Test_GetInactive_HaveActivePartitionSet_ReturnsInactive (0.00s) === RUN Test_GetMountRoot --- PASS: Test_GetMountRoot (0.00s) === RUN Test_getRootDevice_HaveDevice_ReturnsDevice -time="2022-08-29T11:29:14Z" level=error msg="Can not stat root device." +time="2021-07-27T05:19:41Z" level=error msg="Can not stat root device." --- PASS: Test_getRootDevice_HaveDevice_ReturnsDevice (0.00s) === RUN Test_matchRootWithMout_HaveValidMount --- PASS: Test_matchRootWithMout_HaveValidMount (0.00s) === RUN Test_getActivePartition_noActiveInactiveSet -time="2022-08-29T11:29:14Z" level=error msg="Mounted root '/dev/mmc1' does not match boot environment mender_boot_part: 2" ---- PASS: Test_getActivePartition_noActiveInactiveSet (0.05s) +time="2021-07-27T05:19:41Z" level=error msg="Mounted root '/dev/mmc1' does not match boot environment mender_boot_part: 2" +--- PASS: Test_getActivePartition_noActiveInactiveSet (0.25s) === RUN Test_getAllMountedDevices --- PASS: Test_getAllMountedDevices (0.00s) === RUN TestMaybeResolveLink -time="2022-08-29T11:29:14Z" level=warning msg="Could not resolve path link: /dev/disk/by-partuuid Attempting to continue" +time="2021-07-27T05:19:41Z" level=warning msg="Could not resolve path link: /dev/disk/by-partuuid Attempting to continue" --- PASS: TestMaybeResolveLink (0.00s) PASS -ok github.com/mendersoftware/mender/installer 16.805s +ok github.com/mendersoftware/mender/installer 14.593s === RUN TestInventoryDataDecoder --- PASS: TestInventoryDataDecoder (0.00s) PASS -ok github.com/mendersoftware/mender/inventory 0.009s +ok github.com/mendersoftware/mender/inventory 0.016s ? github.com/mendersoftware/mender/log/syslog [no test files] === RUN TestStore --- PASS: TestStore (0.02s) === RUN TestExecutor -time="2022-08-29T11:28:57Z" level=error msg="statescript: Ignoring script '/tmp/rootfs_scripts512615078/Download_Enter_00' being not executable" -time="2022-08-29T11:28:57Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2022-08-29T11:28:57Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2022-08-29T11:28:57Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2022-08-29T11:28:57Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2022-08-29T11:28:57Z" level=error msg="statescript: Ignoring error executing 'ArtifactInstall_Leave_02': 1: exit status 1" -time="2022-08-29T11:28:57Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2022-08-29T11:28:57Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave_100' will not be run " -time="2022-08-29T11:28:57Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2022-08-29T11:28:57Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave_100' will not be run " -time="2022-08-29T11:28:57Z" level=info msg="Collected output (stderr) while running script /tmp/art_scripts007059363/ArtifactInstall_Leave_00\nerror data\n\n---------- end of script output" -time="2022-08-29T11:28:57Z" level=info msg="Collected output (stderr) while running script /tmp/art_scripts007059363/ArtifactInstall_Leave_11 (Truncated to 10KB)\n\x19A\x8b\xff\x8b[:Od\xe10iLӲ\x87\xf7\xcf>\xfe\x06U\x8d\xc4\xf3\xd6\xf9\xab-\x14\x01\xc5\xc9u+\x9e\xf6\u007f&\xd1\n\xd0I\x8cRV\xa7\xf7/\u007f~\x10\x1b\xb5\xcf\xe9z\x99\b\xb5\xae\x88I\x85\xb4\x1cvVD\xaak;Zz҉\x19`\x04\xb3\x8f\xe5u\xf3\xba\bY\x10\xd5 J\xbf\xb6\xac\b\x85\t\x17e\x17\x1b\x0e\xe1\xad\x17Y \x96\xb9k\xeaZ\xecv9\x19\x1d\u007f\x9bN\xb8\x1d\x89\n\x9c\xad\x03\x0e\xb1\xf3\x02\xd9`d\xb0\x8cC\xe2/\xf4\xee\xd1&\xeac2\xe2%--\x82ߨ\xa48,|\x0fs\xd7,M\r\xad ǁR\x80ϩ\xed\x19)\xac\xe3tj\xb0\xaa6\x1f\x14\x8e\x03\xcfB\xfe\xe7i\xae\xbfޙ\x0fwr\xfa\x8a\x16\x86B$t\bɱCJ\xdf\x02rI\xa3\x83Z\xa1K\x95l~7\x15\x97\xa74O\xfd \xab\x87\x96\x12V\xbaf\x0fm\xe9d\xc8:\xfa\x99\xf9\xd4\xfd\x8f\xcds\xf2\xd2[%\x1b\xa9n\xa8\xeb\xea\xef0\xfa\xdc'\xdd\xfe\x99\xf8\x12\xfb\x06-\xa1ܭ\x8f\xfe\x01\x90\x00\xe80\xa1v~\x87\xa1b\xfc\xbd\x0f!\xa8\xaa\xffU\x83\xb3(E\xc9\xc5\xc6P\xb5\x00\xa3J\xeehc\x8c8+\xc2\xdaಊ}v'\\|:\x03\xa0\x95\x1a\xbd\xdf\xccA\x9c}u6y\xb1\xfcd\x80\x01k(\x13\x0f\x00>Z>W\xc0\xff[u\x19\x9aաmp\x9bٶ\x9b\n\xb4\x89wa\xef\xe1A\x1eT)\xed \xe0b\x9d\x8a\xd9vH\xd6\u007f$\xd0X\xa0E\x17BλY)\xb8\xc4\xe2F\x8a\\\xd4\xdf\u007f)\xd9gY\xc2\xdd\"\x8f]\xb4\xb6\x94\xc1m\xefs@\x10\xa7T\x86v\xa9mT\x90!r\x05\x92\x15S\xfe\xba\x9f<\xe0¤Q\xcc\x11i*\xc6\x12\xfcN<\x16\xf6\xd4\x12\xb5\xa3\xc53^\xd2c\xa9-\xe8U0\xf1ƈ\x04\xb1\xa2\xf1\xd5\xf47\xf80)^ϝ\xe9\x908|\xc0\x87D\xa1{U\xa8\xba\xf6\x8eO\x1f*[\xb3\xb4\xe9>\xbb\xaf\xf5\x81AZXV\x05\x01\xb9~[\x8f\xefn\x0e\x9e~\x1c\xc5\xeb\u0378\xa3\xaa\b\xf8\xc4lHN\xc4 8\xb7Y\xcbUj\xa13\x11\xb6d\xa0\x88%\xd0\x1c@\u007f[\xe4\x8bZ\r\x1e\x16F\xd9*\xbb\x1biI֪=+\xfb\x8dpr\xad\xac\xc7\x1bV\x9e\xe1\xdb#-\x8b!\t\x12\x95\xd1cBb\\\xcb6\x02\xab\xeav\xb9V\f(@\xdaM\x04Cu\xe0W\xcfc\xa9%ӵ\xeci5\xf2\xf5+C\x1dg\xb6{^5\x8e\xbbި\xc5t.O\xbb\xfd'3\xdf\n-\xd6͊W\xbf.\xae\xa8\xa0\xa3\xbb\xb9.\x91\xc3M+\x06's\xbf'\n\xfd2\x8bp\xcfV\x11\x1d\t\xed\xdcy\x1d\xfe!\x87\xaa\xdf\xc4 cZ\xf8C\xe8\xdf/ \xb4h\a\u007f\xaeɣJ\a\xbc\xa0!Q\x88\fc\xe1DS\xcc\xf7ΊeM\x99\x85@\x19\x83\xb2\x17\x1e\xab\x9do\xaeGy=\x99Hg0xBv\x95\x81T\xf4K\xc8y5\x1c\xb3\xa8\xa7.\xd1\xf9\xd7\x19z\xf3\xc0\\\xc4\x17\xd9\xf3PQ\xe5\xbcA\xe3ǽ.\xfe\x05Q7\xcf<\xfd\x8f\xe9\xfe)\x98\x8f|\x91s\x9e\xe8T\xd0#X\xaf\xcf\xfd[\xd8\xc1\x91\x99\x9d-\n\x88\x10\xcf\xc0\xfak9\xe0h\x92uBĽ\xe6\xfeOO\xbc:\xba\x9d\xbb\xc0^#\xbb5dj\x8bY\xee\x15\xd5/\xe2\x8e,\xed\xb826\x9e\x9a\xbaY\x9e\x85\x97\ag\xa7\xd8\x11\x05\xf5#7E\xfd\xe8\x18\xb8\xb8\x8e{\xd0Q\xf4C0\x99\x133\xdcC\x1d\t\xf2\xbcDn\xc7zn\xcd\xd0H\xb7\xb0|\x89\xac$\xb27\xe3\xee\xfcSEu\xe0\xa5\xeb\x98\xcd\xfaVg\\\r\xf52\x0e\xfc):\xc0w\x9aQ\x87I\xc3e\xaf\xbcGn\n\xeb\x9e\x00\x19\xe3*\xa7\xc1\xf7\xb6j\xf9\x1f\x1d3\xff$\xbf>=\x93%]p\x13\xbf \x8bqhf\x84\"NW\x88\xf4\xf8uW\b*t\xc7;-^\x90\xe0\x9a)f&'\x84Z\x99\xc0\xbc\xeb+@\xa3\xac\xdc\u007f\xbf9^d\x94\n#\xa4h\x83\xd9\xd6v\x10t\xa0\xa2\x8c\xb0\xd5\xfd`\x89\xe8\r\xe1NC\x06\x01\x9b\x9a\xac-\xbe%\x9d\x87Y\x16\xc2\x05\x83\x8e{:\xc2:\xd3\x06wH\xb8\x06\xab\x81\x1c\xcf̾t\x97\xf5\xac%\x9b\xe0N;N\x96\x80\x053\xcc\x1c\xbc \xee\xedMV7r\r\x10g\x89\xa8\xd0\r/\x92+M-z\x8a\x13\xb8\xce%\x84)\xbb\xc1f!n\xf4tr*b\x95\xb7\xe4y\xf9\xa7\xa1H\xe4\xf1\x84go,Sq\xd0\xd0IBMi\x94\xe6U](3\xc1\x9cLD9֗\xac\v\xe5Ӊ\xa1\xfa\x86ΠO\xe4*bJ\x86\xf2Y\x1fV\x12v\xa5\xf3\xff\xa7J\xc1\xd4\xea\xf1\x96\xd0\u03a2ft\x83w\x83\xd8\xc2\xe1{A \u007f\xaf\xcf\"\xeez\x9as\xe0U\xb5\xd1\xd1r\f\x0e\xed؏`\xbc\x1c\xfa\xe6\x18\x84!+\xc1\xbb\x84]\xbcow\xffI\xc8\x15\xcd\xfb\xb2\xb9\xab\xc9\xf1\x00\xf4\x05\x18L[\x9eћ\xf9\x9fk\x831\xa5=@\xa5\x16}\xbe<0\xf9F\xc9jk\x99\xb8\xb6\xaa\x91m\xaew\xfd\x03A\xab\x92\xbee\xaf\xb8-խ&\xb1ũL\xb0\x06\x81Pc<\xbc\xfa\xb1\x9a\x94V\xb6w\xe4\x0e<\xc3\b\xe3\xc8phI\x84\x97a=\x8f\x93\x9d`\xb1\x0fh\xb1\x85HA\x80Y\xee3\x1c\x97e\xe9\x1a\x86\x86S\x90\xbb\xc71\xd81Z\xdb\xce\xedHY\xee\x00Ek\xb5\x01r=\x1a~\xe6硃\x82\xd2\xf7Q\x85\x1dO'\xed3\xef\x14\xa7-\xee4\xc6}Ԛ\xab\xe7\x86#\xa3,r\xd7\xfb\x16.\xb3\xb1\xe0\x15\xa2E\xb4\x96G\xdf\xff\x15\xf5\x9fOӣ\x86\xf1n\x8b\x97+\x05Cg\xb8h\xe1\xe0{\xa2a\x94\xde4˕;\x1e\xce֝ѧ\xe2<\x86\u05c9\x14r\xcd\xd5\xf2a\x18\xdfi>g:\x94\xbc&\xcf\x06\x14\xe7\xed\xc7(\xad\xe6\x04xs%\x8d\xee&\x01B\x86\xb1\xbbFS\xfc\xc5IS\x10*\xe0>\xc4\xc4\x15*\xb6\xd9/y\xcc\xd0\xf8\xa3\xfdʏ\x1e\xae;Fٻ\xe7R-\x1f0m\x96\b\x18\xaf\x94\b\xdd۱\x8eA@^NK\x8c)\xaf\x9f\"\xecW\a\xa1\x92\x1eݳD$-\x1c\xca\xfa\xb9o\xae\xc8I?\x9c\xeeUI\xf4\xf0\x83\x93\x1da\x96l\xabu\x80\xd7<\x9eW\xb3ט\u007fqV\xd4\xd9ɷ:\xb8\xf4!\x90\x9a^\x8dS\x182ǒ\xd1B\xb8,\xb9\b\xe0\xb6l\x10\x1ec\xfa\x14\xdf\xf4\x82 r\xfbϫ\x9b\xc6Q\x92\xf2\xf3\x83\x1e\xa5w:y=\xdcK\x10\x9b\x9ex\xafq\xde.\x10!\\mm\xe2\u007f\xf1wԑw\t<\x1f`\xb2-;\x05\nUy\x87\n\x18&\xa6aI\xa9\xbb\x89R\xeb1\x14\x94\n\x8e\xa2S\x91+.\x9a\xcf\xcb\xf9r\xac\n\x97\x1c\xfb\x90\xc3X\xc1\xfbKJ\xf1\xd0\x04)\xd3\xc3\xf3/V\xe7\xe6\x17\f2\x06\xb6@\xa0\xd7jg\xd0\x06\xaa>\xbd\x10\xc5L\xb6i\x1f{\xd8\xf8\x12\xa0zۖP\u007f\x81\x1dBe\xa8\xed\x14\x90\xef\x04\x89\xd6\x02\x192\xc3E{\xbf\xc1c7\xe7\x17\x88R2^\f\x18\xbd\x98\x12\xaau+\xeaP\xb1\xf2\x06v\xdb\x19\x01;\xe6\x18\x03\xacǸ\xb6\xfd\xfemh?\x8bB\x16\x99)\x10\x00\xb1\x128\xc5\xe8\xbaNP-\x15\xc8\xc9\xc3\xf7ڹy\x03\x94Vh\xae?\xb7\x11.[\xccb=X\xedE\xf06\x0f\x0e\xa6\xfd\x18K0\xed\xfdW\x00\x97\xc0z\b\x9d\\\xf9\xf4y\x87\xfe=\xb9\xfac\xc0\xbc\xa7\xfb\xb2\xaf\xe0E7\xb6 \x11\xc5O\x10M\xe4\x8b\x10\xd4[\xbc\xe1\xdc:Q|\xa0\x82ώ\xf2\x95\x12\xfa\xf3gqa\xc6D7\xcf\xdb%5\xe13iD-\b\xc4fw\x99\xdf\x11XЅ\xdb\xd3I\xed:Hd\x06\f\x81O\xca\x03\x8e\xe1\xedߥ\xb3\xeb\xcf\x18_cz\t\xd2:\xf1>n\x1a\xca\x86\xa9Q\x1f3_\x8e14k[#\x84\xf6\x9a\xe6Mȡ\x05\x0f\x18Y\x12\xbc\x91\x0f\xb8\\R\x86?\x05\r\x84\xf5\xc0+\"hܑH\xa7\xf8z4\xa85e5J!\xf5\xf3\x04!\xa5Ձo\x9e<\xe1\xa9\\\xabb\xcbGޔs\x878o\xfc\x00\xa4\x90>4\xfa\x16I\rD\r\xd5-\xf9M\x11\x1a\xc8A\x96;1\x18E\x80\bG&+\x1d\x15r\x90p\x85i\xb0\xac\xf3\n\xd1_\xfaB|\xac]\x93#\xbdQ\f\n\xee\xfe\xb1\x00\x1d=\xf8\x06H\xf2\x8a\xd37\xabO\x96o\x82\xe7\b٥M\x93\xe6\xfc\x11\xb4\xf7ۈ\x13=\x97ױD\xdd \xefb~\x1b\xaa\x17\x1d\r\xcbD\xe5ϯP\x0e-&5\xf3|\xedH\xe6\x9d<\xd7\xf3\r[\x0f\xa8\xa5\x16\xf4\xe1\x13m\xc6D=\x80\xd9\xdb\xfbZ]\xe5UT0\x05Zۑ\xa79e\xc1\xce˭ۗ\x87<*\xcc;\xa0FY\xe6\xe9QCO\xbb\xe7\x95Y\xa9\xd9\x10ӢO\r桾\xce\xef\xc2dc\x88m1\x92\x05\x82Wy\x18\x03\x8b\x06\xad\xf8\x1c\x1a\xf5\xe0f\xb75i\xbc\x83\xa5!\xb2_\xff\xcb4m\x82\x91\xa5\xa5ha\xc2p\x9a\x1b\xd8p\x00\x0f8\xfb]\x9cY\xa6\x9b1\xe6\xd2&5W\xe4O1\xa54\xd0)\xf7\x84\x10\xb6\xa7O\x1a\xddPsz%^\xedO\xd25\x9c\xf8\xfdPy_\xbd\xaeH\v\x93%\xdbq\x15Kj\x92{E\u007f\x93\xb3\xbe\xcb\xea\xf5\x83l\xbc\x1bD\aǩ\xf6\xdbܱ\xf5\xdfV\n0\xab\xdaR\x8b\a\xcbn\xbdI\x05\xc4\xca5\xe1H\xdam(\xf5Y\f\x1c\x87\xa4@+|\x84y[\x928\x03\xe4\x19^ʓ\x9b\xed\xf5D\x8d\xbf\xf5YǕ\xae\x96\x03N\x8dg\xf07ީ\xed\xcfö\xf3\x84W|{A\xc9p.Ð:P\xc8\x1f_\xcc\xec\xe6\xccU~\xc9V\x93\x03\x8b\xe7T\xf9R\xd1C\x05\x9f\xe2\r\xdb\xe6g\x19&\xf4Y\xd1\x0f\xea\x80=\xc3\xc1\xf6\x88\xfa@\x88?=K\x17\x99\xfd\xe5\x03\x8f\xec9\xec\x16\xc1\x12\x1e~\xcc\xe6\xfb\x03\xf7\x98\xbe:\xa2<>\xa361@J\xa9<\xfa\xd5\xc1\xa8\xcb]U;1\x9eZh#/\x86\"p\xfc\xa7\xa3\\\xbc\x88\xdcl\\G\xa5X\x80H\xb3T\x87\xae\xcfvh\xa1\xe8Z\xc0\xa4\x1a\xef\r\xa0\xf10\xb34\xe7'eI\a\xd9B\rٸ\f\x1eńn\by\xeb\x12\xb9\x19d\x8f\xbaEY\x8c}\xb3 \xa5\xa4\x00\x17Ĥ\xad\x14\xed\xf9?u\x1dE\x85\xa4\xdd=W\x1cy\xcc4f$i\xb7\\\xb6\u00ad`\xf0D\x12}\x16\x99\xbb\xdd\x1fa5\xaf?\xe4\x1f/幺8\xf1\xf7x`\x03%%\x96\x13\xf3b\x94b\xc2 \fn\xc1\xc1@ĩN\x9a9M\x94\x96q\xba\x9c\u007fR\xb7\x8c7x4\xbem\xc8s\x16\xca\xd5.\xf91\x13a\xc2p\x19[\x8ca\xa4^\xf3\x00\x9e\xfe\xcd\xd2&\xedÀ\xb8\x80\xaa\xc2<\xf3\"\xacuX\x14\xd2p\xf9&b%h\x99\x98F%\xa5e\xaaB\xb1ZS\x8a\xca\xf9Y9\xa2\xa8\xb0\x8f\xdek\x9b\xb7\x9e\xefȒ\x0eS\xa79\x0e]\xb2<\x8acQP@E\x98\xba\x1bE$\xad8\xbd9`\xb1\xf45w\x91\x975\x05\x8bio\x8euP`\xa1N\xb40\xed\x88\xfa\xc0ir\xf5N\xf8<\x00U\xe3+\x9e\xcd㓡\xd5\xfb\xda\x12+\xcc\b\x91\x825\xf5\xe6\nr\x8aX\xc6\xe6*y6\xd7o!4\xd1\xf7\xc59\xc0\x8e\xf0\xef\xc7#\xcb\xf0\x9d'\x8a\xb6\xfef\xf2\xf2\xc6߮\\\xca0\xde*\xca\x05\xfe\x81\x18\x02r\x90\xc0\x9a7\\C\xc8F\x02\xb1\xb8\r\x95\xa40\x9d.g\xabz\x92k\x8f}Hr\xf3\xc1~\xa1\xff{\xa7>K\xa8\xf0ؿd\xf85nG\xe6\xce\xdd)fD\xc1E$\x80\xb0(\xf9\xb47k\x82\xbc5\x9b\xdd\xd5\x1fJ\x12C\xa4\xc9G\x1a\xe7\x06/\x9a\x97z\xf8\x1d\xd5\x14\x86\x86[G\xc4t\xeb\x81O%\x11\bLf\xac͐\a\b\x12\x9f\xf4q\xfc\xe34\xb4\x04!)u\xc7\x1c?\xb6\x9e\x99\xf5\xab\xbe\x00\x9c\xb5\xf9\xa1`\xf5S;\x01[\x18\x12D-k\t\xc3\xdf\xf5\x87P\x83\xb2\x98\xe1\x8fL|\u007f\u007f\xf9H\xfb\x9c\xe6\\\x1d{\x14dH\xc8J`\xf1_;\x99{K\x95|\xbe\xf2\x86^da\xd2\x19I>\xfe\xf0f9&\xa9\xaf\x81L%\xa8C\xf8\n$n0\x1a\x1c\xf4\x97\xaa;wD\xe4|\x9fO\xb4e\\+\xa2\x1b\xa9B\x13\x91\b.c\xc4]\xadZ0g\"\x9dl\xe1\x14\xceZ̏\b\x9f\xaf\xfbep\x8c\x84R\xeb\xc1n\xb2\x9b\x91\xefC\x03!h\xd4\xf8\xfbK\xec\xd2\xf0\xf5\x96?\x19\xb8)\x90>(\xfa\xc6D\x9a\x19&\xeb\x8c\x1b\xeb\x00\xe2S\xc2\xe5Ǖ\xf3T\xc5\xd4\xf1\x90\\* \xc2\xces\a\x9b\xca\xcc\v/'\xd5\xe0\xb8]\x9aʕd\xd5\x1c\xa9 \x03\a\xa7\xa1\xfa2\x125ʆd\xb7\xd8\xec\xc0J\x15\x15\x91\xeb\xd7\x12\xc1ȴh\xb3̾&^\xdaZ\b\x92\xce!i\x06F\x88Z\xf3\xc1~U\\\xc0P0\xac\xef\xeeb\"\xc7\xeb\x87\boJ\xd9\a\x9f\x8cɭ*)3q\xc7\xcbq\aՁg.\x16\x03\x8f\x8d{>R\xcf<\xb0\x1a\x13>\xe9#Ђ\x9b\xcaC\xe7nx\xf3by\xbf\x8c\x84+\x0e\x80\r0\xeb\xd8Q\x98\xa0\xab\xba%\xa5 \xad\xa9.S]W ld\x9a\xb6Qt\xa5\xc4:\x1aO\x18\x9dG$M-\xba\xfe%\x8d3SW\xc4M*\x9c\xa8\xc7\x1f\xcf\xf9K\xbee7\xa8r|\tF\xfa\v\xff\xe7\xd8\x1f\x9c\x17ZwV\xa1|XO\xea\xd5\x1dA\x89R\xb5\x06\xf74g\x15\xda\x166\xafK\xc50\xbfJ\xf9\x04\x0e\t\x80\x10\xc5\xe9\u07baJ\xe7\xcc\xe9\x0f\xa0Χ\xc7<\x03\x9aY-ʣ\xba\xb9\x18\xc8\xf1\xb6\xd3v\xce\xf0\xe4p{\xa4\a\xa7L\xf9\xc5\xf7\xfeeH\xa2F\xa0xY\xca\xff\x90\xec\x1f\xfbۧ.\xb6 \xce\x06\x00\x14<\x8dA\xef\xd8f??\xc1\xaa\xe1\x10=\x13\xb7Ǖ\xe7\n\xb8\xd4\x14\xb7Sѷ\x94\xf3\xb2o9\xf5\x9fi\xadkV\xe5_\xd0Vjћ5g\xb8\x004:\xa6}\xb0\xef\x05\xd0 x\xfat-^\x15\xd7\xf0\x03R\xb6hw\x82\x817\xf2\xce(\xa3\x0f\xaf\bM\x93\x0e\xaf7\xd5\xec\xc5S\x8d\x0e\xeb*k\xbb\U000def98\vZc\xb8\x1c\xb1\x05\x9e\t\xebo3\x9d^4c\xb8\a\x1as\v\x17\xcf:\x15\xbd\b\x8eF\xa1`\xe2G\x12\x0f*\x05aM\x8aD\xef\xe8\x10\xe2\xff\xc7G\xa6I\x9a\xe9\xf0\xf4\xfb\xcbz\x13\xad\xb8\x06E\xa8r\xff\x1c\x86\x0f/1\xb7\xdb\xcf\xe62\x0e\xb3\xc4z\xe2`\x80\x92\xab\xfc\xf1\xf8<\x850\xbc\xaa\bS0\x15\xc4t\x15\x94h\xc0\xec M\x97\x8e2Fϧ%\x95#\xe1\xbb\x1f\xe8\xee\x0e\\\xeb\x9bT\xe7\xe8\xfb\x95\xd9Fj1>\x82\x9b\xaa\x18\x92몰\xa8J0\xa9C\x9dH\xb5d\xb3\xcc`\xba\xcb\xe0\x94>5\xec\v\x95yv\x81-\xd7%\xcd\xedy\x0fLD\x00\x03\x99\xeb\v-()\xcc\xd5\x11\xa9\x9f5\xdb\xfcA\xbcn̆\xbb\x03S\n\xd6-v9\xb7\xadNsn^\xe1\x1e!\xf6\xf2\xeee\x8c\xc2\x11\x83>2\xb5\x1e\x98\x10-\xb8\xe3\x0f\xf3P1\xfb\xfb\xe6.\xd2`\x95e\x04\x8d\xb9\xb8\n\x8b\x96\x81X;\x00\xab\x17Z\xaa\x90\\\xaa5βt\x87\xb9}\xed\xef\xfb\xee\xc33\x9d\xf4\xdcE\f\x19\xde\xd0\xe1\xeeHG\xb6\xe93ձ0\xa0\x11li\x8f\xffbKt\xfbA\x8b\xeb\x11t4$\x84\t\x96\xa0\x01\xd5m\xa3\xb2\x8d\xf6P\xcdN$&\u007f\xd1\x18\xb8\x01\xbf\xe1\xfa-\x1e\x9d,\x8a\x13\x95i \xa0\xb33w9B\xff\xb9\xff\x84\x16\xaa\xe4\xeaACﴟ\xf5\xdb\xd6\x10\x9a!\xf0\x12\xdcW\x00E\x14\xcc#G\xcdr\x95/\x98\xf4\x16\xc7v\x06\xef\x81ˍ\x94\x0f3\xde-\x1c:\xd8\x06l\x14\xaa\x05X)\x99A\x16eW\x9e^\xfd\xffu\x04'\r\x86\u0091\xba\xf4H\bʟ\x99\x1d\x8c\xe0\xd0\x05?5\xf9\xb9\xe9\x8e\xf2\xaaM\xeaF!m_\xe1\x10\xc39\xbf5o\xf2-\x1c\x98\xcc\x1f\xf7\x15Y\x86ՙ\x01\u007f\xd0\x05n\x11\x06P\xa6H;\x04\xa7C\xfb;\x86\x1d]\x17\xb5^Ֆ\xd8\x1e\xb0T\x9aK\x94JS\x04\xa5e\xc1h\xb8\x81\xb1\xe5Ȅ\xaa\x05\xfc\xeb\x01K>\x81M\xfd\xc8ݰ<\xb7\x98\xdd\x1aq\x1a\xc2\x18\x13\x9f\xc7>5\xdd\xd4\x13\b\x9b\xa6˥0\xb6\xcbv\xbe\x1c\xd9\x06\x12\xab\tsk\x1dx\xd2\f\x13\xdb\xed\v>\a\x99\xb7\x12}&{5/\xdfM̦_%\x06\x18\x1c\x1b\xb5\xb9L\xaf*=\a\xbe\x170\x1c\xb7\xf0\xc0\x15SG\xf4d\v:\"1\x9d\xa8\x02\xa9V\n5\x82\x91J\xffxws9\xe2X:-\xf7\xa2\xd4\xc3\xcaC\nL\xd9\xdd]\x9f\x02\\\asϢ\xe8:d\xb1^\xa2\x89\xf2w\x1cC\xb9\v\x88?\xbcF҉\x97s\xe0=WX\xc4*\xbdl\xc9X\xb5\xbf\xcaAp+\x1dYp\xd6ݍ\x9a1F9\xe4\xa2s*\xc0\xa2n.6@>W_(;pC\x88\xb7\x9cT\xd0\xc8G\x19I\x003\xddB(g<\xc0\xb5\x9cO\xe4\xcd\xeb&.\xf1r\r\xf4\xf0\x87\n~9\xa5\xfbD\xab\x84\x918\x84%\xd5%\x92hap\xdbH\x8ca\x8c\xbdUE\x81\xba\x0f]\x89͏\xe1\x8b\xf3(\xf4_\xbda\x99q\v\xa7:\xd8B\xea\xc2\xd5z\xf77\xf82.\x19\xca:\xf1\xde\xce\xc4usbk\xddw\xfdK!u\xbdmxj\xb3\xb2\x19\x8d\x11ʽ\xc6AO\x1a\u0600w\xdc\xd7;\x81\xf0\xf0m\xf97\xda\x0e\xedM\x0e\xb9\xb8\x86ّ\x183x\xf4\xcco\x8d\x0f\xe8\xc5\x0e\xab\xac3\xb2M\xf3TW\xdc\x05\xfd7U\x9fp\xf5\vR\x04\xfa\xea\xe7>\xef\x05\xd8\xf2\x0e\xbb\xeb3_-\x15\x9f-\x11\x81\xbd\u007f\x91\xf8\xb5C;\xc0q\xaf\x9e\xc05\xb84$\xe0\xd8\xc2\x15\x96Ӥ\xb2\xec1v\xa8u\xe7_\x8c|\x05GU\n\xb4\x82\bŧB'\x1b\"!6\xeb\xaf\x1d\x01\x85#\xa6\xd5\xd1\f\x93\x93\x95\xd7\xe2\xc0\xb4\xf5δ\x8b\xc5dh$\x85Q\xb7\xa0\x19\xc1\x15\xfd\xe0\xb5\xef\xba-\xb5/\x83\xdd\xe7\x19\x13\x15g\xaae\xa0\x1e5\x82\u007f\x95Xt\x98\x128'\xa5iZ\aWI\x90\xe8\x8f\xe0%\xf3'\xccj\xd2F}\x01\"bG\x82\x80\xd3b\xc9\x1dp\xd2ݣ\xb5\xec\xbcK\x01\x00=\xf7\xe4\x97x\xf2\t\x83ՙ\xcea\xbb\xd9X݆\xcd\xd1\xcdCI\x92\xc0\x83A'\xab\xf3|\xeb_\xbeT\xef#\x89Kui'I\x80;\a\xea\x01\xca\x01\xbc=O\xe3:\xc0kf\xbbǙ)\x89C\t\xb6\xbb\r\xbf\xc0_\xb2\xf8\x9a ,5\xa4\x10\xb7L\x89U\xac\xaeV,\xc8x\xc4[\xdb\t\x1d\xd1i\xe9\xb3O\x19[Λ\xd8\xc8\xf24\r\xdfY\xe3\xb2|\xdc\xc5\x10\x84^*r\xc6\xd0@\xd6_\xf2\x06\xbd\x0fi\xea2\xbc\x8c%\x8c\n\xc7$\xe2\x19A#\xab'\\\xd4\xdfѪs\xb2ݠ\x1b\xbd\xd8C\x1f\x17\xb4L\xb4hΦL\x86)\xd5ݜǨ\xc1e\x16`R\xece\xc8g\rq\vz\xf1\x00\x95>?\x0e!\xc4\xf1\xba:\xbdNqʹ\xb5Ӝ@\x00R\x9d\xf3@\xd9\xc6\xdd,~\xe6\xe1\xe3s\xeb\x8c _F:3\xc6w\xdb\xd52\x8f!\x96{\xfe\n\xf2\xf3\xe4\t\x04r\r?lE4qB\xf6-Ֆ\xca1\x88`\xcc@\xac&Y\xb7\xbf\xfe\xb3#\x1b_n\x96D\x10Tu+\x12K\xd5$m.Ӵ)rL\xbaZX\xb1\"3=\xf3\x93\x81\x11^\xa9:\x02\xf332\xb5s\xe3J-\x8dI-\x91\xd6~\x86\xe9\xee\x82\xe8m\x03\xcd\xf6g\xaf5\xb3\x1b\xc4\xd2m\xec)K\xa5 Lj.\xf3\xaa\xaf\x11\xe9\x89\x15j\rO}\xb7r\x8bM\xa8#\n\x19\x9b(\r\xe3=\nZ\xed\xfe\x94ɦ\xffoxLú\xf9*⋛\xe8\xa3\x14\xfd\x97\x03\xe4`\xb4:\x86\xa1\x90\xf3\x9e˯\xf0\xb7\u007f\xf9|\u007f_f\xa3+\xe8\x00\x81C\xe3.\x95_\v\x1b.\x9f\xab#\b#^٦\x92\xd7\xf5O\xfc>\xb5߲\x18nJ\x82\xbc\xb3-&\x1b j\x97\xa6\xa9AI\x89\xe7\x99\xda\xcbipj\x12ħ\xf8\xec\xd8\xe0\xa7\xdda,'\xa1Q\xd4H\x8c\xa1\x85\xee(\xfaO\x13\xe3!\x8b<\x83\xcfw\xfc\xb1oB/\x97\x96\x84\x06\xde4\rO\xa1\xe0\uecc8\xd6\xf7\xa4<)\xebޔ\xe1\x8a3^\x84\x0f\xa51\xe8\xb1l\x00\xe3\f`,\x11\x93\xf8\x02\xe4y\xaeϓ\xf7\x8b7c\x9fJ\x98\xdbՊǖ\xe0Z\x96\xa1Oeqg\xfa5\xd9\xdal\x8dnÅ\x88-\x8bV\xc1|\xec\xb9\x0f\xc3\xef\x8b\xe8xH\xebت\xd6h\x8e\xc2*\xe9b\x05<\xfe\x1fp\xf47\r\x88\xf9P\xa9Z\xec\xa7\xfb\xf9~\x9a\xa1!\xdd*i\xa3g\xc4j\xfa7\xdb\xe9\x12\xb3\xbdd\x8f\x90{\xb0\xca\x15\xf9\xe48\xba\x8aF\xbb>\xb65\x10\xbb\x06o\x97\xe5\x1eޥ@\xfa\x18r\x10\t\xbbBb\xbbtz\\]\xbf\xf4\x12\xc9\xeaߓ\xbd\xb3\xbd\xc2\x1a\xcb\xfa\xba/QL\x97\xe1\x9fE,\x9dP\xc3s\x18dG\x00J\x02\xe5gm-\x10j!w\xa0&\xa6]{\x93'n\xafF\xeadg\x8f-\x95\xc9\xc7~\xaf\x80hk\xa3٩-\x1f\xc3}d\x92c\v\xf3\xb8!\xa3\xa3㕫vC!\xa6'\x89W:bodQ\x9c1}k\xd5~\xb9J\xd9\xd2\xee<\u007fFU\x84h\xf0S\xf2\xbf\xf8\x15\x1c\xcc-\u007f\xe9C\xa1\n\b.\xb5?\xd3BU\xf9\xeb9CS\xc8y\xacJo&\xc8(Kk\xe6dS\x00r\x1c\r\xf6\x8a7\x8dU\xbc\xa0@4`FL\xe6/D\x90\x06\xc95~\x1d{D\xbck\xc4)V_\xb6\xf6|\xedN\x8d\xb6\x88A6aH\xd6`\xad\x98\xec\xdc\x1a\xb6ѕ\x8c\x1a\xcd\n{L\x84g|\xd1LHT\x15t\xe9\xaaIy|y\u007f\rO \xf8&\xd8V%\xd9\xe8\x9ai\x1c\xe4\xca\xe8\xfc\r\x17\xbd\x81.\xd6\xdc\xc8ڂ\xeew\xd6#$c\xa5\xae\f\xea,\xd3뢜\x9a,ӓ\xff\n\xac\xf5h\xa4h\x84]\xd0\xd0\bI!\xca\x17N\xb0\x1e\x1c\rD\x86/\xdc~\xd8B\x98nS\x173\xac\xbf\u007f\x95\bd\x98\x9e{\x04~J\x8ae\xf3\x17\x9f;\x85\xfe\xb4\x15\x92\x03\x9b\t\x1f$1\xbc\xeej\x0e\xed\xa1ʪǷ\x859\x8a\u007f\xb0\x04\xcb\x05̳=\x81F)i\xd6y\\^k\x82iP>2\xc3ɰ>\xbf\x02\x97\xe9\xca@LZ\x97k\x03P\xd1\xc0J\x14\t\xac\xf4\x05\x11D\x82N\x9b\xa5\xad\x1c\x06,\xf3\x9e\a\x93?z\x83\x13Z\xd7/{\xf7?X\xa6\x1b`\xf6\xa2\xf1\xe0\xde\u007f\xe0\x84\x05@\x92P\xd6\x13\xcao\x9e\xd0\xec\u007f\xbd\xda\xdb\v1\xa0\xfd\x0fx\x87\x9eH\x92\x04wB\xaag\xb8H)\x1a\\\xe1o\x1f\xf0\x11\xc8h\xeb\xf9\xa7\xbb\xf6rli\x00\x12)\xc3\x1eQæ\xb9\xe7\x1d;9+X\xce\x06f\xb1\x8b\x11\xa3\x18\xb5\x1b\xe1\xb3<\a\x93\xfe(\xbbg\xe1\xb1\x1b,!z\xca\xf3\x18-\x93\u007f\x17FX\xd08L\x91\xfc\xeca\xc8Z\xde-\xfcZ\xf9\x98seڏ\xc5\x15\xd4\xfc\x9ea?i\x1e2\xb7\xa1HCI\fŚ\"BZ_\x02j\x13\v\xaf\xf9\x05\x01\\)\xe9#\x94kٰӖ\xf0\x1dF\xde\xe2\xf3\xe3L\xad# \x84\xb8\x0f\x01U\x9eG>ِV\xe2\xa6l\x80\xf6t\x93p\x0f\xa7jz~o\xe5\xb2?cO\xfa!\x0f\xddl\xd7t'\xa4LA籱ru\x86\x89\xa4KX\x112\xc2_d.\x8c\xa9v\x95\xab\xc7\xfb\x8f\x01\x1a\x81\xd8\xd2\xf2Bt\b>G\x97\x06\xe1/N8\xb6\vNi\xf2Ϧ~\xb6G\x85&\xe5\x89\xc2;\xfc\xc3̈%\x8b\xc3\xd8͗\b/\xfab\xc5\xf2\"+\x8a\xcc\xe4\xe1\x8dLe\x16k\xfa\xa2(/ؠ\xf3\xb6\xb4\xe5A\x1a\xa5\xd6\xc4> \x0f\x94\b6\x81\x8f\xce˂)\xde\u007fZ\x93FTIY#\x87_\x04\x82\v\xc21\x04\b\r\xff'\x88\xa5r\xab\"\xaf\xff.\xa2\x8c^\xbc\xfb\xe0m\xdc\xee@\x1d\x96\x91\xbb\xee\xaa\b\xba0\xcd\u007f7.\x95z\x15CŎ,\x91z\xacS\vy\xaa\xfc\xe20\x80q\x1bIO̥\x8b≀@\xdc3E`\xba\xaa\xccF#xq\xc3\x15\xc3\x0e\xb3\xf8A\xa1}\xf6\xc9x\x99\x96\xfd \x99z\xc7\xcf\x06ˍ5\xfb\x96\xe2.\x1cU\x85?\x86\x03)\xef*\x95\xc4\x15\xdf\xfc\x8d\xb6$[x\xc8S\xbf\x85\xeb[\x93\x99\xba}v+\x15\x17\x8e\xfa:\xc2\x1a|\xad,\xf3n\xc8G\x806\x03a\xaag\xe3\xb4ǒi\xf2\xb1\x04\x12\xdb\xf9=>k_\xf5\xec\xf6StqEɈR\xb5\xa0\xbc\x8e\xaeZ\x17\x9eo\xc0I\x19G\xcd\xd3\xf7\xc7\xe9>\x16.F\xb0$A\xe3\xc3\xf5\x04Jζt+\xa7\xca2\xbb[r\xe0\xa5\x1az\xb2\x91>^tǥ_3\xa6\xa8C\x8c8-,q\x1b\x16AZ\x89\x8c9b\x96\xfe\xaf\xbf\xca8\xe85\xdcͶ\xca\xd5ʑ{c\x8f\xd7~\"@\x1e\xfc\xf2\xba\xfb\xbe\x92\xeep\xedA\x86Kʝ\x13\xc6ÿ\xa0\\rD\xdc^2\xe0\xd5#u\nw\xb2q\xd6^\xf2\xfc\xb6\xf1\u007f\xb1\xeb)\x04\xb4%o\xdaΫɽ\xf1>`ŕ\xc6\n\x87\f\xb4K\x19\vM\xc4\x1f\xf5\xe7\xa2\xc1͑\x14V#>\xd2<\x1c?҇̿\xf55ΎTʢp\x19\x13\xd4/\x14\x92杤\xc2eܴ,\x16\x87:F\xb2\xe4b\xd2hw\x9f+C\b\\\x8c\xb5\x8d\xf1\x8br,\x96\xbb\x8b\xc9\xe7o\x81\xa5$`v3\xaf\xed^\b\xcc\xe3\x9f\xfd\x1e\xed\xa9\x19o\x031:ڍ\xe7\xf7wv\x89c\xa6\xe2\xcd=5)\t`\xed\x03\xda\x02\xe9\x8bt\xf8\xa5\xde\x0eBՅ\xbc\xe5r\x01T\xde\xcc\xed4\x994q\xcc\xd7\x1f\xee\xc6\x15\xa8ӧ݉|\xaa\xeb:\xb5mbwwmt\x96\xe2\x15O\xfb'\xb5t\x8bv\xdc`wu:ִ\x05$\x97\xa7\b\fٽ\xeb\x98`\x80\x8a쩈\xcel>|\xb2\x8a3\xbd\xb3\xb4\xf2pj\vy\xb4\xfa\xd0\xd1\x19\x05ՠ\xd5\xeb\"Q\x01\xf5>\u007f\x93A\xe1un\x95\xc8/u\x18\x83\xb6\x01隋 5\x8b\x16\xe4\x8em\x881s\x1a/\xc4\x01\xe6*\xab\xeb\xcc{W\x9a\x88&_ϖ\xff*\xbc\xa6\xc8\bZ\x88Kq\x04\xecH\xb4\xf2\xf4 \f\xbe\xa6\xa8\x02\xc5$\xe2\x8b\xf4\x84\x18\x1d#\r)\xb9R\x82\x86\xe0\xe8>\t\xebŘ\a\x9a{\xc3\\p_\x97%\xd6%0\xca\xe6d\\\x11\xc4\xddܚlH|˓\xc5\xffM\x92\x86m\xa3\xa2\x9b\xe8\x98J\x12߅\x04\x82m\x8dxno\xbc?l9\xfaZL\xf4\xd0\x11\x12Q\x83\xc2\x17%\xe6_\xbf\xd8D:7\x0ff\xe6\xe4\xe1\x0f\xf1\xb8K\x98\x06T\x86l\x17\xbce\xd5\xcbчʨ\x00\xa4\xf3Dü\xd1\xf0i9?\x9e38\r\x06@\xef\x03\x9b\xe0\xbd+`\x12\xd3\x01\xc8C\x9e\xa5\xe8pΨ\x8bhɕ1\x18\n\x00\x0f\xc6TgdP\xff#\xfa\x88\x90\x8f\x99\x17\x82D\xae\x06jo\xa9\x11\xd9\xe9m߁K\xd0lv\xe5\xc8. \xa5B\x01\xb6\xa1\x99\x87_\x89n\x929P\xc2\xc1X\xb6G5_X5\x14\xc4\x01nY\xa7\x1a%мB'\xa3\x8b`\n\x1b\x18n\xdb\xda|,\x95;g\xa1>\x13ɵ\xff\x9a\n\x9el\xb3\xa4\x82q*d\xca\xc3\xe5Q\xb9\xedR\b\xd5D\xafv\xeb.\"ّI\x04_\xa4\u007f\xc4\xd6\xc1\"ϟo3\x9f\xeb}7\x96\xb2\xea_\xd6\xf5\x06\xda^\x13P\xcbW\xca\xfa\xbd\x15\xd8-xBEFf\xc3\xe6\xa5ō\xc2\x19W\xd8r\x8dG[N\xff\xc0\xaa\xb1g9\xcb\xe7S~i\a\x89W\xa4\x90\xcb\u007f\xabDZ\xfd5c9պDK\x8a\x94A\xa3,\xeb^\x06Q\xd1̷\x8e\xd2r!\x82\xbb\x85\xaeϔ~96\r\xf3\xbc\xaf\xe8\xb5\x12\xdd\xf4\xb8{\xa1\xb4)!\x1a\xc8!\xa6MFY\xa3\xc5\t\xcd\x10\xa9w\x06\x85\x832Q\x1eVaR\xf2d!\xac\x1b\x1a\xe28\a$ӓW\xbe]yy\x00*A\x1fO\x9c?\x1d\xe7\xab\x1dY\x00vf\v:\xdesP\x17$`\xb7\xa49\xfe\xbf;\xcf\x06\xc0u>p\xbd\xf8Z\x04\xc6p\xc7\xdbX\xf4\x1fBiT\xa5\x93j\xb5\x1a\xaa\xd287\x99\xad Z\xb3\x82\".\x82\xec{\xbe8Q\xef\xa6\xfa*\xe8\xd1\x0eR\xb8WQm\xa1\xb3\x99Ofb\xbcds\xf33\xb5%\xc4e\xf6\xc8\f礋[\xa7\x82\x12\x82\x04\x88uE\xd9sP\n]R+{\xf2\xab\xf2\x81\xc8K^\x1f\xc2#\x88\"IN\xabK\xe3\x81cW~\xaa\b\xcd\xef\xe5P&[\xb2'\x91\x06F\xde7\x8e\x0fB\x13\x9e;Pb<\xb7<\xb4\x16\xb2\xa7\x12\x1b1K\u0088\x97\xebF\x1f\xcd\xc7\xdf\xfc\x99\xb5\xbd\x95Y\x89\xa7\t\x14~C\xaa\xb1\x99\x12\xfb4\xaba\xf9Vn ot7&p\xb6\xc22\xdf\xda\x03ydv\x13x\x8e\xc1=\x81\xf8\x18\x11\x134\x18+s|Ҥ\x92\x17)\xf8\x14f\x0eƅ\x98۾Q+.\xefb\xf4Z\x9c^m\xa4\x9e6eP?\xa8\t\xb4__\xee\xcf5\xb8\x1bݰ.\xaaX |e\x1b\xc8\xc7\xf7\xd3|\x94G\xb9p\\/\xec\x95\x01.w_m\xdb\x1d\x99\x8eoU\x0e\x9a\xf2o\xb5jR\xe1\xdbfz\xa0\x8d\xf2;\x9e\x8e\xbe\x83\x9fQ\xa22c\x13\x9fU\xc8ڣ\x053\x13)\xc1\xe2\rl\xcaX/\xbc\xb2\xf4.\x8eU\x9a\xd8D<\xa3\xed\x88~\x1da\x17\"\r\x8eR\xdc\xf6!\x88\x85\xc0\x10\x93\x8fZ\xd8?\xc1\x1e~A 8\x00\xe2\x89\\\x8cX\x15mK\x13\x91\\A6\x10\x9fDI`\x16m!\xda\f\x98X\x8a=\xe20\xacn\x8f\xdd;R\x06\xddI\x95+/\xaeN\x88u\fTӞ\x15\x89\x8b\n\xac,\x98h'\x014)\xaf\xe3\xce6\x16d\u007fm\xd3u\xf3\xf8\xbaf\xe3\x8b\xcd\x0esX~\x924\x19i\xf9\xce)\xb2\x84m\xa1\xc0\x8b\x85I\xba\x9f͙\x8e\x1b$\xae\xf4q\xe8t\x10ڌ=.\x10\xfdF\t\x80\x9d\xf4o\xf7E\x8f\xcb^.\xbe\xaa\x9e%\x85\xe5%\x0f\xaa\x043\xfd\xb9\xfc\xb3\xcf\xd9T\xe1\x92\xd9L\xe7\xe5\xf7[Ў\xab\x80o\xec\u007f\x19\x163?B\xdeU\x8e\x9e\u0382\xfb\xa3\x82\xa2\xcc\tm(˂!\xad?\xcd\xeb\xf1\x8e`^\xd3\"'\xfd_\x82V\xac\xc8\x14v#ǰ j^\xdf\xea\x90\x02\xa2!8\xce:\xed\u007ff\xdf\xf6?8O`Ln\x10,\x0fg\t\xb6r\x16rhO\x85\xc0fw\xa4\xfc\xa43\x03\xba\xb7\x12\xaf\x0e\x9cr\xed\xca^&\xb7\xef\xd9\x01\xa7-\xbfb\x18\xd4\xe6k\xb9+p\xaa.\at\xc2\xf6\x17a\xd7,\x14\x0f\xcd`T\xdd\xfa\x0e\x9c\xa9\xbdN\x92v\x80\x81\xb8Q\"⥖\xef\xbd\xca\xce\xfb\xe1ʼn/\xed\xe0\n\xc3\x04\x04NKj=\xeb\xb8Y\xfd\xe7\x86̤+0\x14\xb5\xfa\xcd\x11>\xe9\x14t@\xc9n\xd1۷ԁW\u007f\xe5(\x06\xaf}{\xf1\x0f{;\x96\xef\x99h7\x000\x90\x8e\x98\xa8\u007fş>`D\xa5\x0f\xfc\xffFω7\u007f\xcd\xe9\xef\x92,\x8f\xd9R\xc1\x94\x97\vl\x96\x0f\x9dVȗ\x8a\x14\x92\xf5t#\xfdP\x04\xd6\\\x03\xf9\xed\t\x9aT\xa3\xa9\x9b\xcb+\xfd\xe0k^\x01\xe5\x96K\x8a\xffR\x14s\xd3~\xa7\x81\xcdf|\xc0\xb8\xccR\"\x88\xf0/\xbd\xeaf\x15F\x87\xb1\x83\xadż\xc1f\xe0\x87\x92e\xa8\xcfƏ\xd2\x12\xd1\xf3\xf7\b\xaf\xf1\x05\x9e\xd9\xf2*2\xd6\x0e6\xc7\xf6\x8e\xbd\xffN\x89\xf7\xa6!\x89\x02\xcb=\xf9\xd3\xc3q\x81\xd6>'\xeem\xbb\"n5\xa8N\u007f.\xbe\xbaR\x1bW\xbc\xd4\xe3)\xbd\xdf)\t\xd2\xc6\x1aZL\xf6n\xdc\x16kn3\xa1\xe4\xa0\x02\xa9\xc1Y\b9x\x9e\x84\x82\x84\xc3\xc9C\xdfI\xd7\xf7\x85K7+\xddL\xbc\xbd\xfb\x8d\xfa^q\x1bJh9\xab\xbd\xfeq&\x86\x94F\xe7\xc5.\x1e\xf5I\xec\xf7\xa2\xfa\xb4\xe9\xea\x13\xe2\xcfTi\xfb\x10ض\x83i\r\x8e\xba\u0557\x1d\xe9ʪ8>\xca\x13\xad\x04\xbc\xda%\x9a\v\x06.\x9b7\x81j.!>\xadR\xbb3n\\\x94S\xe8^\xa5\x86\xe7\xe7]:\xbc\xba\x13\v\x8bQ\xabַ\fu\t\x04\x98\xfai\xd9\xff\xa4ʦ\x1f\xba\xcaj\x9a_S`\x94\xdah\x19֓\xbcs\x9f\xf1!\xee\x03\x15\xb9%\x02%\xe3{4\xdd\xdf\x02b\f\xaba\x8c\x85\x9d\xbfYK\x0f\x1c\x8a\xc3\xd1\xc8:\xb5\xf1\x90f\x8b\x97@l+kJ\xc33\xe8wH\xd6\xec\xc4\xf2h\x01\x1b\xfb\x1e\x93\xe1!\xf4\xee\x84\x12\xdcFK\xcd\\4Q\v[K.\xb2\xf9q\x15\x81A\x89:\u007f\xfd\xed3\xf1W%Mlڑi\xec\xab\a\xb5\x98f\x9a^(\xcd)\xcd\xcc\xd2m\x15a\xb2@{\xa0̢H\xdc\x1c\x01\xc2[\u0080PH\x83/\xfa\xea\x98\x14s!\x8f̑/\x19\x01M\xcb\n---------- end of script output" -time="2022-08-29T11:28:59Z" level=info msg="statescript: ArtifactInstall_Enter_66 requested a retry" -time="2022-08-29T11:29:02Z" level=info msg="statescript: ArtifactInstall_Enter_66 requested a retry" -time="2022-08-29T11:29:04Z" level=error msg="statescript: Ignoring error executing 'ArtifactInstall_Enter_66': 21: exit status 21" -time="2022-08-29T11:29:05Z" level=info msg="statescript: ArtifactInstall_Enter_67 requested a retry" -time="2022-08-29T11:29:07Z" level=error msg="statescript: Got an error when trying to execute [ArtifactInstall:Enter] script, but ignoreError is set to true, so continuing. Full error message: statescript: The version read from the version file in the statescript directory does not match the versions supported by the client, please make sure the file is present and formatted correctly (supported: [-1]; actual: 2)." ---- PASS: TestExecutor (10.04s) +time="2021-07-27T05:19:27Z" level=error msg="statescript: Ignoring script '/tmp/rootfs_scripts330071729/Download_Enter_00' being not executable" +time="2021-07-27T05:19:27Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " +time="2021-07-27T05:19:27Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " +time="2021-07-27T05:19:27Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " +time="2021-07-27T05:19:27Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " +time="2021-07-27T05:19:27Z" level=error msg="statescript: Ignoring error executing 'ArtifactInstall_Leave_02': 1: exit status 1" +time="2021-07-27T05:19:27Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " +time="2021-07-27T05:19:27Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave_100' will not be run " +time="2021-07-27T05:19:27Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " +time="2021-07-27T05:19:27Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave_100' will not be run " +time="2021-07-27T05:19:27Z" level=info msg="Collected output (stderr) while running script /tmp/art_scripts234907162/ArtifactInstall_Leave_00\nerror data\n\n---------- end of script output" +time="2021-07-27T05:19:27Z" level=info msg="Collected output (stderr) while running script /tmp/art_scripts234907162/ArtifactInstall_Leave_11 (Truncated to 10KB)\nQ\xed\rt\xb3\n\x0f\x0ew\x8eK\x16us\u007f\xcd\x180\x19\xd6\xeb\r\xecx\xf6\x04\xd8RK\\J\x96\xb1\x8f\x94P\xef\x00g\x1cP\xf3\x02\xffK^-\xb9\xfb\x1c\xd3\t\xd3T\x95\xf1\x1c\b}\xe7i+I\xe4\xc3y\xfc\x10\xd8H\x18Ͳ\xfc=\xc6\ue9d9\x14 \xe6\xec\xf2\x9f\xe0\xf9\xd1)R\xa3\xc3\xfe\xb0\xfc\x9bRث l\x12\xa2\x89\xb4=\xedkПo\x8eM\x17o\xa4mϨW\x01\x1d\xcb\xc3}\xb84+\xdd\xdc\"\xa4\xeb\x16\x98\xa4\xe5]\xdc\xe7\xe4\xabոw\xee\xccÕ\xa6\xf9\x15F9\fPdz\xa4\xa6X)\x88ޑ>\x93\xb1R&\xa4\x8f\x056\x86\xb0\x90fPX\xcf\xd8\xd0\xfbp\xbb.6\xa3\x9c\xe6\xf3\xddBdk\xf65\xc0O\x92\x9d\x8f\xce/<\xfb\xbe\xebl\xd1\u007f\x1c\xb8\x9d\x0f\x95\x01_%\xc1\xe1b\x01\xf9:ڸx|\x8d\bu\xf3S\xc3zH\xbc[\xb4\xd3:\xc6\xde\xf2S\xfe\xf5o\xb7py\xe0\r.#\x9b\xbc\x0fE>5I\xe8\xfc\xbc\xaa\x9c\xc4|\xa1Ѱ=\x1d\xdc\xcf8\xe6\xd1\xf6w\x1a\xc1\xe8\x02\x8a&\xe8\x0f$$\xa2\xc9\x0f\x9e+\xaeʨ=\xa7\x9bk\x12\xb5\xef\f\x10\xc9a\xbe\xa9\x1f:\"BNU\xf7<'\xf3\xec\x1b\x00(\xf4\u007f\xc3\xdc\x13ۇO\xfa\xf2\xb6\x18\x17QH\x88ݣ\x03/8\x89\x9e\xf2{}\xdd\xf2ܣ\x13\x91\no\xc3\x02\xbcY\x93ד^t\t\x96\x03\xecWy\xda?\xad\xefz\x03y\xf3\x0f\vV\xbc\xfaʋo\xc2\x1f\v\xe8z\xed\xf1\xa4u\x88\xeda3j\xa6\x12\xb6r\xb3\x82 \xb1\nĵ\xfa\x12;釋\xc1D\xe04\x82\x8fN\x88K\xdb瓌\xac\xe1\xf3\x96\x0f\xe8\xc6\xf7\x99F˦\x83<\xadG\xcd\xfeA\xc0\x94\xc6\xf6\xd6v\xd7 \xd6\xd5F\xe6Bn;5\x04\x0f̈́-!\x86%ё\xf9\xa6ק\xb5\xdf\x1eN\u058c\xa0\"L\xd2\xf9\xb1:\xe4)\xf4[\x17\x97\x96\xf3\xc0@\x9c\x92\xdb$\xb5I\x89\x97\xac\x8d\x9e\xeb\xf8#\x95\xff+\x0e7\xddC\xe6t\xe2sPs\xa6\xb3d\xfe\xe1>m(\xff\xa4\xbc\ra\xcf)\x97\xbb6\xeb\xb4)\xbe5_\xbca/V\xdb\xc2\xf4+\xd5ܚ\xee\xd9\xeb\x90b\u007f\xbe\xbe\xb4|c.j\xf7ֵ\x94\x85\x9d\xa0\xcf#\xfd\xba\xa2[\xa3\xb4\\\xa6\x1f +\x17(\xb2\xed\xf7bh\x03\xe2`S˿/Y9\xe8{0\xae\x04\xdc)\x01I\x1e܌\xea\x1a\x8d\x82\xef\x13\xba\x96Z\x91\x1ct%\xb1\x82\xd5\xccE\x86\xf3\xef1\x87\xbb\xa7_\x87\x06\f\xc7w\xca\xe1;ģ\xea\x8f'<\xf1\x90\x06\xce\xe1wc\xdfܕb\\\xe0\xa8\xd8.\xe5D\x8f\xd8\x05@\xb2\xed\xac6\x12\xfcO\xfb\xd1\xe0SiK\x06\x14\xa1`S\xb2\x1auU%\x00\xaa\x1e\xf4`\x9b\xc9\x03\x14 @\x0e\xc1\xf0\xfe\a5[\xc7_C\xda\xf8#\xa11ݥW\xa6\xd1yB\xad\xe0\xa4rB*\a5\x04\n\x0e\xe2|q\xbee\x0ff\x97\xa4=\"IZ\x9f\xb8\xfa_\x03\r\xbf\xb7\x88\xa5a\xbd\xce\xe5\x9e\xe8\\2!a\x93t\xc2\x03\xdc\x1d߫o\x85\xe2\x9b\x1c\xac\xaaL\xa9\x8a\xdb\xc3\x14\xf3^\xe8\xc3\xd4q\x1aN<\u00a0\x99\x85\xefU3ۙG\x8d\xaa\x0e6\u007f\xd4\xdb\x1a\x8d\xef x\fү\xa3\xeb1\xa2\x83?T6'\xfc\xba\xc6-F:\x92\xd8i\xe8[#o\xb2f\xb77\r\x82g\xd0V\x1f\xd7x㜩j05*b\x9d\xec\x02}Ղ\xe4V\x81\x834\x13 \xd6\"\xc5\xf9\n\xfe\xcbl\x9awș\"^>h\xf0%\xe7P\x86v\xc9\xf5\xdf\xc6\xe2\xd8_\x8c!\xe85s\xf5\x06\x10\x85뼰\xb6\x9at\xd9\"a\x9b\xe2s\xc1\x1ep\x0f<\x0f\xac\x9a\xb5\x1d\xf1é\x9eA!6ctLk\xab\xbeD\xf5\xd9F\x8c\xee\x16\xbc\x9f#y9\as\x17\nڨ\xc3I\x8e\xc0\x05\xb1&#\x98\xe2\xbcb͏\xe0\x1d6\xdau\x1c\xb9\xa4\x8e\xd2y\x1d+\x13.\xdc\xdf\xe1۲y7F\x86\xf4\x9a\x12\xa2f\xd5\x1a\x9b$#\x93RnH\x83\xa2\xdd\xf6c[y\x02^y4\x9c\xb70\v\xe2A\x8e\x1c\xd3嫮\x8a\xb8\x9a\x88\xc5\xe3W\xff#؆έ\x05j\xc6\xf0\xbe\x9b\xe0\xa7Hu\r\x1d[\xe7˰Z%\x97\xab\x841I\xa9o\x05\xd4\"\xdd\xc7\xdbⴋ\xb9\xe4\xa5}ߴ\x00\xc4&z\xf8?iK\x8a\xbc\x96^\x1e9[\x89\x01\xa7\xbf\xa7W7!\xc5\x1a\xb3\xf4җ-\x85Z\xffxd\xdd\xddІ\xc4$\xc6\xd0jo/CF/:\x91[\x82\x88\x1d\x1bΦ\xd1\xd4-\xf2D\xb6>\xc7k\u007f8\xc8&\x13U\a|\xab'\xea\xa5\x05*\xd7ıՎ\x1cqŊ\r>*\xf4\xad\xbeꩯ\xc8\xf77?\x16h\xc9V[P\xa6J\xfb>6 ?t\xbd\x89\"Y\xcc-(\xab]&q\xb3\xeaq\xff\xe0\xdc#c\xfa\x12,71\xc1g\x00\xc6]\x81\xc7\x1er\akg(\xc3-\xea\xe3l%\xdc\x10\xc5\x1fo\x05H\x9f\x96e\x00\x80c\x83\xdc4\xa6\xdb\xeaS\xf5Z\xcb` F\xae\xec_{Q\x91\xee\xca~h[\x10\xf5\\\f\x9a%\x15Z.\x14(s\xa7\x10{dG\xe2\xd8#\xbc\xb3\x11x!\xf9\xee5\xbd2\xcc\u007f\xfa\xbb\xf3\x11\x94@\xf66\xcck\xd6\xef\v\xe2ӑ\xa3\xbf\xe0\xdaƇ\xba\x9c\x04\xe0\x86\xa5}\\\xbf\xf7A\x06\x87G\xba\x97.\xb00|\xc0\x8f2\x88ڸ\x00B\xfe\xdf\x1ca\x9e\x8bOWR\xb7{س\aq\x86\xb1T\x10\x11GW\x86\xda\xd2Q\xe2\xc7X;JQR]L\x9a\xb2\x9e\x01\xad\xc3\xfdޚv^\xd4\x05~\x19\x02\xc5ח\x86C\xfb$\x9c\vvz\xa1/B\x10\x81\xf5\xbd\xe7\xdf~o\x834~\x197\x8e\xa8E\xa1b\x03o\x99Z#S\xc3\u070eAY\xa5\xee@{ R\xcd\x18X\u007fu;\xfc\x8a\xc0/Y\xfd\x93~|BA-\xaf^\u007fν\x8a\x8d0\x11\x193h\x81\x86'6Ҧ\bm\xeb-\x18W\xe7O\xad\x14B\xc0\xaeӅ\xe8\x8e\x02u\x9d\xe2_\xe8䁬\xce\xcb_\xeb\xb8\x1c\xe4\r\xe0\x02͉\x92Ұ\x9b\x8bj\xe4\xd0U\xd1%`?\xfa\xa8\xbc\xe1 J貶b\xfa\xf2\xea\x85V\xbe.\xe69:\xb4\x94\x16|\xcf\xee\xed?\x1fߑ\x8b\xfc\xb4\f\x89\x9f\xb0\xdfyFu\v\xe4\xa5\xcb5Ip.8\xf6\x99\xe6\nh\x02I\x9b(\xd8|\xddq!\x90\xd1J\xa7V0\xa5\xb3\x02\xa0\xa3\x9e\xf2\xe33\x9c\xf9\xa5\x903C\xb1\n\xa6\xb0\x0f\x95\xc6f\x1e\xf9\xa1\xc8\u007f\xbb'%\x9d\x11\x16\xa2`\x93\xb6\xf9N_\xd4V\xf3o;>S\xaa\f\xf4\x89魂\xb0c*\xdbY~7]̹\xd6Q\x86\xbb\xde0\xceЙc\xfe\x15\xd7\x19B\x9cv\xe9\xe0\xb2Wl\x1ff%\xac|\xbb\x84\x1f\xf5\xdc\xd7\xc4\xf9\xc1d\xb0\xb3oK\xd2\xe6;\xcfĚ\xb3\xe6\xd4Ƒ\x8d\xb3\x8b\x8e\xe73t\x9b2\xda\x18uo\x15D\x19\xce1\x9a^8\xc0\xd2\xeb\xf2L\":b\x88\xc0]\xcd9\xf2n\xef@uM\x8a\x95\xe0q\xf21-\xa4]f\xc7\xe5\xf6ժ\xfb/\x13\xb0}\x11.\xb8j\x8e\x82>\x92\x028\"j\xf2L\xae\xb4g ɑD\x03!ㆸ\x13\xc5\xf0:Ҭ\x83\xdf{\x82x\x13\xad]M\xad\x85L\xe0\xa3\xc2\xcf\xf9x\x85\xbb\xa8\x8dЮ\xe5\xf9fx1 \x81\x91\xe2qΜ\x13\x16\xea\xc6\xc9_\xce`\x99\x91\xd7<<-\xe7#N\rK\xc9\xf8\x16\x19\xb5]\x1e\xba8Ck\a\xbf\xffU/\x0e\x14@\x92^œ\x1b\xc1\xbfM\f\u038d?\xcb\x01Ѫ\xdf}\xb9\xcc\xf9K\xe9\x8a \xe1\x9fog\xfe\x10O\xf7\x85w\xa9\xa4\x93\x80\xaf\x89%\x86\xcf=\x87\xadRpou\x97\x95\x857gW\xfdH\x1f\xb5\xa00\a\x90Et\xb7*\xafє5\x9b\xe4\xf3\xe1\xa3X@\x90NH5\x91\xb7\xef\x8ad\xa4\xb7pE\x89g\xbd{\x85\x81\x0e\xd6\x12\xff\x9ay\xe5\xd9R)7b\x840\xf5\xfeT\xe3\xacQx\brj'\xc9U\x96\xa3\"\xab\xe4\xa5\x1aQ\xbd\x87\xe0t\xba\x8b\xb4\x99Xz\xc4\x17\x93\x04w\xdc~\xd1\xd5\xc0.&2\xa97\xce\xe4\xea:\x94-Z\x8a%\xedMh˫\ajPܝ>\xf7j\x9c\x9a\xd6ٛ\u007fF\x83\x06)\xf1\xc1\xdeɨ\x8b\xedxhq'\xf6\x89\xd5\x1a\x8c5\xb5\x90\x11\t\xbb\xc0YF\x99\xabAL\xd7\r\xd6:\x8f\x0f\xb1\xac\x14\xa1d\xa9\xbb$S\xedK4\x13T\xc0(g!ϴ\xa1Ž\xc6W\xbe\xc9.\xc7e\x90j\xea2\xef\x92\xdc\xce\x13U\xdc8(ا\xd2\xc9r^2v\xfe\xaeY\x02A>w\xe4\v\xf7G\xb2\xcb#*\x97\xb8Fx\xec\xdd\xebFn8-\xf3\xbe\xf9\x83\xcb\xd9\x1d\x9d`F\xc1\x19\x18\x05veB\x92O}/ \xd3\xdfcL\x96\xfb\xa7\x91\xadM+\x16\x8a\xcf}\u07ba^\x15\x02\xa9\xda6\xcb{\u007f\xb9\xea`\xa1V\"S<\x84\xd0U\xfbzC\x82\x03\x11'\f\xe1b\xa7,\xe6\xa9\x06\x97\xf6\xbag\x01Ώ\xadά\x94\xc4\\\xc7\xf1\x10\xe4\x8d\xdb\xddt8\a\xd2\x18\x9d\x1f;\xd4\xf4Hw\x84\x96\x00A\xac\xc81Xx\aݴ>DIj\xbd)z\xfc\xa6\xd1\x15\xbc\xd1]\xb8\x17f\x841\xfcnx\xf0,\xf0|\xb7b\xe2o\xa3\xa7\xaf9\xe2q\x86C`\x8e\xe0\x1c\xfd\xb8\xd6\x15\xf5<\x93m\x96$W]ue\x87\x87~jPD\xc75?\x8b\a\xf36\x15\xf2<\xca\xfb\xd1j\xac\xb1\xcb-L\xf8q\x9b\x9c\f\xe0\x87\x1c\xcd=\xaa\x89\x94\x00\xf8\x01\xf6;X\xf8\x95\x169NM\xbe\xb2X\x96:\xa34\\\x9e\x8a#\xb1[\xcaj\x85\xd6T\x98\x14\x93\xe3H\x98\x0e\xe4\x0e\xe7v\xb4YDLq\x01\xcdi\u007f\xa8\xc1\xb2\x85\xa6\xbb\xcb0ޔ$\xc8A]|59eֿ\xbe\xf4\xf2D\xf0c\x95\xcf5\xc0c\x88{\x9e\x1c\x82\x14\x03,\xa4\xf5Ú\xf2<-u5\x80[\xa7\xec\xa6=\x01X\xd7\xff\x14\x1c\xff\x8dIˊ\x95\xef\x12\xc1\xb9\x17\xe8\xff\xed\x8b}2I\xb4X\xfa\x91\x1a\x14*\xbd\x14nK\xf5\xb8\xa7\xe6\x01_\bl\xf4\xfb`\xf8[\xa5\xe6\xb6\xdb8\xa25l\xf2\xc9\x13\xba\xbd\x1aJ\u007f!\x02$\"\xc1\xe6omx\xe8\xfaFĎg\x9e\x92V\xf5&0C\x82\x12w..\xffk\xad(_\xf6M\v\x82)7\x9d\x80&:\x18[\neӻ`\x13\xa4\xa1\x8f\x87x\x19\xbap\xdb\xec\xaae8\xa6\x90\x86=\v+\xf9\xf2\xa3\xbd\xd9s\x96\x01\x85k\x80\xc2\xf5+\xa3ت\x10\xc4EkC\xf1\x8e\x11\xf1\xba\x81+\x03$(\x91xxؾ\x03i\x1f\xcbR?\xf4<\x12\x02P\x91\xd0\bL-\x04nB\x05\xc0ϕ\bn\xb8\x9b\xb2\x1e\x877R\x18j\xbcU\x8c-{\\9\xa8\xf9\xc2\n\b\x83\x93\xca\x03\xc2{ӻ\x81/\x98$\xf8\xa8\x95\xcb\xf8\bdZ3\x80v\x1c:\xa4<\xafa\x9dQ˗\xa4*6r\x0f\x1cd \xc3̐c\xd4\x133e/ɩ\x1c٤\xe4\xca3\x84:y%q.\xafn\xdc\xcb\xc6y;\xbd\x9d\xf7\xae\xc0\xe2d\xdd4=\xaa\xed^l950\xe3\xff\xd7:|\xc0Gl)\v\xcd2`\x85Ye\xea\x03\xea\x1et۠\x83U\xe8<\xd5\xf7R\x9b\x0e\x94\x88.@4`\xa40\xac\xe0\a\x02\u074bqN-x\xfaN\xdc}\xceh\tC\xf5\xf9\xa1\xe5\xf8\x85\x98\xb7\xa4\xa4\x81I\b\xe6\x9f\xf9B\xd3\xeb灶\xf8p\x9ba\xf0\xac&\xb6\xdeJ{\xb7\x1a\xe1\xdf\xca\x003G\xfd\xf8GK܇I\xc3k@\xbc\x10f\x9b\xe0\xaeS\x01\ue2a2\u058b\x89\b\x93vrӼ\xc2_\xd8\xfc\"\xb7\x9b\x03\xaa\xfa\x84s\xbb(\xee\x9ft\x03\x06Z\xcak\x81o\x85N\x85̜\x1c \xe6\a\xfe\xe0ѧJ\x19>\x1aI\xba\xb69t2\n\x84$9\xe0\x16\x85i\xa7\x960½K\x03r\x1e\xaa\x8d2ۙ\xfe\x90CЄ\x87pc\xa1\xc0\x83\x17|\xefQK3l\x03\x9e\xbap\xfau\xa9s\\\xef\xd0uІiq>\x82\xc1>X\xf1\xe6\xa5\xd7!\xef\xdff\x85\xb3\x10\xec^\xd2q\xe5tW\a?\xf2#|\x8b\xa3\x1e8\x9fw@Cw\xbb\x05\xf5\x99\xa9\xbb9\x85\x19\xb2A\x00x\x1cxl\x93\xec65d\x8133\x00ޚ\r\x86\x9b\xf5@\xdc?\xbb!2R\x19( \xa9\r\xbe\xc8h\x92\x967S\xa4\xe3`\x96\xed\xbd\xb8:\xd5\xf0o\xd5H\xceI\xe1$\xec>\xdd+|\x9cy1\xbd\xf1\x0f\xfc\x17t\xeeX\xa6c\f&\xee\xec\xd2VW&~\xd8:\x00\xeb\xdf\x0eVw\x81\x8d\xbe\x91\x06\xd5q\xf5\x90\xb3\xafü\xe8\xd1\x15\xcbj<\xdb\xcc5\xe9 d\x03g\x8d\xbe\xb6p#\x84J\x9d\u007f\xf2^\x83\x8ckT\xc7\x13\x90\x1bq1\xb1\xfd\x0fxҬ\x17\xc4\xf2\x10\xdc\xd6G]IF\xae\xcbΉ\xf3vS\\\x04g\x1c:B\xfej<\x80QeS\x8d\x1f\xd0\x01\f\xe9\x84I\xb8\xa2#\xee\x11\xe3\xde\x009&\x1b\xd7y\\\x9a\xc4\xf6\xea\xacXkPU\xed\x155\xa3\x02ڗg/?\x1dY\xae\xa7\xd1ƓT/O\xed6]~\xd0\x1c\x8b\x92_\xee\xe3\x92\xe1˛s\x92p8\x9f\x94S\x82\x81q\xeav?\x1d/\x06\xff\nsM4\xf3\xa4{B\x0fXh\xe1\xfb\xf2縝\xee\x99=\xdal\xdb\x11զ\\\xd1V({n\xaf\xe0\x99'\xbf\xd1y,\x03\x0f\xbd\x1czB\xf3\x87\x10\x1a\xbd݀\xa9\x94\x8e\xb8\xccC\xdckJFf\aV4\xc3\u007f[\xa0>h\xbc\\\u007f\x12\xae\xc1\xdf\x010\xfaa,T\x8a\x90\xe1yo^7\x10\x12\xe5\x040\x98ھP\xf0\xd54\xd0\xf7E\\\xa2\xc6~|T\xc4\x067f\x12\x03\xeb|#4T\xbbHs\fm\x9c\xbcB\xa1H%\xaaK\xfc\xdeI\xee\v\x8e\x88\xaf\xd6˲\xf2\xac\x8a\x15\xc9\n\x13\xaf<\x05\xe5*ã\x89\x02t\xcd\f:\xe4\x8c\n\x1fN\xa6\xf8-O\xe0\xc7Y\xa2\xeb\x91t\x16'\x83\xd6+\xe1\xee\xf4\x84\x1e\x81R\x17\xb0>G'\xaa \x15\xa4at\x82!\x85\x16zwh\xc0bm\xf2\x95.\x190\x849\xb1\x19\x06iaħ<\x14\xcclق@}\xa8cP\xa7\xc75\fN\xe3\xe7\x19\xfc!\x83\x98h\xa5\x194\x17:\x8c\xf5nyt\x0f\x18 ])wO+0U\x8c\xafk^\x1c\x1d\xb6\x97蒭\xdb\xd3\xec\b\ua634\xc7wE\"K\x0f\xaa\x85n %\xb8\x12\x96璌\xc4t\xe2\n\x97\xb03\x005@\x8a\x17c$x\xb27\x88\x89\xb13\x92\xc2>\x9b\xa74E_\x02ɰgRD\xff\xb6J\xc1\xbe\xe5m\xf4\x1f\xbdQ\xf4\xf4\x9a\xfd\xf7%,i_x\xf0\xf83\x91j\x98\x11%\x05\xbe\x86Q\n\xf6\x1c\fJ\bR\xbeb\xd8x{w6\xee\xfdy>{\xec<\xa2\x93\xec\xdf`\x99E\xb8\xcfp\\N\xe8\x95!\x1f7\xd9I\xa4SQҨ\x05ܥ\xfd\xe93\t\xb2@\xcdT\xb9\xbb/\xc46\x98mIxq˜[\b\x17\xddE\xe1\x98\x0f\xad\x97\xc5\x05\x12\xc1\x9d\\\xb4&\xf9\xb4[8H\xfa10_\xa8p\x17F\x1e\xc3\xce@~\xa8\xe7\x8e\x00hv\xb6%\xe9(d?Ɨ\xb7\xd5y\xa0\x97Ns\xc2 \x15\xeeg*f\xb4_=\xaf\xce+z\xbe\x99G\\\xf6,h\xe2\x1a~\r\xf4\xd0\x06\x89+\xb0\xbc\xd0O\x8f.Vn\xa5\x8e\x85\xe7m\xc3\x18\xc7^\xa2\x17%\xff\xd8ݏ\x0e\xaa\tV\xa6ܙ<^=\xd8k8\xe0G\xacH\n\xb6\v\xb8\x0f\xfb\x99\nM\xe0\xb3\xdfےciY\xd5h\"P\xf9\xc2\xef7\x9ay\x14\xa8;\x94ukX\x17s\xd1\x19bُ\xb3b\xa1\tw\xa6\x93h,\x05\xe8\xca\x02\xaaݝ\xa2\x1e\x92\xf44<\xbep\x19\xdc\xecc\x86\xe9\xa6\xc7\xfc\x87v0\xb5\xd5Hĵ\x06\xfa\x803\x83\x02\xa0\xbbђ7HG!\xab^\xfa\xa5\xcb\x11Yr\xe2\xb7 \xbd\x19\xec\x0f\x02z\xc6[=Y\xbdF\x0f\xdaq\xcc\xfe\xf5d^\xc3\xc7\x1dt)o\xf6C\x87'\x1a\xc2\xc1\xb9\xa7\x87\x8b+ĸ\xe3W\xderw9<\xf60\xa2\xb6I/\xbc5\xad?~\x90\xf9KtWi\x1d;\x83渻x/\x86\x19w\x87\xab\xf2\xeap\xa5\xea\xdf.w\xe1\u007f\xdb\xe89ch}e\x93\xd69\x13\x00槤\xeb\xdfsFh\xb6[3\x9bAd\a]\xb9\xceq^!\x91\x1a\xe8UMk\r\xdfIY/\x14\xed='\x13\xbd\xf4+\xf9>%\x9c\xe9W\xcfA\xf9\x9c7\x12֤\x97\xe8\xf3\xa7r)\xa2|\xb9\xd9H\x05U\xea꼹\x98\xc2\xea\xf6\xe8_\xfb\x8d\xed\xe9\by\xb93lm\xda'\xdd6\xe3㋮i\x0eJ}\xe6\xf7\xd8\x00'\x9c\xae頸\x8f.\xbe\x10\x00\"#\x87l{\xfeq\xd7^\xb0\xab\xe6o\x10e\u007fo\xc9\xd2R\x1e\x8d\"-\xe3\fc\xac\xc2^zR_Q\xf9\u007f\x06?E\x8ci\xb6Mi\xee\xc3+\xffw{[0\x9c+֞\x97*\xe1d\xd0OHK;m\xc1\xe5\x01'H\xef\xe0T\t\x8f\xf6},\x86\xe1Ew\xc1\xc8T\x86\xa8\xc70*\xd8[L\f,>\x19\xc0\xea?\xe0\x12\v\xe4\xf9\xb4\xd1\x18S\xd3Q\xc6^-nP\x82\v`^S\x03\x8c:-\xcb\xe7\x0f~&\x12\xff\xfcJ\x81\xadpo\x0fϠZЌ\x14t\xf8\xac\x95T\x03iC\xb0\x10ZBko\x84\xc6!M\x81\x19\xadx\xa2\xae\x05\xb0\x1bt\xd3\x17\x8a\xe6\xaa@I\xf2\xfd\xd1\xf0\x1fA\xed\xa2\x88&\x14X,ߣ\x0fZ\xb0\xd8\x02\xfdB\x96\x13\xa6\x15y\xe7\xf8\x81k{P\xb6\xf3e\x9e\x89\xd4\xd2K\x1a;\x80|\xc7\x0eEF| ށ \xaa\xf5\xe5\xb9s\x93^O\xfb%\x19p\x107\x1c\x16\r\xfdQ\xe7shg0\xc3\xdfσ\x00\x98\x8d\x80\x87\xb6\x18ڸ\xb0,\xa7\x98\xaeof\xa8 \xd4~\x9b\r\xeb\xc0\xaaH\xed\xf2\xc7ms\xd2\\\a8\x13\a\x8e\xb4\xcdc\x9cp\xc2 \xa7\x81T\x99VM_\x14OjS\xaf:\x9f[]\x8fe\x05I\x8a\xd3\x0e7^ed\n\xe9\xafNb\xaau\xa91\xd3]\xb1\xf9I;7lF+\x94S<\xec\x89E1\x9b\xc7}\x1b;\x96|y\x8bRӇ\xa7> \x15\xe7,c\xb4_g\x92YL4w\xb8\xea\n5\x83\xfd\xb3\xb1za\x94\xe2\xa1m\x85\x9dG\\y\xeb\xcf\xc1\x1c\x89\xfb\xa0L\x9c^\xf9x\x18}\x9f\xf5\xa1\x8b\x99\xbbw\xdd9\xf3'\x94\xe9b\xbc\x1b\x9e\xdb\x14\xf0\xde\xc7\xc6\x04\xba\xe2i\xf0s58E\xd4z\xc7䇸\x05\xe5o;\x8d\\\xc1\x19\xca\xc2O\xd2-\xf0܁[^)\x1c\xc2o\x04\xaf\x93\xf1\xa6\u0557\x9bӭk\xc9sٿ\xfe\xb2\xec\xb6~(\xc1\xe5\xcd\u007f\xec\xdf0C\xcb\x01n(\x12t~\xfdJ\xa4֊\x81B\x84_%\x9f\xa9u\xbf\x9b\x88]&\xf5j\x15\x86\x1dl\x9f\x83۶Y\b\xbdF&\xc7\x18\xed:ͽ\xd1B\xae\xb3\x92\xb5y\xfb\b\x0fl\xc9cn\x83\xb7\x15~J\xb4%=\xb6\xe8,\xc4d\xec\x13N\x8cj\vR\xbd\x14^-\xbb6\x80/\xaa\xb3\xacFwj\x103:宋\x15.\fF\xfd\a\xfaV\v)\x9f%\x8dz\xf4\xf6\xd23\xb0\x99\x1c\x05;\x80 c\xc8\xe1\xfa\xb3λ!>\xb6\x9eA1\x97p\x9fw\xe7P\x94\x8cڭ\xfd(\xcd\xefn\xf8Dv\x93\xfe\x1d\xf5\xf2G\xfd\xa9\xdf\xe9\xcb\xe1\xaa#||J\ak\x00\xe5Y\x9bCU\xba\xac;E\xef\x14\x11\xbeB\x9b3\xc8#\x9eֺ\xa6\xb8i\xdd[W@hY\xec\r\x1d\x18\n\xbd\xfd\xdf\xcd\x01\xa0T\xff\x04Ŗ\xd9DL\x93\x1dQk\x0f\xae\x8a\xae\xc6n\xf5\xb1\xacXlT\x1e\xfe7l'\x8b\xc1I\xc7qa\xda[dFR9\x9f\t-؇oE\x05 &\xecʨ\xd4ݖ5NCi\x1f42\xff\xe2fS\rٵ\v;\x80\xa0\xb9e\x84hQ\x158\xe0\xcb%h\x8eX\xb4\xed\xae\xc0\xdaB\x0eH\xce\xc6_\xeft\xc5x\x0f.+\xe3Ԟ\x05 \x83\xc9#O\x16\xa9検̴\x13\a8C\u007f\x14\x13D\x96|\b\x9a\x9ba\xe0@\x06?tD#\x95\x81\xe3\xa3\xd6J\xb5\xb9\b\xccO\x12CW\xff\xc7\xf7\x9b;\x85K\xad;]\xf6\x1e\x0f\xadX\xd3}!!f\xe8\xdc4/\\d\xf7\xfd }J\xc6l,\u007f\xfd\xc5\xd3\xf4Tk\xb6\aq\x9d\x9d\xff\xd6%\xc04\xe7\xf2\xf7\xbc\xcdM\x96f\xc5\xfa\x06\xb0\x97̕\az\n\xf5\xa5\xe5|\xb1eO\xb9M\xde@O\xb1\xb7q\xad\x1dc\xf4\xa1 \xdbat\x8e\x00j\xf2G\xe5A\x17\xb4\xf4\x1d\xcfd\x04ו.\xa35\x1e\x14ư\b\x91\x15 `)\x8e\xe9\xe5/\xcdQ`.\xf7\xb3\x92\xf8\xb1\xf2\x05Ӟ\x8d/?\xae*\x1b\xbf,\x8b\x8dP\xf8IC\xf1.\xab\x85\x97]\xbc\xe2\x12\xb8Pq7\xe1<\xbe\xfaC\x82TByX4\xce\x05B\xf1\x8e哶\xb6P\x95\x13\xcaL\"'7I!\x0eA\xb0?\xce܈\xc5\x11\xedu\xf9g\xd5R\x10~\xf6\xf9J&um\a )v\x96\xe1H\xc3\xe5\x81\xf5\x00\\'+\xf0걽\xf9\xdc\x10\xc2\xd3\xf6\xfeL\t\xa3\xfd|jV>H˻\xf3\x82\ue955\x1c ~,6&\x03\xfaĹ\xf6\x02\xf7u\x17\xd9\xdd\x13\x8e\xacB\x99\xc2\x03\f\x8f\xa7\xff\x12~\xf2\r\xff\xaf\xdf\xf9\v\xf5`\x81\xd8\x1e!\xcd\xfd\x0eY\xd3N:u\x8a'*\xa7t\xad#O\xf1\x80\x89\"\xd2\xc0_\xdc\x0f0\x8c\x1f\xce\xff\x8d|\x14K\x1f\xbe$\xa7\"\xcf\xda\x02\x99<)M\f]\x16\x101\\\x9d\xf02\x0ea#ʕl\x12\x18WO\x90\x8e\xdd\xe4\xc7\b\xa9\x8b\xa8,\xab\xac\xec\u007f^q\xbe\x87뼩Tk\x1e\x04\xecG\x92h\xb4\xc0\x85\xa2\x1e\x04\xe8ڋ\x98\xf2\x17|\xfbU\xb1\x87/k\xa9\xdd.m\xeb\xc6\xcf\xc9u\u06dd\a\xc0\x04\x9f@L#\xf4\\\xd7\x18\xa7Gś\xe7\xf8E\xf3\x11A\x17\x10gz+\xc5t\xaeG\xaf~6\x9f\xfaԱY0\xd1\xf2q*\f\xee]\xf9k:r,\x8e\x8dU\x98\xccl\u07ba\x96\xaf\x86\x84\x18>\xa1\xa7\xab\xfbT\xce\xfc\x91\xc0_\xc5M\xd4Ӕ}*\xac\n\x904M>aS\t\f\xb7\xb9N)\xa5\xc3\x01o\xea\xceN\x13 F\xfd\xcb\xe3\x11jpcJ\x87\xf7\xb1\x9c*\x99\xd55\x02h\xdd~\x80\xf3펃S\xf4\xb8\xb3\xcb|KP\xec\x1cO\x06.\u007f8tY\x89\x98\xbf\x89\x93\x83\x99\af\x80\x02\xacdͥ\xfeܩ\xa4\xd8ޮ\xadP\x84\xb3\xd0@/٘\x1a\x82\xd5\x18\x88\x01\xa6\x03xjᙙ\f\x87i{Mm\xc9>\x80\x92a7\xa1\x1cK [\x157U6\xa5\xa9\xc7\x1a\u007f\x93\xb4c\xfd\xf1\x80\xc0\xc5[\x06\x9f\xebM\x93;\xf3\x05\xad\x04\x0f\xfc=\x87L\xb6\x1b\x11sY\x8b\xa8A\xbf\xcf\x1c\xa7\xe7\x82e\x1e\xd75Q\x83\tE\xb8\xe7\r1\x10\xdf\xf0\tr\xdd\xed\xd0(\x06\x8e@a\x1d\u007f\x14^N<\xd7\xfb\n\x87\xf4\xae*5\xeb\x90D\xa5\xb2\x81P\xc7/\x83W\xf6Tt\xbb>\xb0㳿aQ\xd3i\xce\xf7\x9ar\x86l49\xedsz%SL`\xd1|\x80A\xf6\x13\x99\xcbr~{w`'\xdac\xa9\xa4B\x91\xafcPz=\xa7~Y=z+\xaf\x89|L\x12\xd2\xf9\xf8\xf9\xac\xe0\xff\x94\x05M\x95\xa3\x81\xf0\x81g\x02!\xa3\x9f\xb6\x87-\x94q6\xf9A\x11u\xe5\xb1_\x9eX\x83\x8b\r\xf3m\x01\xc0!g\xc8\x10l\b*\x9aOe\xa3\x9d\x92\xfdɂ\xd49\xd6J\xbf\x9dAt\xab\x1a\xb4\x10\x8e#\n4BY\xf6<\x80\xec\x9fWw\xe9OT\x97\u007f\xfb\xe8$X\t\xe1\x06\xc2M\x87\x9e\xaduh\x11b\f\xff\xf7\x8e\xab\x96Q\x13\xcd\xc5\xe7\xdcY\x99\xf8\x1c\xbeq\xdbb\x98g\xe1Á\\I\"\xb94M\xd3Y_)\x8b\xdf\xdb\xdd\x17\x19\b~\xd5\x01\x87\xe2z\nA\xa2ZX)H\x98\x1c\x05/\xb0\xb4UW\x8b*4\xa6\xaa\x81Ҵf\x15\xe5\v\xfa'\xd9\rI\xea}\xec\xc5\xcbOH\x85I\xe0\x80I\xaa\xba)\x03\xfe\xd3\b\x05\xea\xb0\xf5\xe7\x98Q\xa3D>.&Ӿi\xb9q;\x15IY\xcdy\xf9\x14cJ\xf9\xf7\xbb\xd6\xde\xcd9s\x13i\x1dk!\"\x9a\xe3:\x94Ǚ\xe8\f6\xc6\x1c\f\x8d}\xa1\u007f]/\xc2\xd4c\x9f\x88\xb3ק\xae\xf0\x99\xbf\xdc\xd1Ԭ\x88\xb9i\x9f%\x1e(\xa9\x1d\xd6\xff\xba\xc5ԫ\x1b5pW/\x0fr9\v\"\x19!\x0fOBйqV\x83Gr\u007f\x9c\xeeC\xcd2\xf7\x80\xfep\n.S\xd9\xe6$\x8c^\xc6ݫ(\x04Iյ\b\xc6\xe5VG\x0f\x16$B{\xed\xb9tT{>[\xb3o\r\xd2|\xd2\x12\xd4\x01|\xca\xd2\xfb꽂\xa9\xe9\xeco\x8ch14\xaa\x9a\xae\x88\x88\xbb\xbc\x97}\xe1F\a\xd2\x15\xa5(\xe7\x06S\xbaG!\x94)\x87\nHF\xdfZ\xedk\xeb\x94\xe3\xf2\xf7\xf26\xeb\x9ag\x9f\xfex\x8d\xf4M>tz\xf2\x1f.\xae=h`\xc5\x13\xc9\xfc\xb1\xe9\xcc:{h\xfaE /\x89F\xbfW`\xf4k\u05f8\xa6f\xa3\x85\xf50$_\xb9\x85S\x18\x06\xa5\xcbz\x95\x0f\xe6e\xadThI\x8f\x91x`\x8a,\xbd\x9f\xb9\xb4\xeaE\x94H\xc9֥$\x1b\xfcov\x87\\\xd1#\x0fR\x1e\xe3\x9cͿ\v;B\x90\xec\x9ey\x17rL\uf822U\xd9\xf0\x02\x9f0^\xf7\xc8ڒ\xfa\xe4\x9b\\q9\x85\x91\xba\x10\x1c\xd4&d-\x92\xc9)il<\x87\xea^[\x02`YeLk8;\x13\x1f\xcb[C\xdf\x04\xe2\x9e\x00\x8cY\xb3s\x05\x1e\xafV\xabW\xe0\x95N\xde#\x05*\xc1H\xe9;\x0fκ+rZ\xaeЦ\xa1\x82\x16\x88\xf4~\rFׄ\xf2\xe9\x1e\xa4\xbd@\xbc\x83\x82\xb5\xaf\xeeW\x12\xcb\xdem-\xc1\xa8㶞\xe4\xdb\xca(\x8c\x90\xa6\xa1!\x05\xc2O\xee%\x83\xbd`h\xccڴtw{\x01\x94\xb9z\xf9R\xcdZ\x16=\x03\x8a\xff\xdb7\f\x1bU\xa3\xb0\xf1cx&\x87 \x11UH\xca\x11+\xbf\x06\n\x17\xdbY$\xc3\xea\x97!\xa8_\xb4\xe2:\x1a\x97ؘ<%|\f\x06\x93\xb3\xd2Ф\xdb\x1f'\x910Lf/\xf5n]\x81\x1cʳ\xdd\xe7\xff+\xc0\x1290\xb2Ȍwiɞ\x89\xfd\xf2W\x02Vk\xcc#\xa6\" ltalP\x8d\uea9a\xfcs\xe65g\x8b5\xbf\x84S7\xfd\xb1\x15\xbe\xef\x98B\xc1\x91u\x15)\xa3#\x90\xcf\x19\t\xae0\xc3e\xbd\x8e\xbd\xcd\x14r\xe9\xbbK\xb1M\xb1\x19\x99\xf9\x1e9\xd64\xa6\xae\xb3\xe0\xd7\x15>\u007f\x9a\xcef\x93\xcd\x16\x17\xc6\x06\xe7R\\=\x18`\xba\xc15\xa7t\x9b\xbd?\xc8a5\xa0\xe4`\xd3\xc2M\xa7\xfb\b\xcf\xe68;\xcf^p\xac\xc1\xecL\xe3}\xfdSQ\x14u3\xcd\xdf0_\xaf\xf9$\xbb\x80nm\xdeX\\\xae\x13\xd4^B\xfe\xd8Gn\x83g\xe6$v;\x14\x93\xb9m\xf7s\x91\xeerVs\xef\x01\x99G\xbc\\\xdc\tr\x9b\xdf\x0f\nR\x91\xbe>ˬ\xd0)\x97\x17\x13ä\x0f\x8c4\xcc\xf3\x95U\xa2\xad|S~\xaf\xb7\xdf\t\xafFͰ\x90F\xcc\x13\xed\x91\xdd\xf0\x94\x1al\x94\x15]\x06e\xd9]-\xe9cS\x06ҙ\xe2\x9a+\xea<\xd2\"FO\xb7\xb7\xd6\xff\xf7S\xfb#Qh\xd4\xd5V\x89\xbc%\xde\xefͧ\x8d\xe9z\xfd>\xeb\xd3\x00\xb3!\xbf\xf10\x96\xd2\xe3Ŧ\xdb\x19\xef\x88{\xfcZ\u007f\xbc6\xd8gw\xb7\xdc\\ܶ\u007ff6\xc5\xe0\xff\xf7\x16#\x1b\xb6\xab]J\xab\xd9\u007f\x03\xda@\xba\xd0@\x98ƪ8˸\xa7\x9b\xab\xa4g[\xad\xebI\xc1V\xa3\x8e\x8b\xde%$veí\xf1\xcd\xe5\xd8'f-\xcfV\x8bvld,]p\x93G\xf9$\x82\xa5Ϯd\x04\xb1\t\xaaBN\xc4\xe3\x1a\xfc\x94\x04\u007f\x19 \xc8\xe5p\x93q\xcf\xd4=ƞĞ\x1e\xc5r\xb9\xc2\xc4:K\xa4\x85vG\xf2Q\x05\x93\x8e6a=\xdd\v9\xd8\xf1\x05[\xe5\xb8hW\x96p\xb6]/\xe2\x1775\xb3,\xb0\xe2\x9b[7K\xf0\xad\xff\x9c\x02\x00V\a\xfc\x93\xdcV3\x84\x164\xb3\x15\xe0&\x02Ҽf\xa2\xbf\x97,\xd7&\x85\x14\x10\xc2\x1e\xca1\xc1\xba\xfb\xccY\xc8\x1e\xf3\r\x8c8\xaa@آ7\xe3\x1aW\xfcs=F\xbcw\x01@nH⠑\x06\xd4\xe5K\b\xd6\xf0\x02Va\x10>\\\xd6\x05\xa9\xaa%\xb1V\xd6|Ϊv\xd6m\xf4YQ\xfc\xa1\x12c\xb2\xa1\xd8\xc3\vݝ\xe9 \x11\x00N\x86o\xbd\xf4\xd7\xd6\xce\u007f7\x87/\xac\x8fK(\x1b'\xd2\xe7\x91\xd8\xfeF\x02\xe537Mfx\x95\x84y\xde\xcb\x1b\x92\x1aw\xb2\x8f\xec\xd1|>\fo\xf16\xe6F\xbe˦\xe2n\x91\xf4\xf7-Q]~$N\x8e\\?\\\xd3\xd2\xfa\xf4\xe2\\\xe6\xb8\xf0\a𤦡ʽ\xb3\x9d\xcd\xdf\xc7\xd0#\xb7\xa7u\x12\x9d\xc0\x9f\x19\xffRn\xda\xc6ѽ`\xb3@\x02;\x93,}\xa7\x13\xfc`\xd4y\x94\x04\xe5go\xa4\a\r/\vX\xb9\x8a+\xecL]\x14^\"^\xa5؈m(z\xc7$a\b\xa2/nJ\xab\xb4\xda\xd5\xffJ\xb9\x1e\xbbUѓ\x85\x9d\xc3~\xda\xff\xedU\xa5\xd7ȓ\xa3\xabb\xad<[\xd1\t\x9d\x93<\xeeC\xf5\x88\x80˨^\n0\xf4\xb2μ\xa1\xee\x92ir\xebѾ\x94Ol\xc0\x9b\xee\xae\x03\xa1\xe5\xc0.|\xe2\xb4Me\xfa\xd7e\xdct\xc5'\x14\x80\x1eGF\xba\x03U\xf7\xa7m\xc2O\xd2-\xd7\"l]\x98\x0e\xa9ݣ(\x86\x16\xe5ϧ\x0f\xec\xa2#\xf5\xaf\xb9\x14\x92\x13D\x97ٌ\x1e\xd2\x06\x9a_\xd5@d\xe7\x1e\x13]\x1c\f\xfb\xffdB\xd8\x16\x8c(Y\xaan\xf9\x92佯\xd6\x15n\x86\xdaCR\xd2\xd0q\x85}JG酑1\xd9dg>\xad0\x95\"\x88\xa2\x89\xca7\xae\x1d\x18V\xab\n\xa2\xf2\xe7\xed\xb8\xc5-2IQN}]\xe1\x0e\x96*\x84V\\\xd3N\xf7\x13\xdc\x1em\xe2\x04%\xa4O\xbb\xcaJ\x93\xda\xea\x11\xa7\xc2\xda\xc1l\xa9e\xba\x91ׄo\x13\xf0oG\x8c\xcf\xe5Iۍ\x93\u058b\x8e_\x1d`\x96N\xe8\xb2\x18\x85\xa2\u07bc\xb3\x87\x1b\xf9t\xc0\x06\xfbM¬-@\x85 \x11@F/\x01~\xc2{\xad\x8fS\n\x13\xb9(\xd5\xe8\xcb\x10\xb0\xc4\x18\x96*7\xa1γ\xb0\xbe\x02\x06\x19\x9c/\xb1T\xd2\x13\x1d\xf3լA}c\xb6\xe3\xf8\xfc\"\xa1\xd5*p\x04\xf2oÁ9\xe4T\xf5\x927\x87y\x9a\x9boVy'\x98Ӂu\bL^Z\\@\xeeT\xa2E\x1c\xb1\xb9K\xb2\x0f\xfc\x17\xeb\xa8ml\xefQ\x16\xf4\x9dg^\xc0\xbd\xab\xa4\xee\xa3)\x13\xdb\xffz^@h\xeai\xff\x06o\xa2\x1b\xbb\xb8N\x17\x94I\n\x99\x80\x10\xec\x89qm2\x1ctJ\xd5\xe8r\xc3i\xbc\xa7\xae\xcb \xa7:\x18i\xf5\x9b\x8d%#\x97\xff\xbe\x85\xbd\x95=~\x84\xf7\xe9bʧ۟e\x1b<\x1e\x88$\x19\x10C\xa8\xf0&\xcb\xc7֯\x1a\xbc\x85\xa9-t\xbc\x1d\x97\t^]\U000b815cp7\xde&ήR\xb7ܘr\xadZ\xa81\xa3~m\xbe\xb7\xceq\xcaF\xb64\xa7^\xc8\x1a\xc6\f\xbb\xf0\x0fzH\x18\xe3\xc1u{(\x84\x01i\x01\x87\xd5\x1eI/\xee\xf0\x0f6\x1e\x01\xe8\f\x0fI\xeb\x1e\xcea\xac\x8d\xb6\x0f\xbc\x18\xaa!\x8b\xf5\t\x8d\xe3\xa3\v\x13\xbeJ\xe6\f\x8c\x9c\xa3\x06/\xa1\xf7\xb2WEVԼ\xd6\t.ӊ\x05#r\x1b\xde&y\xda%\x83P\x0f\x1e\x016\x8d\x182\x8c㩃\x19O9\xfcX\xbd\x840d\xe8La\xd1P\x04\xadlu \xe6\xe8\xb2d\xd3c\t25L\x1c \xfb\x81$A_\xb3-h\x8bH\x86?#\x01$\xc9\xe9$\f\x04\x88ѣ\f\xef>\xf5\x877a\xbd\x00.!\xf9\xa9\xe7g\xff5\xe4Hؚ\xe6\xf8\xaf\x1c\xd9߭v\xb8RƁ\x00;\x81\x00\x1a\xf8\x81\xa1\xcf\x17\x98\xf4\xfa\xb9\x8e.\xffc\x98;s\x19H\xc89\xd6d\xad\xeb\xeb\xe8v\"\x82\x99\x9f\x02\x0e&\x96(ګ\x91\xf7pJ\x04\xddJ\xa2\xebA\x04\xa6\x96S\xd1?\x1bFݧ\x19,:\xdf\x1e{\xae'H_A]\x9a\xaa\xad\xde]\x1b\xdf\xec\xd3q>e\x1d\x90\a;\xc2l\xb2\x03\xda\x1eu\xb4to\x9cq<\x1de\xa1\x82?:֬\xc1\\/\xef\xc4ޏ\xa2\xdf\xdct\x11$\x14\xbd\xae\v{0@v\xb2\xed\xeb>\xd4\xc8[/*\xb2\x92\x8f\x86\x84\xd6\x00\x90)eS\xba0;\x85\ve\xf9\x89\xa8C\x92\x19\x96\xfcq\x05RS\xa1\xf6P\xed\xff5y'\xfaj\u06dd\x80_\xcdz\xb0\xef\x05\x1fE\xb6\xbe\xbb:1\xe5\x9e5\xac7Q\xa0W\x97\xa6\xaf[H:L\x88\xec\xa4\xef\xeb\x92]qv\xcc\x18\x99FhP\xd5Uk!ݐ-\n\xf1\x1d\xf3\xccYI\f\x1bj\f\xbb\xe13\xc7z\x002\x01\xf7\xdb\xe8\xed\xe1\xf1\xfe)\xf6ּb\xaa\f/\xe6Ln\x18ۻ\x8f6D\xef\xe5\x1d\x90Z\x98\a\x02`g\x9d?\x93\x18:\x83\x9a\xe7a\xf1X\x9d\xd7<9\xf0\x1c\u05ec\xbb@5\xbbՙ\xa5̔\x16\x8e2X,\xc2\xf3x\xcd\xd6^0U\x04K\xfe\xf6#?\x1a\x8eB\x02\x18\xf9e\xee\x15o^\x1e\x06\x14\x97.\v\x80\xfe\x1c:Z\xec\xe9~l\xc1\x8c\a\xbfD\xbbb\xb9/\xc7t\x02*\x91E\xb8Z\xa4@\xe3\v\x96\xee\x02UndW\xa3\"#\x01\xae\x05\xbf\xf4D\x90JR\xe7m\xdd\v\x16}\xc0^\xb3\\\xa4\xc4ή\xc67\xa1K*\x1b\x88\xc1\x8b\xe3\xd2\x03\x15bqdX\f\xda\xccAȱn\x19!\x11\xfd\xa3*G\xd5Z\xe7\x98\x04tR8G\xd4\xd1I`\xb4\xe5,n\x81\x81|ۧ\xe6\x90ߴ\xa2*6\x91,\xb6zޮ\xe39\xfc\xad6n\u038b\xe8W\xcc\aU\x9eVq\xaf\xbe\xcf\xe4_ك5\x00\x06\xf5q\xcc\xd6n\x9f\xe2\xd3/\x84\xf2\xc9\xf6\xd0(>\xf8\xfdL\xcbC~\x02`\xaf3\x925\xe2\xf6\xbb\xe3\xe3\nZ\xaa\xa4t6>\xc9\xe0bd\x03C\x96X0\x8fO~'\xd0\x0e\ue059~\xf0\xb6\x91M\xa6\x11w#\x9dN\u007f\xee\xa54\x91\xe0\xff8\x82\xbaӻKO0\x8f\x12\xf6p\x01<\x96\x1d\x97\x81\xe8O\xde}\xe1J\xb2\xd0\x04\x80$ؚ\x88Bo\xaeB\xef\xb7M\xb1+aGȗ\x99:\x8e\x96@u\b\x17\x0e\xc98\x1d\x95&\xcd\xfa\x06^\x0e\xc1̧֍\xd5$\xb9\xe2WYUb\xe7\xf0so-\xf8\xe8\x8dN\xa4\x9a\x10\xf4\n\xc39h\x03\xba!\xee\xe4\xda?\xfb\xd6LG@\xb8\x8bDzM\xbb\xb0\xbf\xc5X\x9c\xa2.\xb9P\xd4\x00\xffØ5\xa4\u007f۰bU\xd2g\x19\x04#}\x91͝K\"Y\x8e4\xc1} ߂\x87\xc7J\xeb\xb6\v\xf0M\xc6:\x9bA\xe2\xc4R\x05f\xb2\xcd\xe0'\x19\x0e\xe9\xd0=N,b\xad\x95YV\x1b\xc9lT\x8f\xa3]\xf4\xc5H\x97uf\xf1qә\xff\xe56Ք\xd8\u0083N;Mq7,i..$C\xde\xe8J^#\x92\xc1\xb4\xf9i\x03\xd5\x01y\x18\x88\xfe\x83\x01m\xed F\x10\x8fd\xed\xbd\x9bn\xeb\xbf\xf5\xeb\x02\xb30Ea\xc8[\x18e\xca \xc1\x84\x0f(-\x9ciǯ\x05\x02\xf4\x96\x93\xaa%d\x9c\xd9S\xf7\v2]bCu\x1b\xf1T\x10\xd4\xeb^?1\x13ˊ\xae\x0fA\xe5\n@u+\xe4\xacʁ\x85u\xf8R\n\x97\xf1\xe3ʪ\x04\xa2\x06x\xe7\x85\xc4K\xfaӗ\\\x96\x1e\xa3\xf9\xd4\xeb@\x93X\xc4\x0f&h\xc9~w]\xc1?\x95L\x10\xe7o\xa2\a\f\xb4,\x90\xfek<\xa1{\xf0\x8f\xc6NK\xa3/%\xaf6\x82.\x05z\x01\x8d\x96!\xfc\xbfI\xcc\xe4ĠCN\x91.\xdf)=\xf4ۋ\xc8ݿ9\xbd\xcc\xda\xfe\xd1K\x9f\x00\r]ɋ\xcf\x12\xb8\xbb\ac1]b\xf7;P\xbdGy/<\xfd\x04\x99^\xd1G\x84\x9d\xbd\x05ү\xfe\x96\x96 \x9f\x8dC\xc6KO\xe1\xd3\x03\nN\x9b\xe3i\x9b\xca\xf2\xd2\x181\xf6,I\x99\x9d\xd6\xf1ȫt\xba\xc7\xec5t\x1e\x9d/̵\x81>\x92<\x10\x84\xec=\x87*\x1f\x91\x14s\x128\xf1\x12\x13$\x1e-\x14ϝ\"\xcd`\xdeʖ\xb2#\xb6\xa2\a\xc0\x17\xfc\n---------- end of script output" +time="2021-07-27T05:19:29Z" level=info msg="statescript: ArtifactInstall_Enter_66 requested a retry" +time="2021-07-27T05:19:32Z" level=info msg="statescript: ArtifactInstall_Enter_66 requested a retry" +time="2021-07-27T05:19:34Z" level=error msg="statescript: Ignoring error executing 'ArtifactInstall_Enter_66': 21: exit status 21" +time="2021-07-27T05:19:35Z" level=info msg="statescript: ArtifactInstall_Enter_67 requested a retry" +time="2021-07-27T05:19:37Z" level=error msg="statescript: Got an error when trying to execute [ArtifactInstall:Enter] script, but ignoreError is set to true, so continuing. Full error message: statescript: The version read from the version file in the statescript directory does not match the versions supported by the client, please make sure the file is present and formatted correctly (supported: [-1]; actual: 2)." +--- PASS: TestExecutor (10.24s) === RUN TestVersion ---- PASS: TestVersion (0.02s) +--- PASS: TestVersion (0.52s) === RUN TestReportScriptStatus -time="2022-08-29T11:29:07Z" level=error msg="Failed to Load the Server certificate. Err SSL errors: " -time="2022-08-29T11:29:07Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: " -time="2022-08-29T11:29:07Z" level=warning msg="certificate verification skipped.." ---- PASS: TestReportScriptStatus (0.11s) +time="2021-07-27T05:19:38Z" level=error msg="Failed to Load the Server certificate. Err SSL errors: " +time="2021-07-27T05:19:38Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: " +time="2021-07-27T05:19:38Z" level=warning msg="certificate verification skipped.." +--- PASS: TestReportScriptStatus (0.31s) === RUN TestDefaultConfiguration -time="2022-08-29T11:29:07Z" level=warning msg="No timeout interval set for the retry-scripts. Falling back to default: 1m0s" -time="2022-08-29T11:29:07Z" level=warning msg="No total time set for the retry-scripts' timeslot. Falling back to default: 30m0s" +time="2021-07-27T05:19:38Z" level=warning msg="No timeout interval set for the retry-scripts. Falling back to default: 1m0s" +time="2021-07-27T05:19:38Z" level=warning msg="No total time set for the retry-scripts' timeslot. Falling back to default: 30m0s" --- PASS: TestDefaultConfiguration (0.00s) === RUN TestReadVersion statescript_test.go:475: incorrect version file - unwanted 'a' in file @@ -16503,15 +16577,15 @@ statescript_test.go:475: correct version file - newline --- PASS: TestReadVersion (0.00s) PASS -ok github.com/mendersoftware/mender/statescript 10.197s +ok github.com/mendersoftware/mender/statescript 11.130s === RUN TestDBStore -time="2022-08-29T11:28:56Z" level=error msg="Failed to open DB environment: mdb_env_open: no such file or directory" ---- PASS: TestDBStore (0.04s) +time="2021-07-27T05:19:27Z" level=error msg="Failed to open DB environment: mdb_env_open: no such file or directory" +--- PASS: TestDBStore (0.12s) === RUN TestDirStore --- PASS: TestDirStore (0.00s) === RUN TestKeystore -time="2022-08-29T11:28:56Z" level=error msg="Failed to load key: empty pem block" ---- PASS: TestKeystore (3.37s) +time="2021-07-27T05:19:27Z" level=error msg="Failed to load key: empty pem block" +--- PASS: TestKeystore (0.59s) === RUN TestSignED25519 --- PASS: TestSignED25519 (0.00s) === RUN TestKeystoreLoadPem @@ -16519,7 +16593,7 @@ === RUN TestMemStore --- PASS: TestMemStore (0.00s) PASS -ok github.com/mendersoftware/mender/store 3.423s +ok github.com/mendersoftware/mender/store 0.753s === RUN TestGetMountInfoFromDeviceID === RUN TestGetMountInfoFromDeviceID/Success === RUN TestGetMountInfoFromDeviceID/Fail_-_open_returns_error @@ -16535,7 +16609,7 @@ === RUN TestFreezeFs --- PASS: TestFreezeFs (0.00s) PASS -ok github.com/mendersoftware/mender/system 0.004s +ok github.com/mendersoftware/mender/system 0.018s ? github.com/mendersoftware/mender/system/testing [no test files] ? github.com/mendersoftware/mender/tests [no test files] === RUN TestKeyValParser @@ -16546,11 +16620,11 @@ === RUN TestLimitedWriteCloser --- PASS: TestLimitedWriteCloser (0.00s) === RUN TestProgress ---- PASS: TestProgress (0.69s) +--- PASS: TestProgress (0.87s) PASS -ok github.com/mendersoftware/mender/utils 0.697s +ok github.com/mendersoftware/mender/utils 0.883s FAIL -dh_auto_test: error: cd obj-i686-linux-gnu && go test -vet=off -v -p 16 github.com/mendersoftware/mender github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/device github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/system github.com/mendersoftware/mender/system/testing github.com/mendersoftware/mender/tests github.com/mendersoftware/mender/utils returned exit code 1 +dh_auto_test: error: cd obj-i686-linux-gnu && go test -vet=off -v -p 7 github.com/mendersoftware/mender github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/device github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/system github.com/mendersoftware/mender/system/testing github.com/mendersoftware/mender/tests github.com/mendersoftware/mender/utils returned exit code 1 make[1]: Leaving directory '/build/mender-client-2.4.1' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary @@ -16594,12 +16668,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/1313/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1313/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/35178 and its subdirectories -I: Current time: Sun Aug 28 23:32:59 -12 2022 -I: pbuilder-time-stamp: 1661772779 +I: removing directory /srv/workspace/pbuilder/1313 and its subdirectories +I: Current time: Tue Jul 27 19:24:55 +14 2021 +I: pbuilder-time-stamp: 1627363495