Tue Jul 27 05:04:24 UTC 2021 I: starting to build mender-client/bullseye/i386 on jenkins on '2021-07-27 05:04' Tue Jul 27 05:04:24 UTC 2021 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/i386_10/15821/console.log Tue Jul 27 05:04:24 UTC 2021 I: Downloading source for bullseye/mender-client=2.4.1-2 --2021-07-27 05:04:24-- http://cdn-fastly.deb.debian.org/debian/pool/main/m/mender-client/mender-client_2.4.1-2.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2565 (2.5K) Saving to: ‘mender-client_2.4.1-2.dsc’ 0K .. 100% 194M=0s 2021-07-27 05:04:24 (194 MB/s) - ‘mender-client_2.4.1-2.dsc’ saved [2565/2565] Tue Jul 27 05:04:24 UTC 2021 I: mender-client_2.4.1-2.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: mender-client Binary: mender-client Architecture: any Version: 2.4.1-2 Maintainer: Debian Go Packaging Team Uploaders: Andreas Henriksson , Lluis Campos Homepage: https://github.com/mendersoftware/mender Standards-Version: 4.2.1 Vcs-Browser: https://salsa.debian.org/go-team/packages/mender-client Vcs-Git: https://salsa.debian.org/go-team/packages/mender-client.git Testsuite: autopkgtest-pkg-go Build-Depends: debhelper-compat (= 12), dh-golang, pkg-config, golang-any, golang-github-pkg-errors-dev, golang-github-stretchr-testify-dev, golang-golang-x-crypto-dev, golang-golang-x-net-dev, golang-golang-x-sys-dev, golang-logrus-dev, golang-github-bmatsuo-lmdb-go-dev, golang-github-ungerik-go-sysfs-dev, golang-github-urfave-cli-dev, golang-github-mendersoftware-mender-artifact-dev (>= 3.4.0), golang-github-mendersoftware-openssl-dev (>= 0.0.10), ca-certificates Package-List: mender-client deb devel optional arch=any Checksums-Sha1: 4548e99280f37d80f37e9940634a0cbd14cef8a5 204196 mender-client_2.4.1.orig.tar.xz ec1d29d84f9a05a497d260c6f498bba3d734525e 9724 mender-client_2.4.1-2.debian.tar.xz Checksums-Sha256: 076028366a0c2d4a740caa634f4af53bfbe54ad5889f1b4dd64dfb489d638a9f 204196 mender-client_2.4.1.orig.tar.xz 9e54a0ec155182be81718e8c8c2542f0e49e1dde9015305036c23a8abdb6f316 9724 mender-client_2.4.1-2.debian.tar.xz Files: e9d1ccbadf14ad413dee81453bf71c03 204196 mender-client_2.4.1.orig.tar.xz b5104ba0c47ea1c7d3335c5a375a96d9 9724 mender-client_2.4.1-2.debian.tar.xz Go-Import-Path: github.com/mendersoftware/mender -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEE+uHltkZSvnmOJ4zCC8R9xk0TUwYFAmB18xERHGFuZHJlYXNA ZmF0YWwuc2UACgkQC8R9xk0TUwZfVA/9EJHL+Wi8zXrf6g7NUCNisjdSP7y8tAwx Hj1teolGKBOtdj82lJU4NQOfXF6FotdnGrwvSAifumHbFgJZ3WU2KBUGyM1oSyIe OdHjoEF8+KG2qFa9VpF0y4iRllRkCQ/Ozdy+gKSqajPYlbVQi44yZ1cXVG8L4Qrv TXThb1o5QyIZz4WGkw6dAKDlelgMy0kw1Wm9shytwGq8b0E8i33M/wwThuCEDW42 6MgShhBnFEES0opXBihoIwuMPiAOd4MbyrpfDqToF6SIlGaZ00wNBiInCmu39zza ryjpN9zOnk/euRt73D/KzGGdBptOTniTNJ0/liDEYSHvPCMtdls2rk+6DXusClx8 FzhR0Sd5xSw1whtJxqp9Z7EiYtFrnwnNrzVcSmioGn4Fwhd7cNi2nmiwyoiGM0e2 aVhyv3iv6oi8Io0eZVwXY+WUg6IwGuJXm0X5QqZKJKwneWrVeIAmKI4A1+UU93Pr f0Z4dkkAO2iGgqFqi+2XHJGY+njM/uRSPXkM+qeqdl3E4PYnP8TPXtnIK+E8+QA9 RupfJ+ncxymlQSV//xdyLGcJ29Bna6J3yxs/zAedtBpWjcu7aP5u00Azcr7Zwgoc Cv0mRytaq7ph80R5C47ECVieWzbm6NVcjrkbcaMYp7nNTzo8YUUjNGsrU9Jiz4nc XC7Jxbk0kA4= =trWO -----END PGP SIGNATURE----- Tue Jul 27 05:04:24 UTC 2021 I: Checking whether the package is not for us Tue Jul 27 05:04:24 UTC 2021 I: Starting 1st build on remote node ionos6-i386.debian.net. Tue Jul 27 05:04:25 UTC 2021 I: Preparing to do remote build '1' on ionos6-i386.debian.net. Tue Jul 27 05:10:00 UTC 2021 I: Deleting $TMPDIR on ionos6-i386.debian.net. 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: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: using eatmydata during job I: Copying source file I: copying [mender-client_2.4.1-2.dsc] I: copying [./mender-client_2.4.1.orig.tar.xz] 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: using RSA key FAE1E5B64652BE798E278CC20BC47DC64D135306 gpgv: issuer "andreas@fatal.se" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./mender-client_2.4.1-2.dsc dpkg-source: info: extracting mender-client in mender-client-2.4.1 dpkg-source: info: unpacking mender-client_2.4.1.orig.tar.xz dpkg-source: info: unpacking mender-client_2.4.1-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-Skip-TestLicense-for-Debian-Unit-Test-suite.patch dpkg-source: info: applying 0002-Revert-switch-to-urfave-cli-v2-API.patch dpkg-source: info: applying 0005-Skip-test-TestBinarySize-N.A.-for-Debian-build.patch dpkg-source: info: applying 0007-Skip-TestMainExitCodes-test-it-fails-autopkgtest-on-.patch 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: 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' 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='> ' 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' 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 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 -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: i386 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 12), dh-golang, pkg-config, golang-any, golang-github-pkg-errors-dev, golang-github-stretchr-testify-dev, golang-golang-x-crypto-dev, golang-golang-x-net-dev, golang-golang-x-sys-dev, golang-logrus-dev, golang-github-bmatsuo-lmdb-go-dev, golang-github-ungerik-go-sysfs-dev, golang-github-urfave-cli-dev, golang-github-mendersoftware-mender-artifact-dev (>= 3.4.0), golang-github-mendersoftware-openssl-dev (>= 0.0.10), ca-certificates dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19675 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 12); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-golang; however: Package dh-golang is not installed. pbuilder-satisfydepends-dummy depends on pkg-config; however: Package pkg-config is not installed. pbuilder-satisfydepends-dummy depends on golang-any; however: Package golang-any is not installed. pbuilder-satisfydepends-dummy depends on golang-github-pkg-errors-dev; however: Package golang-github-pkg-errors-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-stretchr-testify-dev; however: Package golang-github-stretchr-testify-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-golang-x-crypto-dev; however: Package golang-golang-x-crypto-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-golang-x-net-dev; however: Package golang-golang-x-net-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-golang-x-sys-dev; however: Package golang-golang-x-sys-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-logrus-dev; however: Package golang-logrus-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-bmatsuo-lmdb-go-dev; however: Package golang-github-bmatsuo-lmdb-go-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-ungerik-go-sysfs-dev; however: Package golang-github-ungerik-go-sysfs-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-urfave-cli-dev; however: Package golang-github-urfave-cli-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-mendersoftware-mender-artifact-dev (>= 3.4.0); however: Package golang-github-mendersoftware-mender-artifact-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-mendersoftware-openssl-dev (>= 0.0.10); however: Package golang-github-mendersoftware-openssl-dev is not installed. pbuilder-satisfydepends-dummy depends on ca-certificates; however: Package ca-certificates is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} ca-certificates{a} debhelper{a} dh-autoreconf{a} dh-golang{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} golang-1.15-go{a} golang-1.15-src{a} golang-any{a} golang-github-bmatsuo-lmdb-go-dev{a} golang-github-cespare-xxhash-dev{a} golang-github-cpuguy83-go-md2man-v2-dev{a} golang-github-davecgh-go-spew-dev{a} golang-github-klauspost-compress-dev{a} golang-github-klauspost-pgzip-dev{a} golang-github-mendersoftware-mender-artifact-dev{a} golang-github-mendersoftware-openssl-dev{a} golang-github-minio-sha256-simd-dev{a} golang-github-pkg-errors-dev{a} golang-github-pmezard-go-difflib-dev{a} golang-github-remyoudompheng-go-liblzma-dev{a} golang-github-russross-blackfriday-v2-dev{a} golang-github-shurcool-sanitized-anchor-name-dev{a} golang-github-sirupsen-logrus-dev{a} golang-github-stretchr-objx-dev{a} golang-github-stretchr-testify-dev{a} golang-github-ungerik-go-sysfs-dev{a} golang-github-urfave-cli-dev{a} golang-go{a} golang-golang-x-crypto-dev{a} golang-golang-x-net-dev{a} golang-golang-x-sys-dev{a} golang-golang-x-term-dev{a} golang-golang-x-text-dev{a} golang-gopkg-yaml.v3-dev{a} golang-src{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu67{a} liblzma-dev{a} libmagic-mgc{a} libmagic1{a} libpipeline1{a} libsigsegv2{a} libssl-dev{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} openssl{a} pkg-config{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libglib2.0-data libltdl-dev libmail-sendmail-perl lynx shared-mime-info wget xdg-user-dirs 0 packages upgraded, 68 newly installed, 0 to remove and 0 not upgraded. Need to get 105 MB of archives. After unpacking 498 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bullseye/main i386 bsdextrautils i386 2.36.1-7 [148 kB] Get: 2 http://deb.debian.org/debian bullseye/main i386 libuchardet0 i386 0.0.7-1 [67.9 kB] Get: 3 http://deb.debian.org/debian bullseye/main i386 groff-base i386 1.22.4-6 [952 kB] Get: 4 http://deb.debian.org/debian bullseye/main i386 libpipeline1 i386 1.5.3-1 [36.8 kB] Get: 5 http://deb.debian.org/debian bullseye/main i386 man-db i386 2.9.4-2 [1367 kB] Get: 6 http://deb.debian.org/debian bullseye/main i386 golang-golang-x-sys-dev all 0.0~git20210124.22da62e-1 [308 kB] Get: 7 http://deb.debian.org/debian bullseye/main i386 golang-github-sirupsen-logrus-dev all 1.7.0-2 [45.3 kB] Get: 8 http://deb.debian.org/debian bullseye/main i386 sensible-utils all 0.0.14 [14.8 kB] Get: 9 http://deb.debian.org/debian bullseye/main i386 openssl i386 1.1.1k-1 [860 kB] Get: 10 http://deb.debian.org/debian bullseye/main i386 ca-certificates all 20210119 [158 kB] Get: 11 http://deb.debian.org/debian bullseye/main i386 libmagic-mgc i386 1:5.39-3 [273 kB] Get: 12 http://deb.debian.org/debian bullseye/main i386 libmagic1 i386 1:5.39-3 [133 kB] Get: 13 http://deb.debian.org/debian bullseye/main i386 file i386 1:5.39-3 [69.0 kB] Get: 14 http://deb.debian.org/debian bullseye/main i386 gettext-base i386 0.21-4 [176 kB] Get: 15 http://deb.debian.org/debian bullseye/main i386 libsigsegv2 i386 2.13-1 [35.1 kB] Get: 16 http://deb.debian.org/debian bullseye/main i386 m4 i386 1.4.18-5 [206 kB] Get: 17 http://deb.debian.org/debian bullseye/main i386 autoconf all 2.69-14 [313 kB] Get: 18 http://deb.debian.org/debian bullseye/main i386 autotools-dev all 20180224.1+nmu1 [77.1 kB] Get: 19 http://deb.debian.org/debian bullseye/main i386 automake all 1:1.16.3-2 [814 kB] Get: 20 http://deb.debian.org/debian bullseye/main i386 autopoint all 0.21-4 [510 kB] Get: 21 http://deb.debian.org/debian bullseye/main i386 libdebhelper-perl all 13.3.4 [189 kB] Get: 22 http://deb.debian.org/debian bullseye/main i386 libtool all 2.4.6-15 [513 kB] Get: 23 http://deb.debian.org/debian bullseye/main i386 dh-autoreconf all 20 [17.1 kB] Get: 24 http://deb.debian.org/debian bullseye/main i386 libarchive-zip-perl all 1.68-1 [104 kB] Get: 25 http://deb.debian.org/debian bullseye/main i386 libsub-override-perl all 0.09-2 [10.2 kB] Get: 26 http://deb.debian.org/debian bullseye/main i386 libfile-stripnondeterminism-perl all 1.12.0-1 [26.3 kB] Get: 27 http://deb.debian.org/debian bullseye/main i386 dh-strip-nondeterminism all 1.12.0-1 [15.4 kB] Get: 28 http://deb.debian.org/debian bullseye/main i386 libelf1 i386 0.183-1 [171 kB] Get: 29 http://deb.debian.org/debian bullseye/main i386 dwz i386 0.13+20210201-1 [179 kB] Get: 30 http://deb.debian.org/debian bullseye/main i386 libicu67 i386 67.1-7 [8775 kB] Get: 31 http://deb.debian.org/debian bullseye/main i386 libxml2 i386 2.9.10+dfsg-6.7 [728 kB] Get: 32 http://deb.debian.org/debian bullseye/main i386 gettext i386 0.21-4 [1322 kB] Get: 33 http://deb.debian.org/debian bullseye/main i386 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 34 http://deb.debian.org/debian bullseye/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 35 http://deb.debian.org/debian bullseye/main i386 debhelper all 13.3.4 [1049 kB] Get: 36 http://deb.debian.org/debian bullseye/main i386 dh-golang all 1.51 [24.6 kB] Get: 37 http://deb.debian.org/debian bullseye/main i386 golang-1.15-src i386 1.15.9-6 [13.8 MB] Get: 38 http://deb.debian.org/debian bullseye/main i386 golang-1.15-go i386 1.15.9-6 [46.2 MB] Get: 39 http://deb.debian.org/debian bullseye/main i386 golang-src i386 2:1.15~1 [4856 B] Get: 40 http://deb.debian.org/debian bullseye/main i386 golang-go i386 2:1.15~1 [24.0 kB] Get: 41 http://deb.debian.org/debian bullseye/main i386 golang-any i386 2:1.15~1 [4980 B] Get: 42 http://deb.debian.org/debian bullseye/main i386 golang-golang-x-text-dev all 0.3.6-1 [3857 kB] Get: 43 http://deb.debian.org/debian bullseye/main i386 golang-golang-x-net-dev all 1:0.0+git20210119.5f4716e+dfsg-4 [659 kB] Get: 44 http://deb.debian.org/debian bullseye/main i386 golang-github-bmatsuo-lmdb-go-dev all 1.8.0+git20170215.a14b5a3-2 [145 kB] Get: 45 http://deb.debian.org/debian bullseye/main i386 golang-github-pmezard-go-difflib-dev all 1.0.0-3 [12.3 kB] Get: 46 http://deb.debian.org/debian bullseye/main i386 golang-github-shurcool-sanitized-anchor-name-dev all 1.0.0-1 [3872 B] Get: 47 http://deb.debian.org/debian bullseye/main i386 golang-github-russross-blackfriday-v2-dev all 2.0.1-3 [67.8 kB] Get: 48 http://deb.debian.org/debian bullseye/main i386 golang-github-cpuguy83-go-md2man-v2-dev all 2.0.0+ds-5 [9932 B] Get: 49 http://deb.debian.org/debian bullseye/main i386 golang-github-davecgh-go-spew-dev all 1.1.1-2 [29.7 kB] Get: 50 http://deb.debian.org/debian bullseye/main i386 golang-github-cespare-xxhash-dev all 2.1.1-1 [8748 B] Get: 51 http://deb.debian.org/debian bullseye/main i386 golang-github-klauspost-compress-dev all 1.11.7-2 [14.2 MB] Get: 52 http://deb.debian.org/debian bullseye/main i386 golang-github-klauspost-pgzip-dev all 1.2.5-1 [118 kB] Get: 53 http://deb.debian.org/debian bullseye/main i386 golang-github-pkg-errors-dev all 0.9.1-1 [13.0 kB] Get: 54 http://deb.debian.org/debian bullseye/main i386 golang-github-minio-sha256-simd-dev all 0.1.1-1 [35.9 kB] Get: 55 http://deb.debian.org/debian bullseye/main i386 liblzma-dev i386 5.2.5-2 [240 kB] Get: 56 http://deb.debian.org/debian bullseye/main i386 golang-github-remyoudompheng-go-liblzma-dev all 0.0~git20190506.81bf2d4-3 [49.5 kB] Get: 57 http://deb.debian.org/debian bullseye/main i386 golang-github-stretchr-objx-dev all 0.3.0-1 [25.4 kB] Get: 58 http://deb.debian.org/debian bullseye/main i386 golang-gopkg-yaml.v3-dev all 3.0.0~git20200121.a6ecf24-3 [70.5 kB] Get: 59 http://deb.debian.org/debian bullseye/main i386 golang-github-stretchr-testify-dev all 1.6.1-2 [60.4 kB] Get: 60 http://deb.debian.org/debian bullseye/main i386 golang-github-urfave-cli-dev all 1.22.4-2 [46.7 kB] Get: 61 http://deb.debian.org/debian bullseye/main i386 golang-github-mendersoftware-mender-artifact-dev all 3.4.0-1 [85.7 kB] Get: 62 http://deb.debian.org/debian bullseye/main i386 libssl-dev i386 1.1.1k-1 [1841 kB] Get: 63 http://deb.debian.org/debian bullseye/main i386 golang-github-mendersoftware-openssl-dev all 1.1.0-2 [51.0 kB] Get: 64 http://deb.debian.org/debian bullseye/main i386 golang-github-ungerik-go-sysfs-dev all 0.0~git20190613.7f098dd-1 [4124 B] Get: 65 http://deb.debian.org/debian bullseye/main i386 golang-golang-x-term-dev all 0.0~git20201210.2321bbc-1 [14.5 kB] 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) 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.) Preparing to unpack .../00-bsdextrautils_2.36.1-7_i386.deb ... Unpacking bsdextrautils (2.36.1-7) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../01-libuchardet0_0.0.7-1_i386.deb ... Unpacking libuchardet0:i386 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../02-groff-base_1.22.4-6_i386.deb ... Unpacking groff-base (1.22.4-6) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../03-libpipeline1_1.5.3-1_i386.deb ... Unpacking libpipeline1:i386 (1.5.3-1) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.9.4-2_i386.deb ... Unpacking man-db (2.9.4-2) ... Selecting previously unselected package golang-golang-x-sys-dev. Preparing to unpack .../05-golang-golang-x-sys-dev_0.0~git20210124.22da62e-1_all.deb ... Unpacking golang-golang-x-sys-dev (0.0~git20210124.22da62e-1) ... Selecting previously unselected package golang-github-sirupsen-logrus-dev. Preparing to unpack .../06-golang-github-sirupsen-logrus-dev_1.7.0-2_all.deb ... Unpacking golang-github-sirupsen-logrus-dev (1.7.0-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../07-sensible-utils_0.0.14_all.deb ... Unpacking sensible-utils (0.0.14) ... Selecting previously unselected package openssl. Preparing to unpack .../08-openssl_1.1.1k-1_i386.deb ... Unpacking openssl (1.1.1k-1) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../09-ca-certificates_20210119_all.deb ... Unpacking ca-certificates (20210119) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../10-libmagic-mgc_1%3a5.39-3_i386.deb ... Unpacking libmagic-mgc (1:5.39-3) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../11-libmagic1_1%3a5.39-3_i386.deb ... Unpacking libmagic1:i386 (1:5.39-3) ... Selecting previously unselected package file. Preparing to unpack .../12-file_1%3a5.39-3_i386.deb ... Unpacking file (1:5.39-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../13-gettext-base_0.21-4_i386.deb ... Unpacking gettext-base (0.21-4) ... Selecting previously unselected package libsigsegv2:i386. Preparing to unpack .../14-libsigsegv2_2.13-1_i386.deb ... Unpacking libsigsegv2:i386 (2.13-1) ... Selecting previously unselected package m4. Preparing to unpack .../15-m4_1.4.18-5_i386.deb ... Unpacking m4 (1.4.18-5) ... Selecting previously unselected package autoconf. Preparing to unpack .../16-autoconf_2.69-14_all.deb ... Unpacking autoconf (2.69-14) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../17-autotools-dev_20180224.1+nmu1_all.deb ... Unpacking autotools-dev (20180224.1+nmu1) ... Selecting previously unselected package automake. Preparing to unpack .../18-automake_1%3a1.16.3-2_all.deb ... Unpacking automake (1:1.16.3-2) ... Selecting previously unselected package autopoint. Preparing to unpack .../19-autopoint_0.21-4_all.deb ... Unpacking autopoint (0.21-4) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../20-libdebhelper-perl_13.3.4_all.deb ... Unpacking libdebhelper-perl (13.3.4) ... Selecting previously unselected package libtool. Preparing to unpack .../21-libtool_2.4.6-15_all.deb ... Unpacking libtool (2.4.6-15) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../22-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../23-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../24-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../25-libfile-stripnondeterminism-perl_1.12.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.12.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../26-dh-strip-nondeterminism_1.12.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.12.0-1) ... Selecting previously unselected package libelf1:i386. Preparing to unpack .../27-libelf1_0.183-1_i386.deb ... Unpacking libelf1:i386 (0.183-1) ... Selecting previously unselected package dwz. Preparing to unpack .../28-dwz_0.13+20210201-1_i386.deb ... Unpacking dwz (0.13+20210201-1) ... Selecting previously unselected package libicu67:i386. Preparing to unpack .../29-libicu67_67.1-7_i386.deb ... Unpacking libicu67:i386 (67.1-7) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../30-libxml2_2.9.10+dfsg-6.7_i386.deb ... Unpacking libxml2:i386 (2.9.10+dfsg-6.7) ... Selecting previously unselected package gettext. Preparing to unpack .../31-gettext_0.21-4_i386.deb ... Unpacking gettext (0.21-4) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../32-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../33-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../34-debhelper_13.3.4_all.deb ... Unpacking debhelper (13.3.4) ... Selecting previously unselected package dh-golang. Preparing to unpack .../35-dh-golang_1.51_all.deb ... Unpacking dh-golang (1.51) ... Selecting previously unselected package golang-1.15-src. Preparing to unpack .../36-golang-1.15-src_1.15.9-6_i386.deb ... Unpacking golang-1.15-src (1.15.9-6) ... Selecting previously unselected package golang-1.15-go. Preparing to unpack .../37-golang-1.15-go_1.15.9-6_i386.deb ... Unpacking golang-1.15-go (1.15.9-6) ... Selecting previously unselected package golang-src:i386. Preparing to unpack .../38-golang-src_2%3a1.15~1_i386.deb ... Unpacking golang-src:i386 (2:1.15~1) ... Selecting previously unselected package golang-go. Preparing to unpack .../39-golang-go_2%3a1.15~1_i386.deb ... Unpacking golang-go (2:1.15~1) ... Selecting previously unselected package golang-any:i386. Preparing to unpack .../40-golang-any_2%3a1.15~1_i386.deb ... Unpacking golang-any:i386 (2:1.15~1) ... Selecting previously unselected package golang-golang-x-text-dev. Preparing to unpack .../41-golang-golang-x-text-dev_0.3.6-1_all.deb ... Unpacking golang-golang-x-text-dev (0.3.6-1) ... Selecting previously unselected package golang-golang-x-net-dev. Preparing to unpack .../42-golang-golang-x-net-dev_1%3a0.0+git20210119.5f4716e+dfsg-4_all.deb ... Unpacking golang-golang-x-net-dev (1:0.0+git20210119.5f4716e+dfsg-4) ... Selecting previously unselected package golang-github-bmatsuo-lmdb-go-dev. Preparing to unpack .../43-golang-github-bmatsuo-lmdb-go-dev_1.8.0+git20170215.a14b5a3-2_all.deb ... Unpacking golang-github-bmatsuo-lmdb-go-dev (1.8.0+git20170215.a14b5a3-2) ... Selecting previously unselected package golang-github-pmezard-go-difflib-dev. Preparing to unpack .../44-golang-github-pmezard-go-difflib-dev_1.0.0-3_all.deb ... Unpacking golang-github-pmezard-go-difflib-dev (1.0.0-3) ... Selecting previously unselected package golang-github-shurcool-sanitized-anchor-name-dev. Preparing to unpack .../45-golang-github-shurcool-sanitized-anchor-name-dev_1.0.0-1_all.deb ... Unpacking golang-github-shurcool-sanitized-anchor-name-dev (1.0.0-1) ... Selecting previously unselected package golang-github-russross-blackfriday-v2-dev. Preparing to unpack .../46-golang-github-russross-blackfriday-v2-dev_2.0.1-3_all.deb ... Unpacking golang-github-russross-blackfriday-v2-dev (2.0.1-3) ... Selecting previously unselected package golang-github-cpuguy83-go-md2man-v2-dev. Preparing to unpack .../47-golang-github-cpuguy83-go-md2man-v2-dev_2.0.0+ds-5_all.deb ... Unpacking golang-github-cpuguy83-go-md2man-v2-dev (2.0.0+ds-5) ... Selecting previously unselected package golang-github-davecgh-go-spew-dev. Preparing to unpack .../48-golang-github-davecgh-go-spew-dev_1.1.1-2_all.deb ... Unpacking golang-github-davecgh-go-spew-dev (1.1.1-2) ... Selecting previously unselected package golang-github-cespare-xxhash-dev. Preparing to unpack .../49-golang-github-cespare-xxhash-dev_2.1.1-1_all.deb ... Unpacking golang-github-cespare-xxhash-dev (2.1.1-1) ... Selecting previously unselected package golang-github-klauspost-compress-dev. Preparing to unpack .../50-golang-github-klauspost-compress-dev_1.11.7-2_all.deb ... Unpacking golang-github-klauspost-compress-dev (1.11.7-2) ... Selecting previously unselected package golang-github-klauspost-pgzip-dev. Preparing to unpack .../51-golang-github-klauspost-pgzip-dev_1.2.5-1_all.deb ... Unpacking golang-github-klauspost-pgzip-dev (1.2.5-1) ... Selecting previously unselected package golang-github-pkg-errors-dev. Preparing to unpack .../52-golang-github-pkg-errors-dev_0.9.1-1_all.deb ... Unpacking golang-github-pkg-errors-dev (0.9.1-1) ... Selecting previously unselected package golang-github-minio-sha256-simd-dev. Preparing to unpack .../53-golang-github-minio-sha256-simd-dev_0.1.1-1_all.deb ... Unpacking golang-github-minio-sha256-simd-dev (0.1.1-1) ... Selecting previously unselected package liblzma-dev:i386. Preparing to unpack .../54-liblzma-dev_5.2.5-2_i386.deb ... Unpacking liblzma-dev:i386 (5.2.5-2) ... Selecting previously unselected package golang-github-remyoudompheng-go-liblzma-dev. Preparing to unpack .../55-golang-github-remyoudompheng-go-liblzma-dev_0.0~git20190506.81bf2d4-3_all.deb ... Unpacking golang-github-remyoudompheng-go-liblzma-dev (0.0~git20190506.81bf2d4-3) ... Selecting previously unselected package golang-github-stretchr-objx-dev. Preparing to unpack .../56-golang-github-stretchr-objx-dev_0.3.0-1_all.deb ... Unpacking golang-github-stretchr-objx-dev (0.3.0-1) ... Selecting previously unselected package golang-gopkg-yaml.v3-dev. Preparing to unpack .../57-golang-gopkg-yaml.v3-dev_3.0.0~git20200121.a6ecf24-3_all.deb ... Unpacking golang-gopkg-yaml.v3-dev (3.0.0~git20200121.a6ecf24-3) ... Selecting previously unselected package golang-github-stretchr-testify-dev. Preparing to unpack .../58-golang-github-stretchr-testify-dev_1.6.1-2_all.deb ... Unpacking golang-github-stretchr-testify-dev (1.6.1-2) ... Selecting previously unselected package golang-github-urfave-cli-dev. Preparing to unpack .../59-golang-github-urfave-cli-dev_1.22.4-2_all.deb ... Unpacking golang-github-urfave-cli-dev (1.22.4-2) ... Selecting previously unselected package golang-github-mendersoftware-mender-artifact-dev. Preparing to unpack .../60-golang-github-mendersoftware-mender-artifact-dev_3.4.0-1_all.deb ... Unpacking golang-github-mendersoftware-mender-artifact-dev (3.4.0-1) ... Selecting previously unselected package libssl-dev:i386. Preparing to unpack .../61-libssl-dev_1.1.1k-1_i386.deb ... Unpacking libssl-dev:i386 (1.1.1k-1) ... Selecting previously unselected package golang-github-mendersoftware-openssl-dev. Preparing to unpack .../62-golang-github-mendersoftware-openssl-dev_1.1.0-2_all.deb ... Unpacking golang-github-mendersoftware-openssl-dev (1.1.0-2) ... Selecting previously unselected package golang-github-ungerik-go-sysfs-dev. Preparing to unpack .../63-golang-github-ungerik-go-sysfs-dev_0.0~git20190613.7f098dd-1_all.deb ... Unpacking golang-github-ungerik-go-sysfs-dev (0.0~git20190613.7f098dd-1) ... Selecting previously unselected package golang-golang-x-term-dev. Preparing to unpack .../64-golang-golang-x-term-dev_0.0~git20201210.2321bbc-1_all.deb ... Unpacking golang-golang-x-term-dev (0.0~git20201210.2321bbc-1) ... Selecting previously unselected package golang-golang-x-crypto-dev. Preparing to unpack .../65-golang-golang-x-crypto-dev_1%3a0.0~git20201221.eec23a3-1_all.deb ... Unpacking golang-golang-x-crypto-dev (1:0.0~git20201221.eec23a3-1) ... Selecting previously unselected package libglib2.0-0:i386. Preparing to unpack .../66-libglib2.0-0_2.66.8-1_i386.deb ... Unpacking libglib2.0-0:i386 (2.66.8-1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../67-pkg-config_0.29.2-1_i386.deb ... Unpacking pkg-config (0.29.2-1) ... Setting up libpipeline1:i386 (1.5.3-1) ... Setting up bsdextrautils (2.36.1-7) ... update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode Setting up golang-github-shurcool-sanitized-anchor-name-dev (1.0.0-1) ... Setting up libicu67:i386 (67.1-7) ... Setting up golang-github-stretchr-objx-dev (0.3.0-1) ... Setting up libmagic-mgc (1:5.39-3) ... Setting up golang-github-pkg-errors-dev (0.9.1-1) ... Setting up golang-1.15-src (1.15.9-6) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libglib2.0-0:i386 (2.66.8-1) ... No schema files found: doing nothing. Setting up golang-gopkg-yaml.v3-dev (3.0.0~git20200121.a6ecf24-3) ... Setting up libdebhelper-perl (13.3.4) ... Setting up golang-golang-x-sys-dev (0.0~git20210124.22da62e-1) ... Setting up libmagic1:i386 (1:5.39-3) ... Setting up golang-github-pmezard-go-difflib-dev (1.0.0-3) ... Setting up gettext-base (0.21-4) ... Setting up golang-golang-x-term-dev (0.0~git20201210.2321bbc-1) ... Setting up file (1:5.39-3) ... Setting up golang-github-cespare-xxhash-dev (2.1.1-1) ... Setting up golang-github-davecgh-go-spew-dev (1.1.1-2) ... Setting up autotools-dev (20180224.1+nmu1) ... Setting up golang-github-stretchr-testify-dev (1.6.1-2) ... Setting up libsigsegv2:i386 (2.13-1) ... Setting up libssl-dev:i386 (1.1.1k-1) ... Setting up autopoint (0.21-4) ... Setting up pkg-config (0.29.2-1) ... Setting up golang-github-klauspost-compress-dev (1.11.7-2) ... Setting up liblzma-dev:i386 (5.2.5-2) ... Setting up golang-github-mendersoftware-openssl-dev (1.1.0-2) ... Setting up sensible-utils (0.0.14) ... Setting up golang-golang-x-text-dev (0.3.6-1) ... Setting up libuchardet0:i386 (0.0.7-1) ... Setting up golang-github-klauspost-pgzip-dev (1.2.5-1) ... Setting up libsub-override-perl (0.09-2) ... Setting up golang-github-ungerik-go-sysfs-dev (0.0~git20190613.7f098dd-1) ... Setting up golang-src:i386 (2:1.15~1) ... Setting up openssl (1.1.1k-1) ... Setting up golang-1.15-go (1.15.9-6) ... Setting up libelf1:i386 (0.183-1) ... Setting up libxml2:i386 (2.9.10+dfsg-6.7) ... Setting up libfile-stripnondeterminism-perl (1.12.0-1) ... Setting up golang-github-sirupsen-logrus-dev (1.7.0-2) ... Setting up golang-github-remyoudompheng-go-liblzma-dev (0.0~git20190506.81bf2d4-3) ... Setting up gettext (0.21-4) ... Setting up golang-github-russross-blackfriday-v2-dev (2.0.1-3) ... Setting up libtool (2.4.6-15) ... Setting up golang-go (2:1.15~1) ... Setting up m4 (1.4.18-5) ... Setting up golang-any:i386 (2:1.15~1) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up ca-certificates (20210119) ... Updating certificates in /etc/ssl/certs... 129 added, 0 removed; done. Setting up golang-golang-x-net-dev (1:0.0+git20210119.5f4716e+dfsg-4) ... Setting up autoconf (2.69-14) ... Setting up dh-strip-nondeterminism (1.12.0-1) ... Setting up dwz (0.13+20210201-1) ... Setting up groff-base (1.22.4-6) ... Setting up golang-golang-x-crypto-dev (1:0.0~git20201221.eec23a3-1) ... Setting up golang-github-minio-sha256-simd-dev (0.1.1-1) ... Setting up automake (1:1.16.3-2) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up golang-github-cpuguy83-go-md2man-v2-dev (2.0.0+ds-5) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.9.4-2) ... Not building database; man-db/auto-update is not 'true'. Setting up dh-autoreconf (20) ... Setting up golang-github-bmatsuo-lmdb-go-dev (1.8.0+git20170215.a14b5a3-2) ... Setting up golang-github-urfave-cli-dev (1.22.4-2) ... Setting up debhelper (13.3.4) ... Setting up golang-github-mendersoftware-mender-artifact-dev (3.4.0-1) ... Setting up dh-golang (1.51) ... Processing triggers for libc-bin (2.31-13) ... Processing triggers for ca-certificates (20210119) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 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 dpkg-buildpackage: info: source package mender-client dpkg-buildpackage: info: source version 2.4.1-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andreas Henriksson dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 fakeroot debian/rules clean dh clean --buildsystem=golang --with=golang dh_auto_clean -O--buildsystem=golang dh_autoreconf_clean -O--buildsystem=golang dh_clean -O--buildsystem=golang debian/rules build dh build --buildsystem=golang --with=golang dh_update_autotools_config -O--buildsystem=golang dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang debian/rules override_dh_auto_build make[1]: Entering directory '/build/mender-client-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 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/sys github.com/bmatsuo/lmdb-go/internal/lmdbarch vendor/golang.org/x/crypto/cryptobyte/asn1 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 github.com/shurcooL/sanitized_anchor_name runtime internal/reflectlite sync internal/singleflight math/rand errors sort internal/oserror io strconv vendor/golang.org/x/net/dns/dnsmessage syscall hash crypto/internal/randutil bytes text/tabwriter strings hash/crc32 crypto/hmac vendor/golang.org/x/crypto/hkdf crypto/rc4 crypto reflect golang.org/x/text/transform vendor/golang.org/x/text/transform github.com/mendersoftware/openssl/utils bufio path html regexp/syntax internal/syscall/unix internal/syscall/execenv github.com/remyoudompheng/go-liblzma time regexp context internal/poll internal/fmtsort encoding/binary os encoding/base64 crypto/md5 crypto/sha512 crypto/sha1 crypto/sha256 crypto/cipher vendor/golang.org/x/crypto/poly1305 crypto/ed25519/internal/edwards25519 golang.org/x/sys/unix encoding/pem crypto/des vendor/golang.org/x/crypto/chacha20 crypto/aes path/filepath fmt os/signal runtime/debug net github.com/minio/sha256-simd vendor/golang.org/x/crypto/chacha20poly1305 io/ioutil os/exec encoding/hex compress/flate net/url log vendor/golang.org/x/crypto/curve25519 encoding/json vendor/golang.org/x/net/http2/hpack math/big github.com/pmezard/go-difflib/difflib github.com/pkg/errors net/http/internal mime mime/quotedprintable vendor/golang.org/x/text/unicode/norm github.com/davecgh/go-spew/spew 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 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 golang.org/x/net/idna text/template crypto/dsa crypto/elliptic encoding/asn1 crypto/rand 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 log/syslog vendor/golang.org/x/net/http/httpproxy net/textproto crypto/x509 github.com/sirupsen/logrus/hooks/syslog 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 crypto/tls github.com/mendersoftware/mender-artifact/handlers 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 github.com/stretchr/testify/assert github.com/stretchr/testify/mock github.com/stretchr/testify/require github.com/mendersoftware/mender/tests # 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=] 6725 | if (SIZELEFT(fp) < offset) { | ^ mdb.c:6730:5: note: here 6730 | case MDB_CURRENT: | ^~~~ In file included from /usr/include/string.h:495, from mdb.c:102: In function 'memcpy', inlined from 'mdb_env_cwalk' at mdb.c:9158:7: /usr/include/i386-linux-gnu/bits/string_fortified.h:34:10: warning: writing 4 bytes into a region of size 1 [-Wstringop-overflow=] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mdb.c: In function 'mdb_env_cwalk': mdb.c:912:8: note: at offset 0 to object 'mn_data' with size 1 declared here 912 | char mn_data[1]; /**< key and data are appended here */ | ^~~~~~~ In file included from /usr/include/string.h:495, from mdb.c:102: In function 'memcpy', inlined from 'mdb_node_add' at mdb.c:7319:4: /usr/include/i386-linux-gnu/bits/string_fortified.h:34:10: warning: writing 4 bytes into a region of size 1 [-Wstringop-overflow=] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mdb_node_add' at mdb.c:7313:5: /usr/include/i386-linux-gnu/bits/string_fortified.h:34:10: warning: writing 4 bytes into a region of size 1 [-Wstringop-overflow=] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/installer github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/device github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender make[1]: Leaving directory '/build/mender-client-2.4.1' 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 # 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=] 6725 | if (SIZELEFT(fp) < offset) { | ^ mdb.c:6730:5: note: here 6730 | case MDB_CURRENT: | ^~~~ In file included from /usr/include/string.h:495, from mdb.c:102: In function 'memcpy', inlined from 'mdb_env_cwalk' at mdb.c:9158:7: /usr/include/i386-linux-gnu/bits/string_fortified.h:34:10: warning: writing 4 bytes into a region of size 1 [-Wstringop-overflow=] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mdb.c: In function 'mdb_env_cwalk': mdb.c:912:8: note: at offset 0 to object 'mn_data' with size 1 declared here 912 | char mn_data[1]; /**< key and data are appended here */ | ^~~~~~~ In file included from /usr/include/string.h:495, from mdb.c:102: In function 'memcpy', inlined from 'mdb_node_add' at mdb.c:7319:4: /usr/include/i386-linux-gnu/bits/string_fortified.h:34:10: warning: writing 4 bytes into a region of size 1 [-Wstringop-overflow=] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mdb_node_add' at mdb.c:7313:5: /usr/include/i386-linux-gnu/bits/string_fortified.h:34:10: warning: writing 4 bytes into a region of size 1 [-Wstringop-overflow=] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ === RUN TestLicenses license_test.go:22: Skip TestLicenses test, non applicable on Debian Git repo --- SKIP: TestLicenses (0.00s) === RUN TestMainExitCodes main_test.go:27: Skip TestMainExitCodes test, it fails autopkgtest on Debian Salsa CI --- SKIP: TestMainExitCodes (0.00s) === RUN TestBinarySize main_test.go:48: Skip TestBinarySize test, non applicable on Debian build --- SKIP: TestBinarySize (0.00s) PASS ok github.com/mendersoftware/mender 0.007s === RUN TestNewAuthManager --- PASS: TestNewAuthManager (0.00s) === RUN TestAuthManager --- PASS: TestAuthManager (1.72s) === RUN TestAuthManagerRequest --- PASS: TestAuthManagerRequest (0.57s) === RUN TestAuthManagerResponse --- PASS: TestAuthManagerResponse (0.00s) === RUN TestDaemon time="2022-08-29T11:29:00Z" 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" 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" === RUN TestDaemonRun/testing_state_machine_interrupt_functionality_-_inventoryUpdate_state time="2022-08-29T11:31:32Z" 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) --- PASS: TestDaemonRun/testing_state_machine_interrupt_functionality_-_inventoryUpdate_state (1.00s) === RUN TestFileLogger --- PASS: TestFileLogger (0.01s) === RUN TestLogManagerInit --- PASS: TestLogManagerInit (0.00s) === RUN TestLogManagerCheckEnableDisable time="2022-08-29T11:31:32Z" 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) === 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" --- 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" --- PASS: TestDeploymentLoggingHook (0.01s) === RUN TestGetLogs time="2022-08-29T11:31:32Z" 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) === 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) === 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) === 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) === 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) === RUN Test_BootstrappedHaveKeys time="2022-08-29T11:31:37Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" --- PASS: Test_BootstrappedHaveKeys (0.85s) === 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) === 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) === 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" --- 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" --- 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) === 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) === 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) === 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) === 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) === 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) === 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) === 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) === 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) /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) /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) /usr/lib/go-1.15/src/net/http/server.go:2042 +0x34 net/http.(*ServeMux).ServeHTTP(0x9a1ca50, 0x853cfe0, 0x9bae1e0, 0x9ba2300) /usr/lib/go-1.15/src/net/http/server.go:2417 +0x158 net/http.serverHandler.ServeHTTP(0x9da81b0, 0x853cfe0, 0x9bae1e0, 0x9ba2300) /usr/lib/go-1.15/src/net/http/server.go:2843 +0x7f net/http.(*conn).serve(0x9d18120, 0x853d600, 0x9db07a0) /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) === 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) === 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) === 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) === 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" --- 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]" --- 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) === 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, " 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]]" . 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" 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) === 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, " 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, " 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, " 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, " 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]]" . 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" 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) === 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, " 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" . 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" 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" 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." === 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, " 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" . 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" 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" === 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, " 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" . 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" 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." === 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, " 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" . 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" 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" 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" === 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, " 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" === 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, " 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" === 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, " 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" . 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" === 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, " 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" . 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" 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" === 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, " 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" . 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" 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" === 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, " 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" . 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" 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" === 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, " 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" . 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" 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" 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" === 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, " 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" . 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" 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" 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" === 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, " 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" . 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" 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." === 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, " 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" . 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" 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." === 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, " 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" . 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" 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." === 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, " 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" . 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" 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." === 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, " 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" . 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" 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" 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." === 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, " 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" . 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" 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" 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." === 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, " 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" . 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" 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" 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." === 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, " 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" . 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" 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." === 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, " 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" . 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" 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." === 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, " 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" . 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" 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." === 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, " 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" === 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, " 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" . 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" 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) === 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) === 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" --- 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" --- 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) === 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" --- 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" --- 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" --- 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" --- 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" --- 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" --- PASS: TestStateUpdateCheck (0.00s) === RUN TestUpdateCheckSameImage time="2022-08-29T11:32:04Z" 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" --- 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" --- 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) === 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) === 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) === 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" --- 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" --- PASS: TestStateReportError (0.00s) === RUN TestMaxSendingAttempts --- PASS: TestMaxSendingAttempts (0.00s) === RUN TestStateTransitionsWithUpdateModules === 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) 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) 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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) 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) 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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." --- 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) 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) 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) 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) 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) === 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) === RUN TestTransitions time="2022-08-29T11:32:51Z" 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]" 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]" 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]" 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]" 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]" 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" 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]" 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" 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" transition_test.go:194: has: [{Idle Error} {Error Enter}] expect: [{Idle Error} {Error Enter}] --- PASS: TestTransitions (0.01s) --- PASS: TestTransitions/0 (0.00s) --- PASS: TestTransitions/1 (0.00s) --- PASS: TestTransitions/2 (0.00s) --- PASS: TestTransitions/3 (0.00s) --- PASS: TestTransitions/4 (0.00s) --- PASS: TestTransitions/5 (0.00s) --- PASS: TestTransitions/6 (0.00s) --- PASS: TestTransitions/7 (0.00s) --- PASS: TestTransitions/8 (0.00s) === RUN TestGetName --- PASS: TestGetName (0.00s) === RUN TestIgnoreErrors --- PASS: TestIgnoreErrors (0.00s) === RUN TestTransitionReporting transition_test.go:329: Running state: init transition_test.go:329: Running state: idle transition_test.go:329: Running state: authorize transition_test.go:329: Running state: authorize-wait transition_test.go:329: Running state: check-wait transition_test.go:329: Running state: init transition_test.go:329: Running state: update-fetch transition_test.go:329: Running state: update-store transition_test.go:329: Running state: update-install transition_test.go:329: Running state: reboot transition_test.go:329: Running state: after-reboot transition_test.go:329: Running state: update-commit transition_test.go:329: Running state: rollback transition_test.go:329: Running state: after-rollback-reboot transition_test.go:329: Running state: update-error --- PASS: TestTransitionReporting (0.00s) FAIL FAIL github.com/mendersoftware/mender/app 233.230s === 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) === 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)" --- 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)" --- 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) === RUN TestLoggingOptions not a valid logrus Level: "crap" NAME: mender - manage and start the Mender client. USAGE: [global options] command [command options] [arguments...] VERSION: unknown runtime: go1.15.9 DESCRIPTION: mender integrates both the mender daemon and commands for manually performing tasks performed by the daemon (see list of COMMANDS below). Global flag remarks: - Supported log levels incudes: 'debug', 'info', 'warning', 'error', 'panic' and 'fatal'. COMMANDS: bootstrap Perform bootstrap and exit. check-update Force update check. commit Commit current Artifact. Returns (2) if no update in progress. daemon Start the client as a background service. install Mender Artifact to install - local file or a `URL`. rollback Rollback current Artifact. Returns (2) if no update in progress. send-inventory Force inventory update. setup Perform configuration setup - 'mender setup --help' for command options. snapshot Create filesystem snapshot -'mender snapshot --help' for more. show-artifact Print the current artifact name to the command line and exit. help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --config FILE, -c FILE Configuration FILE path. (default: "mender-default-test.conf") --fallback-config FILE, -b FILE Fallback configuration FILE path. (default: "/var/lib/mender/mender.conf") --data DIR, -d DIR Mender state data DIRECTORY path. (default: "/var/lib/mender") --log-file FILE, -L FILE FILE to log to. --log-level level, -l level Set logging level. (default: "info") --log-modules value, -m value -log-modules is accepted for compatibility but has no effect --trusted-certs FILE, -E FILE Trusted server certificates FILE path. --forcebootstrap, -F Force bootstrap. --no-syslog Disable logging to syslog. --skipverify Skip certificate verification. --help, -h show help --version, -v print the version NAME: mender - manage and start the Mender client. USAGE: [global options] command [command options] [arguments...] VERSION: unknown runtime: go1.15.9 DESCRIPTION: mender integrates both the mender daemon and commands for manually performing tasks performed by the daemon (see list of COMMANDS below). Global flag remarks: - Supported log levels incudes: 'debug', 'info', 'warning', 'error', 'panic' and 'fatal'. COMMANDS: bootstrap Perform bootstrap and exit. check-update Force update check. commit Commit current Artifact. Returns (2) if no update in progress. daemon Start the client as a background service. install Mender Artifact to install - local file or a `URL`. rollback Rollback current Artifact. Returns (2) if no update in progress. send-inventory Force inventory update. setup Perform configuration setup - 'mender setup --help' for command options. snapshot Create filesystem snapshot -'mender snapshot --help' for more. show-artifact Print the current artifact name to the command line and exit. help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --config FILE, -c FILE Configuration FILE path. (default: "mender-default-test.conf") --fallback-config FILE, -b FILE Fallback configuration FILE path. (default: "/var/lib/mender/mender.conf") --data DIR, -d DIR Mender state data DIRECTORY path. (default: "/var/lib/mender") --log-file FILE, -L FILE FILE to log to. --log-level level, -l level Set logging level. (default: "info") --log-modules value, -m value -log-modules is accepted for compatibility but has no effect --trusted-certs FILE, -E FILE Trusted server certificates FILE path. --forcebootstrap, -F Force bootstrap. --no-syslog Disable logging to syslog. --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" NAME: mender - manage and start the Mender client. USAGE: [global options] command [command options] [arguments...] VERSION: unknown runtime: go1.15.9 DESCRIPTION: mender integrates both the mender daemon and commands for manually performing tasks performed by the daemon (see list of COMMANDS below). Global flag remarks: - Supported log levels incudes: 'debug', 'info', 'warning', 'error', 'panic' and 'fatal'. COMMANDS: bootstrap Perform bootstrap and exit. check-update Force update check. commit Commit current Artifact. Returns (2) if no update in progress. daemon Start the client as a background service. install Mender Artifact to install - local file or a `URL`. rollback Rollback current Artifact. Returns (2) if no update in progress. send-inventory Force inventory update. setup Perform configuration setup - 'mender setup --help' for command options. snapshot Create filesystem snapshot -'mender snapshot --help' for more. show-artifact Print the current artifact name to the command line and exit. help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --config FILE, -c FILE Configuration FILE path. (default: "mender-default-test.conf") --fallback-config FILE, -b FILE Fallback configuration FILE path. (default: "/var/lib/mender/mender.conf") --data DIR, -d DIR Mender state data DIRECTORY path. (default: "/var/lib/mender") --log-file FILE, -L FILE FILE to log to. --log-level level, -l level Set logging level. (default: "info") --log-modules value, -m value -log-modules is accepted for compatibility but has no effect --trusted-certs FILE, -E FILE Trusted server certificates FILE path. --forcebootstrap, -F Force bootstrap. --no-syslog Disable logging to syslog. --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" NAME: mender - manage and start the Mender client. USAGE: [global options] command [command options] [arguments...] VERSION: unknown runtime: go1.15.9 DESCRIPTION: mender integrates both the mender daemon and commands for manually performing tasks performed by the daemon (see list of COMMANDS below). Global flag remarks: - Supported log levels incudes: 'debug', 'info', 'warning', 'error', 'panic' and 'fatal'. COMMANDS: bootstrap Perform bootstrap and exit. check-update Force update check. commit Commit current Artifact. Returns (2) if no update in progress. daemon Start the client as a background service. install Mender Artifact to install - local file or a `URL`. rollback Rollback current Artifact. Returns (2) if no update in progress. send-inventory Force inventory update. setup Perform configuration setup - 'mender setup --help' for command options. snapshot Create filesystem snapshot -'mender snapshot --help' for more. show-artifact Print the current artifact name to the command line and exit. help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --config FILE, -c FILE Configuration FILE path. (default: "mender-default-test.conf") --fallback-config FILE, -b FILE Fallback configuration FILE path. (default: "/var/lib/mender/mender.conf") --data DIR, -d DIR Mender state data DIRECTORY path. (default: "/var/lib/mender") --log-file FILE, -L FILE FILE to log to. --log-level level, -l level Set logging level. (default: "info") --log-modules value, -m value -log-modules is accepted for compatibility but has no effect --trusted-certs FILE, -E FILE Trusted server certificates FILE path. --forcebootstrap, -F Force bootstrap. --no-syslog Disable logging to syslog. --skipverify Skip certificate verification. --help, -h show help --version, -v print the version NAME: mender - manage and start the Mender client. USAGE: [global options] command [command options] [arguments...] VERSION: unknown runtime: go1.15.9 DESCRIPTION: mender integrates both the mender daemon and commands for manually performing tasks performed by the daemon (see list of COMMANDS below). Global flag remarks: - Supported log levels incudes: 'debug', 'info', 'warning', 'error', 'panic' and 'fatal'. COMMANDS: bootstrap Perform bootstrap and exit. check-update Force update check. commit Commit current Artifact. Returns (2) if no update in progress. daemon Start the client as a background service. install Mender Artifact to install - local file or a `URL`. rollback Rollback current Artifact. Returns (2) if no update in progress. send-inventory Force inventory update. setup Perform configuration setup - 'mender setup --help' for command options. snapshot Create filesystem snapshot -'mender snapshot --help' for more. show-artifact Print the current artifact name to the command line and exit. help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --config FILE, -c FILE Configuration FILE path. (default: "mender-default-test.conf") --fallback-config FILE, -b FILE Fallback configuration FILE path. (default: "/var/lib/mender/mender.conf") --data DIR, -d DIR Mender state data DIRECTORY path. (default: "/var/lib/mender") --log-file FILE, -L FILE FILE to log to. --log-level level, -l level Set logging level. (default: "info") --log-modules value, -m value -log-modules is accepted for compatibility but has no effect --trusted-certs FILE, -E FILE Trusted server certificates FILE path. --forcebootstrap, -F Force bootstrap. --no-syslog Disable logging to syslog. --skipverify Skip certificate verification. --help, -h show help --version, -v print the version NAME: mender - manage and start the Mender client. USAGE: [global options] command [command options] [arguments...] VERSION: unknown runtime: go1.15.9 DESCRIPTION: mender integrates both the mender daemon and commands for manually performing tasks performed by the daemon (see list of COMMANDS below). Global flag remarks: - Supported log levels incudes: 'debug', 'info', 'warning', 'error', 'panic' and 'fatal'. COMMANDS: bootstrap Perform bootstrap and exit. check-update Force update check. commit Commit current Artifact. Returns (2) if no update in progress. daemon Start the client as a background service. install Mender Artifact to install - local file or a `URL`. rollback Rollback current Artifact. Returns (2) if no update in progress. send-inventory Force inventory update. setup Perform configuration setup - 'mender setup --help' for command options. snapshot Create filesystem snapshot -'mender snapshot --help' for more. show-artifact Print the current artifact name to the command line and exit. help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --config FILE, -c FILE Configuration FILE path. (default: "mender-default-test.conf") --fallback-config FILE, -b FILE Fallback configuration FILE path. (default: "/var/lib/mender/mender.conf") --data DIR, -d DIR Mender state data DIRECTORY path. (default: "/var/lib/mender") --log-file FILE, -L FILE FILE to log to. --log-level level, -l level Set logging level. (default: "info") --log-modules value, -m value -log-modules is accepted for compatibility but has no effect --trusted-certs FILE, -E FILE Trusted server certificates FILE path. --forcebootstrap, -F Force bootstrap. --no-syslog Disable logging to syslog. --skipverify Skip certificate verification. --help, -h show help --version, -v print the version --- PASS: TestLoggingOptions (0.01s) === RUN TestVersion --- PASS: TestVersion (0.00s) === RUN TestMainBootstrap --- PASS: TestMainBootstrap (2.32s) === RUN TestPrintArtifactName foobar db-name foobar --- PASS: TestPrintArtifactName (0.01s) === RUN TestGetMenderDaemonPID --- PASS: TestGetMenderDaemonPID (0.00s) === RUN TestInvalidServerCertificateBoot --- PASS: TestInvalidServerCertificateBoot (0.08s) === RUN TestIgnoreServerConfigVerification Mender Client Setup =================== Setting up the Mender client: The client will regularly poll the server to check for updates and report its inventory data. Get started by first configuring the device type and settings for communicating with the server. Mender setup successfully. --- PASS: TestIgnoreServerConfigVerification (0.00s) === RUN TestCliHelpText cli_test.go:578: 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) === 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] 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] 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] 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] 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 URL of the Mender Server: [https://docker.mender.io] Set the location of the certificate of the server; leave blank if using http (not recommended) or a certificate from a known authority (filepath, for example /etc/mender/server.crt): 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]--- PASS: TestSetupInteractiveMode (0.00s) === RUN TestSetupFlags --- PASS: TestSetupFlags (0.00s) FAIL FAIL github.com/mendersoftware/mender/cli 6.643s === RUN TestClientAuthMakeReq client_auth_test.go:75: data: foobar data --- PASS: TestClientAuthMakeReq (0.00s) === RUN TestClientAuth --- PASS: TestClientAuth (3.89s) === 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) === 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) === 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) === 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) === 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) === RUN TestClientAuthHostValidationNocheck --- PASS: TestClientAuthHostValidationNocheck (3.82s) === 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) === 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) === 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) === 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) === 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) === 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) === 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) === 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) === 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" === 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) === 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) === RUN TestListSystemCertsFound --- PASS: TestListSystemCertsFound (0.00s) === RUN TestParseUpdateResponse === RUN TestParseUpdateResponse/0 === PAUSE TestParseUpdateResponse/0 === RUN TestParseUpdateResponse/1 === PAUSE TestParseUpdateResponse/1 === RUN TestParseUpdateResponse/2 === PAUSE TestParseUpdateResponse/2 === RUN TestParseUpdateResponse/3 === PAUSE TestParseUpdateResponse/3 === RUN TestParseUpdateResponse/4 === PAUSE TestParseUpdateResponse/4 === RUN TestParseUpdateResponse/5 === PAUSE TestParseUpdateResponse/5 === RUN TestParseUpdateResponse/6 === PAUSE TestParseUpdateResponse/6 === RUN TestParseUpdateResponse/7 === 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/4 === CONT TestParseUpdateResponse/3 === CONT TestParseUpdateResponse/2 === CONT TestParseUpdateResponse/1 --- 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/4 (0.00s) --- PASS: TestParseUpdateResponse/3 (0.00s) --- PASS: TestParseUpdateResponse/2 (0.00s) --- PASS: TestParseUpdateResponse/1 (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) === RUN Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing --- PASS: Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing (3.96s) === 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) === 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) === 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) === RUN Test_FetchUpdate_correctContent_UpdateFetched --- PASS: Test_FetchUpdate_correctContent_UpdateFetched (3.77s) === RUN Test_UpdateApiClientError time="2022-08-29T11:29:52Z" 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 client_update_test.go:368: http://foo.bar/api/devices/v1/deployments/device/deployments/next?artifact_name=release-1 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) === RUN TestBrokenReadAndPartialDownload === RUN TestBrokenReadAndPartialDownload/group === RUN TestBrokenReadAndPartialDownload/group/success === PAUSE TestBrokenReadAndPartialDownload/group/success === RUN TestBrokenReadAndPartialDownload/group/earlyRangeStart === PAUSE TestBrokenReadAndPartialDownload/group/earlyRangeStart === RUN TestBrokenReadAndPartialDownload/group/lateRangeStart === PAUSE TestBrokenReadAndPartialDownload/group/lateRangeStart === RUN TestBrokenReadAndPartialDownload/group/brokenContentLength === PAUSE TestBrokenReadAndPartialDownload/group/brokenContentLength === RUN TestBrokenReadAndPartialDownload/group/missingContentLength === PAUSE TestBrokenReadAndPartialDownload/group/missingContentLength === RUN TestBrokenReadAndPartialDownload/group/noPartialContentSupport === PAUSE TestBrokenReadAndPartialDownload/group/noPartialContentSupport === RUN TestBrokenReadAndPartialDownload/group/emptyContentRange === PAUSE TestBrokenReadAndPartialDownload/group/emptyContentRange === RUN TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange === PAUSE TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange === RUN TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange === PAUSE TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange === RUN TestBrokenReadAndPartialDownload/group/missingBytesContentRange === PAUSE TestBrokenReadAndPartialDownload/group/missingBytesContentRange === RUN TestBrokenReadAndPartialDownload/group/missingContentRange === PAUSE TestBrokenReadAndPartialDownload/group/missingContentRange === RUN TestBrokenReadAndPartialDownload/group/tooManyContentRanges === PAUSE TestBrokenReadAndPartialDownload/group/tooManyContentRanges === RUN TestBrokenReadAndPartialDownload/group/garbledContentStart === PAUSE TestBrokenReadAndPartialDownload/group/garbledContentStart === RUN TestBrokenReadAndPartialDownload/group/breakAfterShortRange === PAUSE TestBrokenReadAndPartialDownload/group/breakAfterShortRange === RUN TestBrokenReadAndPartialDownload/group/serverDownAndUp === PAUSE TestBrokenReadAndPartialDownload/group/serverDownAndUp === RUN TestBrokenReadAndPartialDownload/group/serverDown === PAUSE TestBrokenReadAndPartialDownload/group/serverDown === CONT TestBrokenReadAndPartialDownload/group/success === CONT TestBrokenReadAndPartialDownload/group/serverDown === CONT TestBrokenReadAndPartialDownload/group/serverDownAndUp === CONT TestBrokenReadAndPartialDownload/group/breakAfterShortRange === CONT TestBrokenReadAndPartialDownload/group/garbledContentStart === CONT TestBrokenReadAndPartialDownload/group/tooManyContentRanges === CONT TestBrokenReadAndPartialDownload/group/missingContentRange === CONT TestBrokenReadAndPartialDownload/group/missingBytesContentRange === CONT TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange === CONT TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange === CONT TestBrokenReadAndPartialDownload/group/emptyContentRange === CONT TestBrokenReadAndPartialDownload/group/noPartialContentSupport === CONT TestBrokenReadAndPartialDownload/group/missingContentLength === 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) --- 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 ok github.com/mendersoftware/mender/client 85.565s ? 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)" --- 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" --- 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." --- PASS: TestServerURLConfig (0.00s) === RUN TestMultipleServersConfig time="2022-08-29T11:28:57Z" level=info msg="Loaded configuration file: /tmp/mendertest774074376/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" --- PASS: TestConfigurationMergeSettings (0.00s) === RUN TestConfigurationNeitherFileExistsIsNotError time="2022-08-29T11:28:57Z" 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 === RUN TestMenderState --- PASS: TestMenderState (0.00s) PASS ok github.com/mendersoftware/mender/datastore 0.012s === 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 ok github.com/mendersoftware/mender/device 0.021s === 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) === RUN TestBlockDeviceSize block_device_test.go:46: block device size called: &{0x886a600} block_device_test.go:46: block device size called: &{0x886a640} --- PASS: TestBlockDeviceSize (0.00s) === RUN TestBlockFrameWriter --- PASS: TestBlockFrameWriter (0.00s) === RUN TestOptimizedBlockDeviceWriter --- PASS: TestOptimizedBlockDeviceWriter (0.00s) === 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) === 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) === RUN Test_EnvRead_HaveVariable_ReadsVariable --- PASS: Test_EnvRead_HaveVariable_ReadsVariable (0.01s) === 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) === 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) === RUN Test_EnvCanary --- PASS: Test_EnvCanary (0.03s) === 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" --- 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) === RUN Test_commitUpdate time="2022-08-29T11:28:57Z" 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) === 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: " --- 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) === 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) === 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) === 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) === RUN TestInstallNoSignature --- PASS: TestInstallNoSignature (0.00s) === RUN TestInstallWithScripts time="2022-08-29T11:28:57Z" level=info msg="No public key was provided for authenticating the artifact" --- PASS: TestInstallWithScripts (0.01s) === RUN TestCorrectUpdateProducerReturned time="2022-08-29T11:28:57Z" level=info msg="No public key was provided for authenticating the artifact" --- PASS: TestCorrectUpdateProducerReturned (0.01s) === RUN TestMultiplePayloadsRejected time="2022-08-29T11:28:57Z" level=info msg="No public key was provided for authenticating the artifact" --- PASS: TestMultiplePayloadsRejected (0.01s) === RUN TestStreamsTree --- PASS: TestStreamsTree (2.43s) === RUN TestModulesDownload === RUN TestModulesDownload/Mender_download === RUN TestModulesDownload/Module_download === RUN TestModulesDownload/Module_download_failure === RUN TestModulesDownload/Module_download_short_read_of_stream-next === RUN TestModulesDownload/Module_download_short_read_of_stream === RUN TestModulesDownload/Cannot_open_stream_file === RUN TestModulesDownload/files_dir_blocked_by_file === RUN TestModulesDownload/Mender_download_multiple_files === RUN TestModulesDownload/Module_download_multiple_files === RUN TestModulesDownload/Module_download_multiple_files,_downloads_only_one === RUN TestModulesDownload/Module_downloads_two_entries,_but_one_file === 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" === 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) --- 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_download_fails_final_exit (0.01s) --- PASS: TestModulesDownload/Module_download_hangs (6.00s) --- PASS: TestModulesDownload/Module_download_never_exits (5.00s) === 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" --- 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." --- 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) === 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" --- PASS: TestMaybeResolveLink (0.00s) PASS ok github.com/mendersoftware/mender/installer 16.805s === RUN TestInventoryDataDecoder --- PASS: TestInventoryDataDecoder (0.00s) PASS ok github.com/mendersoftware/mender/inventory 0.009s ? 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) === RUN TestVersion --- PASS: TestVersion (0.02s) === 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) === 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" --- PASS: TestDefaultConfiguration (0.00s) === RUN TestReadVersion statescript_test.go:475: incorrect version file - unwanted 'a' in file statescript_test.go:475: correct version file - no newline statescript_test.go:475: correct version file - newline --- PASS: TestReadVersion (0.00s) PASS ok github.com/mendersoftware/mender/statescript 10.197s === 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) === 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) === RUN TestSignED25519 --- PASS: TestSignED25519 (0.00s) === RUN TestKeystoreLoadPem --- PASS: TestKeystoreLoadPem (0.00s) === RUN TestMemStore --- PASS: TestMemStore (0.00s) PASS ok github.com/mendersoftware/mender/store 3.423s === RUN TestGetMountInfoFromDeviceID === RUN TestGetMountInfoFromDeviceID/Success === RUN TestGetMountInfoFromDeviceID/Fail_-_open_returns_error === RUN TestGetMountInfoFromDeviceID/Fail_-_malformed_mount_file === RUN TestGetMountInfoFromDeviceID/Fail_-_device_not_mounted --- PASS: TestGetMountInfoFromDeviceID (0.00s) --- PASS: TestGetMountInfoFromDeviceID/Success (0.00s) --- PASS: TestGetMountInfoFromDeviceID/Fail_-_open_returns_error (0.00s) --- PASS: TestGetMountInfoFromDeviceID/Fail_-_malformed_mount_file (0.00s) --- PASS: TestGetMountInfoFromDeviceID/Fail_-_device_not_mounted (0.00s) === RUN TestSetUbiUpdateVolume --- PASS: TestSetUbiUpdateVolume (0.00s) === RUN TestFreezeFs --- PASS: TestFreezeFs (0.00s) PASS ok github.com/mendersoftware/mender/system 0.004s ? github.com/mendersoftware/mender/system/testing [no test files] ? github.com/mendersoftware/mender/tests [no test files] === RUN TestKeyValParser kvparser_test.go:72: testing case: 0 kvparser_test.go:72: testing case: 1 kvparser_test.go:72: testing case: 2 --- PASS: TestKeyValParser (0.00s) === RUN TestLimitedWriteCloser --- PASS: TestLimitedWriteCloser (0.00s) === RUN TestProgress --- PASS: TestProgress (0.69s) PASS ok github.com/mendersoftware/mender/utils 0.697s 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 make[1]: Leaving directory '/build/mender-client-2.4.1' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary --buildsystem=golang --with=golang dh_testroot -O--buildsystem=golang dh_prep -O--buildsystem=golang dh_installdirs -O--buildsystem=golang debian/rules override_dh_auto_install make[1]: Entering directory '/build/mender-client-2.4.1' dh_auto_install -- --no-source cd obj-i686-linux-gnu && mkdir -p /build/mender-client-2.4.1/debian/mender-client/usr cd obj-i686-linux-gnu && cp -r bin /build/mender-client-2.4.1/debian/mender-client/usr make[1]: Leaving directory '/build/mender-client-2.4.1' dh_installdocs -O--buildsystem=golang dh_installchangelogs -O--buildsystem=golang dh_installexamples -O--buildsystem=golang dh_installinit -O--buildsystem=golang dh_installsystemd -O--buildsystem=golang dh_installsystemduser -O--buildsystem=golang dh_perl -O--buildsystem=golang dh_link -O--buildsystem=golang dh_strip_nondeterminism -O--buildsystem=golang dh_compress -O--buildsystem=golang dh_fixperms -O--buildsystem=golang dh_missing -O--buildsystem=golang dh_dwz -O--buildsystem=golang dwz: debian/mender-client/usr/bin/mender: .debug_info section not present dh_strip -O--buildsystem=golang dh_makeshlibs -O--buildsystem=golang dh_shlibdeps -O--buildsystem=golang dh_installdeb -O--buildsystem=golang dh_golang -O--buildsystem=golang dh_gencontrol -O--buildsystem=golang dh_md5sums -O--buildsystem=golang dh_builddeb -O--buildsystem=golang dpkg-deb: building package 'mender-client-dbgsym' in '../mender-client-dbgsym_2.4.1-2_i386.deb'. dpkg-deb: building package 'mender-client' in '../mender-client_2.4.1-2_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../mender-client_2.4.1-2_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/35178 and its subdirectories I: Current time: Sun Aug 28 23:32:59 -12 2022 I: pbuilder-time-stamp: 1661772779 Tue Jul 27 05:10:00 UTC 2021 I: 1st build successful. Starting 2nd build on remote node ionos2-i386.debian.net. Tue Jul 27 05:10:00 UTC 2021 I: Preparing to do remote build '2' on ionos2-i386.debian.net. Tue Jul 27 05:24:55 UTC 2021 I: Deleting $TMPDIR on ionos2-i386.debian.net. Tue Jul 27 05:24:56 UTC 2021 I: mender-client_2.4.1-2_i386.changes: Format: 1.8 Date: Tue, 13 Apr 2021 21:20:55 +0200 Source: mender-client Binary: mender-client mender-client-dbgsym Architecture: i386 Version: 2.4.1-2 Distribution: unstable Urgency: medium Maintainer: Debian Go Packaging Team Changed-By: Andreas Henriksson Description: mender-client - Mender over-the-air software updater client. Changes: mender-client (2.4.1-2) unstable; urgency=medium . * Recommend libubootenv-tool instead of u-boot-tools Checksums-Sha1: 0557f85ed235572fcdf1cf776183e255d1b6b2d8 2932856 mender-client-dbgsym_2.4.1-2_i386.deb 5d01d1a761e798646423e646e074a5737933ccc5 6596 mender-client_2.4.1-2_i386.buildinfo 32f1f4057f205dcf5ab08c10043fc5c4fe664b1f 2655640 mender-client_2.4.1-2_i386.deb Checksums-Sha256: 19277702ea15aaaac66eb3e4680517c68e31d205ef2ce07f89da1a76a61e73e8 2932856 mender-client-dbgsym_2.4.1-2_i386.deb 7e65f839bcaa44e3d19cdcfe40ae27a891033de68e302fcc0e068958eae739fd 6596 mender-client_2.4.1-2_i386.buildinfo 9155f896777b21fa638c0c4c89a08c46515e41585a87f64b153c0d27fb772740 2655640 mender-client_2.4.1-2_i386.deb Files: 5c9e0b016a25bc046136a46d45ea227e 2932856 debug optional mender-client-dbgsym_2.4.1-2_i386.deb 417b44a8ef836363a2c7b470051f31b6 6596 devel optional mender-client_2.4.1-2_i386.buildinfo c87e48a2bc677b25e3c57d03ac69d84c 2655640 devel optional mender-client_2.4.1-2_i386.deb Tue Jul 27 05:24:58 UTC 2021 I: diffoscope 177 will be used to compare the two builds: # Profiling output for: /usr/bin/diffoscope --html /srv/reproducible-results/rbuild-debian/tmp.vcFRDHmwg7/mender-client_2.4.1-2.diffoscope.html --text /srv/reproducible-results/rbuild-debian/tmp.vcFRDHmwg7/mender-client_2.4.1-2.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/tmp.vcFRDHmwg7/mender-client_2.4.1-2.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/tmp.vcFRDHmwg7/b1/mender-client_2.4.1-2_i386.changes /srv/reproducible-results/rbuild-debian/tmp.vcFRDHmwg7/b2/mender-client_2.4.1-2_i386.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call abc.DotChangesFile ## main (total time: 1.497s) 1.497s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.255s) 0.255s 10 calls diffoscope.comparators.binary.FilesystemFile 0.000s 8 calls abc.DotChangesFile Tue Jul 27 05:25:01 UTC 2021 I: diffoscope 177 found no differences in the changes files, and a .buildinfo file also exists. Tue Jul 27 05:25:01 UTC 2021 I: mender-client from bullseye built successfully and reproducibly on i386. Tue Jul 27 05:25:03 UTC 2021 I: Submitting .buildinfo files to external archives: Tue Jul 27 05:25:03 UTC 2021 I: Submitting 8.0K b1/mender-client_2.4.1-2_i386.buildinfo.asc Tue Jul 27 05:25:05 UTC 2021 I: Submitting 8.0K b2/mender-client_2.4.1-2_i386.buildinfo.asc Tue Jul 27 05:25:07 UTC 2021 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Tue Jul 27 05:25:07 UTC 2021 I: Done submitting .buildinfo files. Tue Jul 27 05:25:07 UTC 2021 I: Removing signed mender-client_2.4.1-2_i386.buildinfo.asc files: removed './b1/mender-client_2.4.1-2_i386.buildinfo.asc' removed './b2/mender-client_2.4.1-2_i386.buildinfo.asc'