Sat Jan 6 23:31:58 UTC 2024 I: starting to build mender-client/bullseye/arm64 on jenkins on '2024-01-06 23:31' Sat Jan 6 23:31:58 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/arm64_7/19654/console.log Sat Jan 6 23:31:58 UTC 2024 I: Downloading source for bullseye/mender-client=2.4.1-2 --2024-01-06 23:31:58-- 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) [text/prs.lines.tag] Saving to: ‘mender-client_2.4.1-2.dsc’ 0K .. 100% 2.23M=0.001s 2024-01-06 23:31:58 (2.23 MB/s) - ‘mender-client_2.4.1-2.dsc’ saved [2565/2565] Sat Jan 6 23:31:58 UTC 2024 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----- Sat Jan 6 23:31:58 UTC 2024 I: Checking whether the package is not for us Sat Jan 6 23:31:58 UTC 2024 I: Starting 1st build on remote node codethink02-arm64.debian.net. Sat Jan 6 23:31:58 UTC 2024 I: Preparing to do remote build '1' on codethink02-arm64.debian.net. Sat Jan 6 23:40:55 UTC 2024 I: Deleting $TMPDIR on codethink02-arm64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Sat Jan 6 11:32:01 -12 2024 I: pbuilder-time-stamp: 1704583921 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [mender-client_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.8N_yv3bj/trustedkeys.kbx': General error gpgv: Signature made Tue Apr 13 19:37:53 2021 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/3201384/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=12 ' DISTRIBUTION='bullseye' HOME='/root' HOST_ARCH='arm64' IFS=' ' INVOCATION_ID='e0a211c2328e4c909cdf269b41779cf2' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='3201384' 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/r-b-build.599rsRDa/pbuilderrc_uEFW --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.599rsRDa/b1 --logfile b1/build.log mender-client_2.4.1-2.dsc' SUDO_GID='109' SUDO_UID='104' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.104:3128' I: uname -a Linux codethink02-arm64 6.1.0-17-cloud-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux I: ls -l /bin total 5252 -rwxr-xr-x 1 root root 1282512 Mar 27 2022 bash -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 -rwxr-xr-x 3 root root 34808 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 34808 Jul 20 2020 bzip2 -rwxr-xr-x 1 root root 14264 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 39832 Sep 22 2020 cat -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash -rwxr-xr-x 1 root root 101384 Sep 22 2020 date -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd -rwxr-xr-x 1 root root 89824 Sep 22 2020 df -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir -rwxr-xr-x 1 root root 76152 Jan 20 2022 dmesg lrwxrwxrwx 1 root root 8 Nov 7 2019 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Nov 7 2019 domainname -> hostname -rwxr-xr-x 1 root root 35632 Sep 22 2020 echo -rwxr-xr-x 1 root root 28 Jan 25 2023 egrep -rwxr-xr-x 1 root root 31512 Sep 22 2020 false -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep -rwxr-xr-x 1 root root 64856 Jan 20 2022 findmnt -rwsr-xr-x 1 root root 34824 Feb 26 2021 fusermount -rwxr-xr-x 1 root root 182496 Jan 25 2023 grep -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe -rwxr-xr-x 1 root root 93744 Apr 10 2022 gzip -rwxr-xr-x 1 root root 18440 Nov 7 2019 hostname -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln -rwxr-xr-x 1 root root 52720 Feb 7 2020 login -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls -rwxr-xr-x 1 root root 157864 Jan 20 2022 lsblk -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp -rwxr-xr-x 1 root root 51368 Jan 20 2022 more -rwsr-xr-x 1 root root 51360 Jan 20 2022 mount -rwxr-xr-x 1 root root 14496 Jan 20 2022 mountpoint -rwxr-xr-x 1 root root 134808 Sep 22 2020 mv lrwxrwxrwx 1 root root 8 Nov 7 2019 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Dec 16 2021 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed lrwxrwxrwx 1 root root 4 Dec 7 09:24 sh -> dash -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty -rwsr-xr-x 1 root root 67776 Jan 20 2022 su -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync -rwxr-xr-x 1 root root 535768 Feb 17 2021 tar -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch -rwxr-xr-x 1 root root 31512 Sep 22 2020 true -rwxr-xr-x 1 root root 14264 Feb 26 2021 ulockmgr_server -rwsr-xr-x 1 root root 30880 Jan 20 2022 umount -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir -rwxr-xr-x 1 root root 59584 Jan 20 2022 wdctl lrwxrwxrwx 1 root root 8 Nov 7 2019 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp -rwxr-xr-x 1 root root 5898 Apr 10 2022 zdiff -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce -rwxr-xr-x 1 root root 8049 Apr 10 2022 zgrep -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew I: user script /srv/workspace/pbuilder/3201384/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-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 ... 17734 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 101 MB of archives. After unpacking 520 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bullseye/main arm64 bsdextrautils arm64 2.36.1-8+deb11u1 [142 kB] Get: 2 http://deb.debian.org/debian bullseye/main arm64 libuchardet0 arm64 0.0.7-1 [67.9 kB] Get: 3 http://deb.debian.org/debian bullseye/main arm64 groff-base arm64 1.22.4-6 [883 kB] Get: 4 http://deb.debian.org/debian bullseye/main arm64 libpipeline1 arm64 1.5.3-1 [33.0 kB] Get: 5 http://deb.debian.org/debian bullseye/main arm64 man-db arm64 2.9.4-2 [1336 kB] Get: 6 http://deb.debian.org/debian bullseye/main arm64 golang-golang-x-sys-dev all 0.0~git20210124.22da62e-1 [308 kB] Get: 7 http://deb.debian.org/debian bullseye/main arm64 golang-github-sirupsen-logrus-dev all 1.7.0-2 [45.3 kB] Get: 8 http://deb.debian.org/debian bullseye/main arm64 sensible-utils all 0.0.14 [14.8 kB] Get: 9 http://deb.debian.org/debian bullseye/main arm64 openssl arm64 1.1.1w-0+deb11u1 [837 kB] Get: 10 http://deb.debian.org/debian bullseye/main arm64 ca-certificates all 20210119 [158 kB] Get: 11 http://deb.debian.org/debian bullseye/main arm64 libmagic-mgc arm64 1:5.39-3+deb11u1 [273 kB] Get: 12 http://deb.debian.org/debian bullseye/main arm64 libmagic1 arm64 1:5.39-3+deb11u1 [123 kB] Get: 13 http://deb.debian.org/debian bullseye/main arm64 file arm64 1:5.39-3+deb11u1 [69.2 kB] Get: 14 http://deb.debian.org/debian bullseye/main arm64 gettext-base arm64 0.21-4 [173 kB] Get: 15 http://deb.debian.org/debian bullseye/main arm64 libsigsegv2 arm64 2.13-1 [34.7 kB] Get: 16 http://deb.debian.org/debian bullseye/main arm64 m4 arm64 1.4.18-5 [199 kB] Get: 17 http://deb.debian.org/debian bullseye/main arm64 autoconf all 2.69-14 [313 kB] Get: 18 http://deb.debian.org/debian bullseye/main arm64 autotools-dev all 20180224.1+nmu1 [77.1 kB] Get: 19 http://deb.debian.org/debian bullseye/main arm64 automake all 1:1.16.3-2 [814 kB] Get: 20 http://deb.debian.org/debian bullseye/main arm64 autopoint all 0.21-4 [510 kB] Get: 21 http://deb.debian.org/debian bullseye/main arm64 libdebhelper-perl all 13.3.4 [189 kB] Get: 22 http://deb.debian.org/debian bullseye/main arm64 libtool all 2.4.6-15 [513 kB] Get: 23 http://deb.debian.org/debian bullseye/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 24 http://deb.debian.org/debian bullseye/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 25 http://deb.debian.org/debian bullseye/main arm64 libsub-override-perl all 0.09-2 [10.2 kB] Get: 26 http://deb.debian.org/debian bullseye/main arm64 libfile-stripnondeterminism-perl all 1.12.0-1 [26.3 kB] Get: 27 http://deb.debian.org/debian bullseye/main arm64 dh-strip-nondeterminism all 1.12.0-1 [15.4 kB] Get: 28 http://deb.debian.org/debian bullseye/main arm64 libelf1 arm64 0.183-1 [164 kB] Get: 29 http://deb.debian.org/debian bullseye/main arm64 dwz arm64 0.13+20210201-1 [155 kB] Get: 30 http://deb.debian.org/debian bullseye/main arm64 libicu67 arm64 67.1-7 [8467 kB] Get: 31 http://deb.debian.org/debian bullseye/main arm64 libxml2 arm64 2.9.10+dfsg-6.7+deb11u4 [629 kB] Get: 32 http://deb.debian.org/debian bullseye/main arm64 gettext arm64 0.21-4 [1261 kB] Get: 33 http://deb.debian.org/debian bullseye/main arm64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 34 http://deb.debian.org/debian bullseye/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 35 http://deb.debian.org/debian bullseye/main arm64 debhelper all 13.3.4 [1049 kB] Get: 36 http://deb.debian.org/debian bullseye/main arm64 dh-golang all 1.51 [24.6 kB] Get: 37 http://deb.debian.org/debian bullseye/main arm64 golang-1.15-src arm64 1.15.15-1~deb11u4 [13.9 MB] Get: 38 http://deb.debian.org/debian bullseye/main arm64 golang-1.15-go arm64 1.15.15-1~deb11u4 [43.0 MB] Get: 39 http://deb.debian.org/debian bullseye/main arm64 golang-src arm64 2:1.15~1 [4856 B] Get: 40 http://deb.debian.org/debian bullseye/main arm64 golang-go arm64 2:1.15~1 [23.9 kB] Get: 41 http://deb.debian.org/debian bullseye/main arm64 golang-any arm64 2:1.15~1 [4976 B] Get: 42 http://deb.debian.org/debian bullseye/main arm64 golang-golang-x-text-dev all 0.3.6-1 [3857 kB] Get: 43 http://deb.debian.org/debian bullseye/main arm64 golang-golang-x-net-dev all 1:0.0+git20210119.5f4716e+dfsg-4 [659 kB] Get: 44 http://deb.debian.org/debian bullseye/main arm64 golang-github-bmatsuo-lmdb-go-dev all 1.8.0+git20170215.a14b5a3-2 [145 kB] Get: 45 http://deb.debian.org/debian bullseye/main arm64 golang-github-pmezard-go-difflib-dev all 1.0.0-3 [12.3 kB] Get: 46 http://deb.debian.org/debian bullseye/main arm64 golang-github-shurcool-sanitized-anchor-name-dev all 1.0.0-1 [3872 B] Get: 47 http://deb.debian.org/debian bullseye/main arm64 golang-github-russross-blackfriday-v2-dev all 2.0.1-3 [67.8 kB] Get: 48 http://deb.debian.org/debian bullseye/main arm64 golang-github-cpuguy83-go-md2man-v2-dev all 2.0.0+ds-5 [9932 B] Get: 49 http://deb.debian.org/debian bullseye/main arm64 golang-github-davecgh-go-spew-dev all 1.1.1-2 [29.7 kB] Get: 50 http://deb.debian.org/debian bullseye/main arm64 golang-github-cespare-xxhash-dev all 2.1.1-1 [8748 B] Get: 51 http://deb.debian.org/debian bullseye/main arm64 golang-github-klauspost-compress-dev all 1.11.7-2 [14.2 MB] Get: 52 http://deb.debian.org/debian bullseye/main arm64 golang-github-klauspost-pgzip-dev all 1.2.5-1 [118 kB] Get: 53 http://deb.debian.org/debian bullseye/main arm64 golang-github-pkg-errors-dev all 0.9.1-1 [13.0 kB] Get: 54 http://deb.debian.org/debian bullseye/main arm64 golang-github-minio-sha256-simd-dev all 0.1.1-1 [35.9 kB] Get: 55 http://deb.debian.org/debian bullseye/main arm64 liblzma-dev arm64 5.2.5-2.1~deb11u1 [227 kB] Get: 56 http://deb.debian.org/debian bullseye/main arm64 golang-github-remyoudompheng-go-liblzma-dev all 0.0~git20190506.81bf2d4-3 [49.5 kB] Get: 57 http://deb.debian.org/debian bullseye/main arm64 golang-github-stretchr-objx-dev all 0.3.0-1 [25.4 kB] Get: 58 http://deb.debian.org/debian bullseye/main arm64 golang-gopkg-yaml.v3-dev all 3.0.0~git20200121.a6ecf24-3 [70.5 kB] Get: 59 http://deb.debian.org/debian bullseye/main arm64 golang-github-stretchr-testify-dev all 1.6.1-2 [60.4 kB] Get: 60 http://deb.debian.org/debian bullseye/main arm64 golang-github-urfave-cli-dev all 1.22.4-2 [46.7 kB] Get: 61 http://deb.debian.org/debian bullseye/main arm64 golang-github-mendersoftware-mender-artifact-dev all 3.4.0-1 [85.7 kB] Get: 62 http://deb.debian.org/debian bullseye/main arm64 libssl-dev arm64 1.1.1w-0+deb11u1 [1703 kB] Get: 63 http://deb.debian.org/debian bullseye/main arm64 golang-github-mendersoftware-openssl-dev all 1.1.0-2 [51.0 kB] Get: 64 http://deb.debian.org/debian bullseye/main arm64 golang-github-ungerik-go-sysfs-dev all 0.0~git20190613.7f098dd-1 [4124 B] Get: 65 http://deb.debian.org/debian bullseye/main arm64 golang-golang-x-term-dev all 0.0~git20201210.2321bbc-1 [14.5 kB] Get: 66 http://deb.debian.org/debian bullseye/main arm64 golang-golang-x-crypto-dev all 1:0.0~git20201221.eec23a3-1 [1538 kB] Get: 67 http://deb.debian.org/debian bullseye/main arm64 libglib2.0-0 arm64 2.66.8-1 [1286 kB] Get: 68 http://deb.debian.org/debian bullseye/main arm64 pkg-config arm64 0.29.2-1 [63.6 kB] Fetched 101 MB in 1s (95.9 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 ... 17734 files and directories currently installed.) Preparing to unpack .../00-bsdextrautils_2.36.1-8+deb11u1_arm64.deb ... Unpacking bsdextrautils (2.36.1-8+deb11u1) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../01-libuchardet0_0.0.7-1_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../02-groff-base_1.22.4-6_arm64.deb ... Unpacking groff-base (1.22.4-6) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../03-libpipeline1_1.5.3-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.3-1) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.9.4-2_arm64.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.1w-0+deb11u1_arm64.deb ... Unpacking openssl (1.1.1w-0+deb11u1) ... 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+deb11u1_arm64.deb ... Unpacking libmagic-mgc (1:5.39-3+deb11u1) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../11-libmagic1_1%3a5.39-3+deb11u1_arm64.deb ... Unpacking libmagic1:arm64 (1:5.39-3+deb11u1) ... Selecting previously unselected package file. Preparing to unpack .../12-file_1%3a5.39-3+deb11u1_arm64.deb ... Unpacking file (1:5.39-3+deb11u1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../13-gettext-base_0.21-4_arm64.deb ... Unpacking gettext-base (0.21-4) ... Selecting previously unselected package libsigsegv2:arm64. Preparing to unpack .../14-libsigsegv2_2.13-1_arm64.deb ... Unpacking libsigsegv2:arm64 (2.13-1) ... Selecting previously unselected package m4. Preparing to unpack .../15-m4_1.4.18-5_arm64.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:arm64. Preparing to unpack .../27-libelf1_0.183-1_arm64.deb ... Unpacking libelf1:arm64 (0.183-1) ... Selecting previously unselected package dwz. Preparing to unpack .../28-dwz_0.13+20210201-1_arm64.deb ... Unpacking dwz (0.13+20210201-1) ... Selecting previously unselected package libicu67:arm64. Preparing to unpack .../29-libicu67_67.1-7_arm64.deb ... Unpacking libicu67:arm64 (67.1-7) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../30-libxml2_2.9.10+dfsg-6.7+deb11u4_arm64.deb ... Unpacking libxml2:arm64 (2.9.10+dfsg-6.7+deb11u4) ... Selecting previously unselected package gettext. Preparing to unpack .../31-gettext_0.21-4_arm64.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.15-1~deb11u4_arm64.deb ... Unpacking golang-1.15-src (1.15.15-1~deb11u4) ... Selecting previously unselected package golang-1.15-go. Preparing to unpack .../37-golang-1.15-go_1.15.15-1~deb11u4_arm64.deb ... Unpacking golang-1.15-go (1.15.15-1~deb11u4) ... Selecting previously unselected package golang-src:arm64. Preparing to unpack .../38-golang-src_2%3a1.15~1_arm64.deb ... Unpacking golang-src:arm64 (2:1.15~1) ... Selecting previously unselected package golang-go. Preparing to unpack .../39-golang-go_2%3a1.15~1_arm64.deb ... Unpacking golang-go (2:1.15~1) ... Selecting previously unselected package golang-any:arm64. Preparing to unpack .../40-golang-any_2%3a1.15~1_arm64.deb ... Unpacking golang-any:arm64 (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:arm64. Preparing to unpack .../54-liblzma-dev_5.2.5-2.1~deb11u1_arm64.deb ... Unpacking liblzma-dev:arm64 (5.2.5-2.1~deb11u1) ... 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:arm64. Preparing to unpack .../61-libssl-dev_1.1.1w-0+deb11u1_arm64.deb ... Unpacking libssl-dev:arm64 (1.1.1w-0+deb11u1) ... 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:arm64. Preparing to unpack .../66-libglib2.0-0_2.66.8-1_arm64.deb ... Unpacking libglib2.0-0:arm64 (2.66.8-1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../67-pkg-config_0.29.2-1_arm64.deb ... Unpacking pkg-config (0.29.2-1) ... Setting up libpipeline1:arm64 (1.5.3-1) ... Setting up bsdextrautils (2.36.1-8+deb11u1) ... 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:arm64 (67.1-7) ... Setting up golang-github-stretchr-objx-dev (0.3.0-1) ... Setting up libmagic-mgc (1:5.39-3+deb11u1) ... Setting up golang-github-pkg-errors-dev (0.9.1-1) ... Setting up golang-1.15-src (1.15.15-1~deb11u4) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libglib2.0-0:arm64 (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:arm64 (1:5.39-3+deb11u1) ... 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+deb11u1) ... 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:arm64 (2.13-1) ... Setting up libssl-dev:arm64 (1.1.1w-0+deb11u1) ... 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:arm64 (5.2.5-2.1~deb11u1) ... 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:arm64 (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:arm64 (2:1.15~1) ... Setting up openssl (1.1.1w-0+deb11u1) ... Setting up golang-1.15-go (1.15.15-1~deb11u4) ... Setting up libelf1:arm64 (0.183-1) ... Setting up libxml2:arm64 (2.9.10+dfsg-6.7+deb11u4) ... 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:arm64 (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+deb11u6) ... 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/reproducible-path/mender-client-2.4.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../mender-client_2.4.1-2_source.changes 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 arm64 fakeroot debian/rules clean dh clean --buildsystem=golang --with=golang dh_auto_clean -O--buildsystem=golang dh_autoreconf_clean -O--buildsystem=golang dh_clean -O--buildsystem=golang debian/rules build dh build --buildsystem=golang --with=golang dh_update_autotools_config -O--buildsystem=golang dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/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-aarch64-linux-gnu && go install -trimpath -v -p 12 -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 internal/cpu runtime/internal/sys internal/race unicode sync/atomic crypto/internal/subtle crypto/subtle math/bits encoding unicode/utf16 runtime/internal/atomic vendor/golang.org/x/crypto/cryptobyte/asn1 unicode/utf8 internal/bytealg runtime/internal/math internal/nettrace github.com/bmatsuo/lmdb-go/internal/lmdbarch container/list math vendor/golang.org/x/crypto/internal/subtle golang.org/x/sys/internal/unsafeheader github.com/shurcooL/sanitized_anchor_name runtime/cgo internal/testlog runtime internal/reflectlite sync math/rand internal/singleflight errors sort io strconv internal/oserror vendor/golang.org/x/net/dns/dnsmessage syscall bytes strings hash crypto/internal/randutil text/tabwriter hash/crc32 crypto/hmac vendor/golang.org/x/crypto/hkdf reflect crypto crypto/rc4 golang.org/x/text/transform vendor/golang.org/x/text/transform bufio github.com/mendersoftware/openssl/utils path regexp/syntax html internal/syscall/unix time internal/syscall/execenv github.com/remyoudompheng/go-liblzma regexp internal/poll context internal/fmtsort encoding/binary os encoding/base64 crypto/cipher crypto/sha512 crypto/ed25519/internal/edwards25519 crypto/md5 crypto/sha1 crypto/sha256 vendor/golang.org/x/crypto/poly1305 golang.org/x/sys/unix encoding/pem crypto/aes crypto/des vendor/golang.org/x/crypto/chacha20 path/filepath net runtime/debug os/signal fmt io/ioutil os/exec vendor/golang.org/x/crypto/chacha20poly1305 github.com/minio/sha256-simd github.com/mendersoftware/mender/system/testing compress/flate encoding/json encoding/hex math/big net/url log vendor/golang.org/x/crypto/curve25519 vendor/golang.org/x/net/http2/hpack vendor/golang.org/x/text/unicode/norm mime mime/quotedprintable github.com/bmatsuo/lmdb-go/lmdb vendor/golang.org/x/text/unicode/bidi net/http/internal github.com/pkg/errors github.com/davecgh/go-spew/spew github.com/pmezard/go-difflib/difflib compress/gzip gopkg.in/yaml.v3 flag golang.org/x/text/unicode/bidi golang.org/x/text/unicode/norm golang.org/x/net/http2/hpack os/user vendor/golang.org/x/text/secure/bidirule github.com/klauspost/compress/flate github.com/ungerik/go-sysfs github.com/russross/blackfriday/v2 github.com/sirupsen/logrus vendor/golang.org/x/net/idna github.com/stretchr/objx golang.org/x/text/secure/bidirule github.com/mendersoftware/mender-artifact/utils golang.org/x/net/idna text/template/parse crypto/dsa crypto/elliptic encoding/asn1 crypto/rand crypto/ed25519 crypto/rsa github.com/mendersoftware/mender/system github.com/mendersoftware/mender/utils github.com/cpuguy83/go-md2man/v2/md2man github.com/klauspost/pgzip vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix golang.org/x/term runtime/trace testing text/template golang.org/x/crypto/ssh/terminal crypto/ecdsa github.com/urfave/cli archive/tar crypto/x509 net/textproto vendor/golang.org/x/net/http/httpproxy log/syslog github.com/sirupsen/logrus/hooks/syslog vendor/golang.org/x/net/http/httpguts golang.org/x/net/http/httpguts mime/multipart github.com/mendersoftware/mender/log/syslog crypto/tls github.com/mendersoftware/mender-artifact/artifact github.com/mendersoftware/mender-artifact/handlers github.com/mendersoftware/mender-artifact/areader github.com/mendersoftware/mender-artifact/awriter net/http/httptrace net/http github.com/mendersoftware/openssl net/http/httptest 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/aarch64-linux-gnu/bits/string_fortified.h:34:10: warning: writing 8 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/aarch64-linux-gnu/bits/string_fortified.h:34:10: warning: writing 8 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/aarch64-linux-gnu/bits/string_fortified.h:34:10: warning: writing 8 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/statescript github.com/mendersoftware/mender/inventory 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/reproducible-path/mender-client-2.4.1' debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/mender-client-2.4.1' dh_auto_test || true cd obj-aarch64-linux-gnu && go test -vet=off -v -p 12 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/aarch64-linux-gnu/bits/string_fortified.h:34:10: warning: writing 8 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/aarch64-linux-gnu/bits/string_fortified.h:34:10: warning: writing 8 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/aarch64-linux-gnu/bits/string_fortified.h:34:10: warning: writing 8 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.059s === RUN TestNewAuthManager --- PASS: TestNewAuthManager (0.00s) === RUN TestAuthManager --- PASS: TestAuthManager (2.43s) === RUN TestAuthManagerRequest --- PASS: TestAuthManagerRequest (0.88s) === RUN TestAuthManagerResponse --- PASS: TestAuthManagerResponse (0.00s) === RUN TestDaemon time="2024-01-06T23:36:36Z" level=info msg="State transition: init [none] -> init [none]" --- PASS: TestDaemon (0.00s) === RUN TestDaemonCleanup daemon_test.go:182: PASS: Close() time="2024-01-06T23:36:36Z" 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: 5 === RUN TestDaemonRun/testing_state_machine_interrupt_functionality_-_updateCheck_state time="2024-01-06T23:39:07Z" level=info msg="Forcing state machine to: update-check" === RUN TestDaemonRun/testing_state_machine_interrupt_functionality_-_inventoryUpdate_state time="2024-01-06T23:39:08Z" level=info msg="Forcing state machine to: inventory-update" --- PASS: TestDaemonRun (152.01s) --- 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.00s) === RUN TestLogManagerInit --- PASS: TestLogManagerInit (0.00s) === RUN TestLogManagerCheckEnableDisable time="2024-01-06T23:39:08Z" level=info msg="Running Mender client version: unknown" --- PASS: TestLogManagerCheckEnableDisable (0.00s) === RUN TestLogManagerCheckLogging time="2024-01-06T23:39:08Z" level=info msg="Running Mender client version: unknown" --- PASS: TestLogManagerCheckLogging (0.00s) === RUN TestLogManagerLogRotation time="2024-01-06T23:39:08Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:08Z" level=info msg="Running Mender client version: unknown" --- PASS: TestLogManagerLogRotation (0.00s) === RUN TestEnabligLogsNoSpceForStoringLogs --- PASS: TestEnabligLogsNoSpceForStoringLogs (0.00s) === RUN TestDeploymentLoggingHook time="2024-01-06T23:39:08Z" level=info msg=test1 time="2024-01-06T23:39:08Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:08Z" level=debug msg=test2 time="2024-01-06T23:39:08Z" level=info msg=test3 time="2024-01-06T23:39:08Z" level=info msg="{\"level\":\"info\",\"message\":\"Running Mender client version: unknown\",\"timestamp\":\"2024-01-06T23:39:08Z\"}\n{\"level\":\"debug\",\"message\":\"test2\",\"timestamp\":\"2024-01-06T23:39:08Z\"}\n" --- PASS: TestDeploymentLoggingHook (0.00s) === RUN TestGetLogs time="2024-01-06T23:39:08Z" 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="2024-01-06T23:39:08Z" level=debug msg="Private key does not exist" time="2024-01-06T23:39:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:08Z" level=debug msg="Returning artifact name from artifact_info file." time="2024-01-06T23:39:08Z" 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="2024-01-06T23:39:08Z" level=debug msg="Private key does not exist" time="2024-01-06T23:39:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:08Z" level=debug msg="Returning artifact name from artifact_info file." time="2024-01-06T23:39:08Z" level=debug msg="Reading data from the device manifest file: artifact_info" time="2024-01-06T23:39:08Z" level=debug msg=artifact_name time="2024-01-06T23:39:08Z" level=error msg="Broken device manifest file: ([artifact_name])" --- PASS: Test_getArtifactName_malformedArtifactNameLine_returnsError (0.00s) === RUN Test_getArtifactName_haveArtifactName_returnsName time="2024-01-06T23:39:08Z" level=debug msg="Private key does not exist" time="2024-01-06T23:39:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:08Z" level=debug msg="Returning artifact name from artifact_info file." time="2024-01-06T23:39:08Z" level=debug msg="Reading data from the device manifest file: artifact_info" time="2024-01-06T23:39:08Z" level=debug msg="artifact_name=mender-image" time="2024-01-06T23:39:08Z" level=debug msg="Current manifest data: mender-image" --- PASS: Test_getArtifactName_haveArtifactName_returnsName (0.00s) === RUN Test_ForceBootstrap time="2024-01-06T23:39:08Z" level=debug msg="Private key does not exist" time="2024-01-06T23:39:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:08Z" level=debug msg="Needs keys" time="2024-01-06T23:39:08Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2024-01-06T23:39:09Z" level=info msg="Device keys not present or bootstrap forced, generating" --- PASS: Test_ForceBootstrap (1.27s) === RUN Test_Bootstrap time="2024-01-06T23:39:09Z" level=debug msg="Private key does not exist" time="2024-01-06T23:39:09Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:09Z" level=debug msg="Needs keys" time="2024-01-06T23:39:09Z" level=debug msg="Needs keys" time="2024-01-06T23:39:09Z" level=info msg="Device keys not present or bootstrap forced, generating" --- PASS: Test_Bootstrap (0.65s) === RUN Test_BootstrappedHaveKeys time="2024-01-06T23:39:10Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" --- PASS: Test_BootstrappedHaveKeys (0.37s) === RUN Test_BootstrapError time="2024-01-06T23:39:10Z" level=error msg="Failed to load device keys: disabled" time="2024-01-06T23:39:10Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:10Z" level=error msg="Error loading authentication for HTTP client: fatal error: failed to cache authorization code: failed to read auth token data: disabled" time="2024-01-06T23:39:10Z" level=debug msg="Private key does not exist" time="2024-01-06T23:39:10Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:10Z" level=debug msg="Needs keys" time="2024-01-06T23:39:10Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2024-01-06T23:39:11Z" level=error msg="Failed to save device key: read only" --- PASS: Test_BootstrapError (0.82s) === RUN Test_CheckUpdateSimple time="2024-01-06T23:39:11Z" level=debug msg="Private key does not exist" time="2024-01-06T23:39:11Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:11Z" level=debug msg="Returning artifact name from file." time="2024-01-06T23:39:11Z" level=error msg="could not get the current Artifact name" time="2024-01-06T23:39:11Z" level=debug msg="Private key does not exist" time="2024-01-06T23:39:11Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:11Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-228310130/artifact_info file." time="2024-01-06T23:39:11Z" level=error msg="could not get the current Artifact name" time="2024-01-06T23:39:11Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-228310130/artifact_info file." time="2024-01-06T23:39:11Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-228310130/artifact_info" time="2024-01-06T23:39:11Z" level=debug msg="artifact_name=fake-id" time="2024-01-06T23:39:11Z" level=debug msg="Current manifest data: fake-id" time="2024-01-06T23:39:11Z" level=debug msg="DEVICE_TYPE=hammer" time="2024-01-06T23:39:11Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-228310130/artifact_info file." time="2024-01-06T23:39:11Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-228310130/artifact_info" time="2024-01-06T23:39:11Z" level=debug msg="artifact_name=fake-id" time="2024-01-06T23:39:11Z" level=debug msg="Current manifest data: fake-id" time="2024-01-06T23:39:11Z" level=debug msg="DEVICE_TYPE=hammer" time="2024-01-06T23:39:11Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-228310130/device_type" time="2024-01-06T23:39:11Z" level=debug msg="device_type=hammer" time="2024-01-06T23:39:11Z" level=debug msg="Current manifest data: hammer" time="2024-01-06T23:39:11Z" 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]] 0x4000676040 50 [] false 127.0.0.1:42377 map[] map[] map[] 127.0.0.1:32900 /api/devices/v1/deployments/device/deployments/next 0x4000676080}" time="2024-01-06T23:39:11Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2024-01-06T23:39:11Z" 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:42377 map[] map[] map[] 127.0.0.1:32910 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x4000676380}" time="2024-01-06T23:39:11Z" 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:42377 map[] map[] map[] 127.0.0.1:32910 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x4000676380}" time="2024-01-06T23:39:11Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" time="2024-01-06T23:39:11Z" level=debug msg="Received response:200 OK" time="2024-01-06T23:39:11Z" level=debug msg="Have update available" time="2024-01-06T23:39:11Z" level=info msg="Correct request for getting image from: http://127.0.0.1:42377/download [name: fake-id; devices: [vexpress]]" time="2024-01-06T23:39:11Z" level=debug msg="Received update response: {{{http://127.0.0.1:42377/download } [vexpress] [] fake-id map[]} foo [] 0 false}" time="2024-01-06T23:39:11Z" level=info msg="Attempting to upgrade to currently installed artifact name, not performing upgrade." time="2024-01-06T23:39:11Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-228310130/artifact_info file." time="2024-01-06T23:39:11Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-228310130/artifact_info" time="2024-01-06T23:39:11Z" level=debug msg="artifact_name=fake-id" time="2024-01-06T23:39:11Z" level=debug msg="Current manifest data: fake-id" time="2024-01-06T23:39:11Z" level=debug msg="DEVICE_TYPE=hammer" time="2024-01-06T23:39:11Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-228310130/device_type" time="2024-01-06T23:39:11Z" level=debug msg="device_type=hammer" time="2024-01-06T23:39:11Z" level=debug msg="Current manifest data: hammer" time="2024-01-06T23:39:11Z" 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]] 0x4000676a80 50 [] false 127.0.0.1:42377 map[] map[] map[] 127.0.0.1:32910 /api/devices/v1/deployments/device/deployments/next 0x4000676ac0}" time="2024-01-06T23:39:11Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2024-01-06T23:39:11Z" 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:42377 map[] map[] map[] 127.0.0.1:32918 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x4000408080}" time="2024-01-06T23:39:11Z" 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:42377 map[] map[] map[] 127.0.0.1:32918 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x4000408080}" time="2024-01-06T23:39:11Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" time="2024-01-06T23:39:11Z" level=debug msg="Received response:200 OK" time="2024-01-06T23:39:11Z" level=debug msg="Have update available" time="2024-01-06T23:39:11Z" level=info msg="Correct request for getting image from: http://127.0.0.1:42377/download [name: fake-id-fake; devices: [vexpress]]" time="2024-01-06T23:39:11Z" level=debug msg="Received update response: {{{http://127.0.0.1:42377/download } [vexpress] [] fake-id-fake map[]} foo [] 0 false}" time="2024-01-06T23:39:11Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-228310130/artifact_info file." time="2024-01-06T23:39:11Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-228310130/artifact_info" time="2024-01-06T23:39:11Z" level=debug msg="artifact_name=fake-id" time="2024-01-06T23:39:11Z" level=debug msg="Current manifest data: fake-id" time="2024-01-06T23:39:11Z" level=debug msg="DEVICE_TYPE=hammer" time="2024-01-06T23:39:11Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-228310130/device_type" time="2024-01-06T23:39:11Z" level=debug msg="device_type=hammer" time="2024-01-06T23:39:11Z" level=debug msg="Current manifest data: hammer" time="2024-01-06T23:39:11Z" 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]] 0x40004081c0 50 [] false 127.0.0.1:42377 map[] map[] map[] 127.0.0.1:32918 /api/devices/v1/deployments/device/deployments/next 0x4000408200}" time="2024-01-06T23:39:11Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2024-01-06T23:39:11Z" 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:42377 map[] map[] map[] 127.0.0.1:32924 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x4000020f80}" time="2024-01-06T23:39:11Z" 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:42377 map[] map[] map[] 127.0.0.1:32924 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x4000020f80}" time="2024-01-06T23:39:11Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" time="2024-01-06T23:39:11Z" level=debug msg="Received response:204 No Content" time="2024-01-06T23:39:11Z" level=debug msg="No update available" time="2024-01-06T23:39:11Z" level=debug msg="no updates available" --- PASS: Test_CheckUpdateSimple (0.04s) === RUN TestMenderGetUpdatePollInterval time="2024-01-06T23:39:11Z" level=debug msg="Private key does not exist" time="2024-01-06T23:39:11Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" --- PASS: TestMenderGetUpdatePollInterval (0.00s) === RUN TestMenderGetInventoryPollInterval time="2024-01-06T23:39:11Z" level=debug msg="Private key does not exist" time="2024-01-06T23:39:11Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" --- PASS: TestMenderGetInventoryPollInterval (0.00s) === RUN TestMenderAuthorize time="2024-01-06T23:39:11Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:11Z" level=debug msg="Needs keys" time="2024-01-06T23:39:11Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2024-01-06T23:39:11Z" level=error msg="Empty server list! Make sure at least one serveris specified in /etc/mender/mender.conf" time="2024-01-06T23:39:11Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2024-01-06T23:39:11Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2024-01-06T23:39:11Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2024-01-06T23:39:11Z" level=debug msg="Needs keys" time="2024-01-06T23:39:11Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2024-01-06T23:39:11Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40445" time="2024-01-06T23:39:11Z" 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:40445 map[] map[] map[] 127.0.0.1:32996 /api/devices/v1/authentication/auth_requests 0x4000021900}" time="2024-01-06T23:39:11Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 06 Jan 2024 23:39:11 GMT]] 0x4000343080 0 [] false false map[] 0x400034eb00 }" time="2024-01-06T23:39:11Z" level=debug msg="Needs keys" time="2024-01-06T23:39:11Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2024-01-06T23:39:11Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40445" time="2024-01-06T23:39:11Z" 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:40445 map[] map[] map[] 127.0.0.1:32996 /api/devices/v1/authentication/auth_requests 0x4000021b00}" time="2024-01-06T23:39:11Z" 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:[Sat, 06 Jan 2024 23:39:11 GMT]] 0x4000343520 6 [] false false map[] 0x400034ef00 }" time="2024-01-06T23:39:11Z" level=debug msg="Receive response data" time="2024-01-06T23:39:11Z" level=debug msg="Received response data: [102 111 111 98 97 114]" time="2024-01-06T23:39:11Z" level=debug msg="Needs keys" time="2024-01-06T23:39:11Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2024-01-06T23:39:11Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40445" time="2024-01-06T23:39:11Z" 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:40445 map[] map[] map[] 127.0.0.1:32996 /api/devices/v1/authentication/auth_requests 0x4000021e00}" time="2024-01-06T23:39:11Z" 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:[Sat, 06 Jan 2024 23:39:11 GMT]] 0x4000343a20 6 [] false false map[] 0x400034f300 }" time="2024-01-06T23:39:11Z" level=debug msg="Receive response data" time="2024-01-06T23:39:11Z" level=debug msg="Received response data: [102 111 111 98 97 114]" time="2024-01-06T23:39:11Z" level=info msg="successfully received new authorization data" --- PASS: TestMenderAuthorize (0.00s) === RUN TestMenderReportStatus time="2024-01-06T23:39:11Z" level=debug msg="Private key does not exist" time="2024-01-06T23:39:11Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:11Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2024-01-06T23:39:11Z" 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]] 0x4000198380 21 [] false 127.0.0.1:36765 map[] map[] map[] 127.0.0.1:44512 /api/devices/v1/deployments/device/deployments/foobar/status 0x40001983c0}" time="2024-01-06T23:39:11Z" level=info msg="request for foobar/status" time="2024-01-06T23:39:11Z" 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]] 0x4000198380 21 [] false 127.0.0.1:36765 map[] map[] map[] 127.0.0.1:44512 /api/devices/v1/deployments/device/deployments/foobar/status 0x40001983c0}" time="2024-01-06T23:39:11Z" level=debug msg="Status reported, response 204 No Content" time="2024-01-06T23:39:11Z" 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]] 0x4000198540 21 [] false 127.0.0.1:36765 map[] map[] map[] 127.0.0.1:44512 /api/devices/v1/deployments/device/deployments/foobar/status 0x4000198580}" time="2024-01-06T23:39:11Z" level=info msg="request for foobar/status" time="2024-01-06T23:39:11Z" 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]] 0x4000198540 21 [] false 127.0.0.1:36765 map[] map[] map[] 127.0.0.1:44512 /api/devices/v1/deployments/device/deployments/foobar/status 0x4000198580}" time="2024-01-06T23:39:11Z" level=error msg="bad token, got Bearer tokendata expected footoken" time="2024-01-06T23:39:11Z" level=info msg="Device unauthorized; attempting reauthorization" time="2024-01-06T23:39:11Z" level=debug msg="Needs keys" time="2024-01-06T23:39:11Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2024-01-06T23:39:12Z" level=debug msg="Tenant token: " time="2024-01-06T23:39:12Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAq7a1CU7O2IigB497UEdv\nEyXMOySNIK29qcNOR5D5+16Q6k8F+QAv5FWumRDqhl/jKCx++2KQtmhVE7Ugpn0k\npzPrcTwCZwB860vEM45fK+s490z4+6QbBA8bsOF29idxT4fvIGATxARRX1hcnnyl\nOsTS4p4VrKBUBEnDVbcdsL3tbZRsrGdK1EJLVc4NNjb8veTqW6P1NvPmNwOTbmi6\nuPWx8NTvq2f/FTDMkaCHfEY1XdgLyXZPN+19eSEOWcCbobN9EWPKxZKi+PEuRZWb\nhRupTqIq+BFWlvmg5XEEGnet65rwhJWR0pPGV7cjBnrS6LJc3oOlyhvPnBCR8ckz\nOmnVyMMKPXc77XyjmNh31Kz3ELmgElrB+KR/dQbQvZBvIilmuxs7yiTw+zDMncba\nyug9OHoWsLt4vlXoz/iFElLotLXH0MLiKYsJIfPKM/N6P6evBqBzjkp1IWxAzvgG\nKAaQ115RmdxU6i1oko3/CngFKOgXO0d6H2BpPV2+YvmRAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2024-01-06T23:39:12Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:36765" time="2024-01-06T23:39:12Z" 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:[FV0hhDgloyovRY6jyyVnqMPXmmSaZ9vlgcj6zmBPEYCq2qmfyRSEhVxBmA2zwVxo/T/jrlgbLKta41KLkoflCER0wd363KqnCqEeGhvHu1aeZYOc5Gvt+8xVH/NB9vyNGG9QMn2Q4rP1YKCtjkk3IqxZfX9kWSLj88C2dV8ONwSoPGXeD6JmWR5x/rJpHbbYuAutxJAT9kdwXygsvgF+3rx2Q8KxhO3WvaF31ZeQS1aIhRo0JywEZDt2trSOw9SSElNU8nu4rHyzC0eP5gY6/VjkT6b/VrAnN5Aumil+ifXH3eg7Enoi06tgjiWJJBgVmOJNOyi6aKkhY27VsQ7+7ke4QgBmOdujF9QyROf9xccsT+h44FYZEPbKreewcQJBWUKp7MkVmT1IoP42MOz+s0oRjGiKYrB8JAFM+5JcNw7inToa9MGVIZEau+zV0obW85ZwhE3lDVyDi3BNtp6lD4BUuEfoLLqMiQ2F6ZbjdzLe4j3KEmwvC6Q+a62QGGGf]] 0x4000408500 701 [] false 127.0.0.1:36765 map[] map[] map[] 127.0.0.1:44512 /api/devices/v1/authentication/auth_requests 0x4000408540}" time="2024-01-06T23:39:12Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 06 Jan 2024 23:39:12 GMT]] 0x40005c4b20 0 [] false false map[] 0x40004c0a00 }" time="2024-01-06T23:39:12Z" 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="2024-01-06T23:39:12Z" level=error msg="Got unexpected HTTP status when reporting status: 401" time="2024-01-06T23:39:12Z" 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="2024-01-06T23:39:12Z" 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]] 0x4000408840 21 [] false 127.0.0.1:36765 map[] map[] map[] 127.0.0.1:44512 /api/devices/v1/deployments/device/deployments/foobar/status 0x4000408880}" time="2024-01-06T23:39:12Z" level=info msg="request for foobar/status" time="2024-01-06T23:39:12Z" 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]] 0x4000408840 21 [] false 127.0.0.1:36765 map[] map[] map[] 127.0.0.1:44512 /api/devices/v1/deployments/device/deployments/foobar/status 0x4000408880}" time="2024-01-06T23:39:12Z" level=error msg="bad authorization value: Bearer" time="2024-01-06T23:39:12Z" level=info msg="Device unauthorized; attempting reauthorization" time="2024-01-06T23:39:12Z" level=debug msg="Tenant token: " time="2024-01-06T23:39:12Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAq7a1CU7O2IigB497UEdv\nEyXMOySNIK29qcNOR5D5+16Q6k8F+QAv5FWumRDqhl/jKCx++2KQtmhVE7Ugpn0k\npzPrcTwCZwB860vEM45fK+s490z4+6QbBA8bsOF29idxT4fvIGATxARRX1hcnnyl\nOsTS4p4VrKBUBEnDVbcdsL3tbZRsrGdK1EJLVc4NNjb8veTqW6P1NvPmNwOTbmi6\nuPWx8NTvq2f/FTDMkaCHfEY1XdgLyXZPN+19eSEOWcCbobN9EWPKxZKi+PEuRZWb\nhRupTqIq+BFWlvmg5XEEGnet65rwhJWR0pPGV7cjBnrS6LJc3oOlyhvPnBCR8ckz\nOmnVyMMKPXc77XyjmNh31Kz3ELmgElrB+KR/dQbQvZBvIilmuxs7yiTw+zDMncba\nyug9OHoWsLt4vlXoz/iFElLotLXH0MLiKYsJIfPKM/N6P6evBqBzjkp1IWxAzvgG\nKAaQ115RmdxU6i1oko3/CngFKOgXO0d6H2BpPV2+YvmRAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2024-01-06T23:39:12Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:36765" time="2024-01-06T23:39:12Z" 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:[FV0hhDgloyovRY6jyyVnqMPXmmSaZ9vlgcj6zmBPEYCq2qmfyRSEhVxBmA2zwVxo/T/jrlgbLKta41KLkoflCER0wd363KqnCqEeGhvHu1aeZYOc5Gvt+8xVH/NB9vyNGG9QMn2Q4rP1YKCtjkk3IqxZfX9kWSLj88C2dV8ONwSoPGXeD6JmWR5x/rJpHbbYuAutxJAT9kdwXygsvgF+3rx2Q8KxhO3WvaF31ZeQS1aIhRo0JywEZDt2trSOw9SSElNU8nu4rHyzC0eP5gY6/VjkT6b/VrAnN5Aumil+ifXH3eg7Enoi06tgjiWJJBgVmOJNOyi6aKkhY27VsQ7+7ke4QgBmOdujF9QyROf9xccsT+h44FYZEPbKreewcQJBWUKp7MkVmT1IoP42MOz+s0oRjGiKYrB8JAFM+5JcNw7inToa9MGVIZEau+zV0obW85ZwhE3lDVyDi3BNtp6lD4BUuEfoLLqMiQ2F6ZbjdzLe4j3KEmwvC6Q+a62QGGGf]] 0x4000408b80 701 [] false 127.0.0.1:36765 map[] map[] map[] 127.0.0.1:44512 /api/devices/v1/authentication/auth_requests 0x4000408bc0}" time="2024-01-06T23:39:12Z" 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:[Sat, 06 Jan 2024 23:39:12 GMT]] 0x40005c57a0 9 [] false false map[] 0x40004c1500 }" time="2024-01-06T23:39:12Z" level=debug msg="Receive response data" time="2024-01-06T23:39:12Z" level=debug msg="Received response data: [116 111 107 101 110 100 97 116 97]" time="2024-01-06T23:39:12Z" 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]] 0x4000408e80 21 [] false 127.0.0.1:36765 map[] map[] map[] 127.0.0.1:44512 /api/devices/v1/deployments/device/deployments/foobar/status 0x4000408ec0}" time="2024-01-06T23:39:12Z" level=info msg="request for foobar/status" time="2024-01-06T23:39:12Z" 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]] 0x4000408e80 21 [] false 127.0.0.1:36765 map[] map[] map[] 127.0.0.1:44512 /api/devices/v1/deployments/device/deployments/foobar/status 0x4000408ec0}" time="2024-01-06T23:39:12Z" level=warning msg="Status report rejected, deployment aborted at the backend" time="2024-01-06T23:39:12Z" level=error msg="error reporting update status: (request_id: ): deployment was aborted server error message: failed to parse server response: EOF" --- PASS: TestMenderReportStatus (0.93s) === RUN TestMenderLogUpload time="2024-01-06T23:39:12Z" level=debug msg="Private key does not exist" time="2024-01-06T23:39:12Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:12Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2024-01-06T23:39:12Z" 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]] 0x40004093c0 136 [] false 127.0.0.1:46237 map[] map[] map[] 127.0.0.1:60560 /api/devices/v1/deployments/device/deployments/foobar/log 0x4000409400}" time="2024-01-06T23:39:12Z" level=info msg="request for foobar/log" time="2024-01-06T23:39:12Z" 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]] 0x40004093c0 136 [] false 127.0.0.1:46237 map[] map[] map[] 127.0.0.1:60560 /api/devices/v1/deployments/device/deployments/foobar/log 0x4000409400}" time="2024-01-06T23:39:12Z" 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="2024-01-06T23:39:12Z" level=debug msg="Logs uploaded, response &{204 No Content 204 HTTP/1.1 1 1 map[Date:[Sat, 06 Jan 2024 23:39:12 GMT]] 0x400000eac0 0 [] false false map[] 0x40004c1f00 }" time="2024-01-06T23:39:12Z" 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]] 0x40005bc000 136 [] false 127.0.0.1:46237 map[] map[] map[] 127.0.0.1:60560 /api/devices/v1/deployments/device/deployments/foobar/log 0x40005bc040}" time="2024-01-06T23:39:12Z" level=info msg="request for foobar/log" time="2024-01-06T23:39:12Z" 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]] 0x40005bc000 136 [] false 127.0.0.1:46237 map[] map[] map[] 127.0.0.1:60560 /api/devices/v1/deployments/device/deployments/foobar/log 0x40005bc040}" time="2024-01-06T23:39:12Z" level=error msg="bad token, got Bearer tokendata expected footoken" time="2024-01-06T23:39:12Z" level=info msg="Device unauthorized; attempting reauthorization" time="2024-01-06T23:39:12Z" level=debug msg="Needs keys" time="2024-01-06T23:39:12Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2024-01-06T23:39:13Z" level=debug msg="Tenant token: " time="2024-01-06T23:39:13Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2Lvl8iI4T8c+ZBAd2nko\n7zjKuYZhiF6gZkm0FpDkamOHqiJZkKT1C/WOwzratCrl8rLCv9w92VIxlbNYZQzh\n+3YKaHgXcLvaqAmzu+4+T0XntIKni0y4lhfM6xc4G7yK2BYXlguvxwf1dS8kiPka\nBVfDTgvgm6256DU38Lom454y63yqiYmXBdA8QTdhxtRYHdmss+sB0p54KKgvOUf/\nK6ffBQFzYy9WVFFfmnG6UWvnKwlfuLLzw3KuBJY3YLQ0YBE5ZxbpHqZZIjMS+8HV\na8buJbcIuX3jL72f0sAeuWwMWSQylfISdruemWDHwRIrCyshDBccVeUMA3Cly9ps\ngU5GJLQUeGVlMIrQjF/AKhGo4KsD7QfZRQWRtKdp4TshOYUc+CNwq/43l6IU7M9g\nUfxK8ZxtPGdVf9IbNQJzM1jCJb0UJRwYmNxJ7nFu/7D6Flvv5dUZi0dHF/9k1rpg\npCYNFthpHSBjYQYaJ5OIIUahXQGfz4elYImszrVN2gz9AgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2024-01-06T23:39:13Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:46237" time="2024-01-06T23:39:13Z" 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:[r7+QrzWpQft5GsNP9fCQpt5s/30Nq1UP3F3yLgdfN4LOWuxhS8o4TyfzuOC8qP3GnzSYb+vTsF3LThjk7u+k0D5FvQtCor1MZNhOnMOeq+oUFucO/w7guKkWRLzUbDmDMntKyGZi8MrJkpnIQI83r2HvlA39Z7rQw0v2Th8AXU3Dd1CG9gC1LypEZsOr9omtbF78sM7pBjZuZeo1WWkIBvD8vr+HdgQhBgymWvsP0u9/LGhzEGjT3x44NRgI3MuhLrc7vkCz5byFSGetFowAarhp0DcnBElDRFbxhikgeYACJudPZkBJ242Wb1WD8utdWf3nPLpJaEV/rX/WZc2+Jl0zrfD7LbRrAlbfVXBKcaJAkPdc60nWU0rYg93sMI8E5LMajp9Wuix2Kib7qdcMflYW7LfyYvXzIMJe0KzGcyMCuUVfuD9Sp9SvoFkUCYuAUbI5XoIUAsHFGKmgeWfx121qmdbE15ZNiGd5I7jOzomiexmdYMGnwMqcL0j4+Bla]] 0x4000409840 701 [] false 127.0.0.1:46237 map[] map[] map[] 127.0.0.1:60560 /api/devices/v1/authentication/auth_requests 0x4000409880}" time="2024-01-06T23:39:13Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 06 Jan 2024 23:39:13 GMT]] 0x400000f460 0 [] false false map[] 0x4000202800 }" time="2024-01-06T23:39:13Z" 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="2024-01-06T23:39:13Z" level=error msg="Got unexpected HTTP status when uploading log: 401" time="2024-01-06T23:39:13Z" 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.19s) === RUN TestAuthToken time="2024-01-06T23:39:13Z" level=debug msg="Private key does not exist" time="2024-01-06T23:39:13Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:13Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-384825641/artifact_info file." time="2024-01-06T23:39:13Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-384825641/artifact_info" time="2024-01-06T23:39:13Z" level=debug msg="artifact_name=fake-id" time="2024-01-06T23:39:13Z" level=debug msg="Current manifest data: fake-id" time="2024-01-06T23:39:13Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-384825641/device_type" time="2024-01-06T23:39:13Z" level=debug msg="device_type=foo-bar" time="2024-01-06T23:39:13Z" level=debug msg="Current manifest data: foo-bar" time="2024-01-06T23:39:13Z" 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]] 0x400029a000 51 [] false 127.0.0.1:42155 map[] map[] map[] 127.0.0.1:32850 /api/devices/v1/deployments/device/deployments/next 0x400029a040}" time="2024-01-06T23:39:13Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2024-01-06T23:39:13Z" 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:42155 map[] map[] map[] 127.0.0.1:32856 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0x400022e0c0}" time="2024-01-06T23:39:13Z" 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:42155 map[] map[] map[] 127.0.0.1:32856 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0x400022e0c0}" time="2024-01-06T23:39:13Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[foo-bar]]" time="2024-01-06T23:39:13Z" level=info msg="Device unauthorized; attempting reauthorization" time="2024-01-06T23:39:13Z" level=debug msg="Needs keys" time="2024-01-06T23:39:13Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2024-01-06T23:39:14Z" level=debug msg="Tenant token: " time="2024-01-06T23:39:14Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAtZmTrFxDGBn5n/SjA3Tp\nL6ZiL7/c8AcbFOq+g8Mdy0fXxCVIirT2EiZTrInVlwUhuP3F0OGb09hhUiHc3ZhS\nXHx9oZFV6cyFp+MhrE07jfe9hDncp+ud2WcOrXD0cxO+RMc1ByO2TswfaPvapJfG\n+l0yZLn1YyBBNO8It4w2a7kekcpv0RrNpmDTnaQ/Fc/yTfZczBDmvCNSZSTZ/Axs\nFZB6ZoX1je4KTWMgtAd4EBrBpG5o8xCVerQPYwxNUKnxD2wU1SqXvQipIsRQqH3j\naIIvA6vx+72nLfTqFQ75MAmPZxk1fGt+ejkAUy9Qw8Uh5I6Jxvn5jcATDVu9ZUot\nSWQ+1cthcFdHzFRvGhZwDAwN2brwuVL+I2ZiD9X+YsSVz7W1r8pVlfCMyFqBIJ31\n57wcsAyyUBwzdqGNhVeGLlD294gA/xYgMFwB4zF5sKNjlvMHVNH+UdaIP1OSeuQE\n8c3uqYMqzVuJ0tH4sMCzIn0PdvsAHT6ew8jiZYpxAUHLAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2024-01-06T23:39:14Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:42155" time="2024-01-06T23:39:14Z" 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:[lWEmMSlOuGVRKtu01HORulPsSpfh2L5xQC2+3Cl+3Ac5HIomahE6S8SZEkcnJMwLzvppeL3PoQUbhm9a1LgD8Uy6gPOtFOxggRYbffXeOoHNzmaeHZuIQpZcrH+Cw6iqc/CZddEmoS5wMXO+38mfp3Tsg3Yt0nCal2w0W1buTweIohfxY6So0+yFPrsVTo8CDhpjuNgrFNPSgl8W7WmfpmazhxdkzOQziBI0yteSQgB1wGTMgptN/yWpihmMe2ba8qKvsHaSekdPwmp6mRb9HbmSGNtLnMw2oBu1DLCzGJq8TQssPp3g+U1GHIWjsy84TqnWVuAMdO9Q4Qk4EAFiMRi7HkT1rp1lQljm2AVFO/eCmnL/6zvZS+km15gSei23zLGikeN45AiFQk3tN4nye2913T87UrWM++TpAk/0U+9nr1CCCWlzLd1acYKfMG8ft2tA0Zvzyk8uSm4qt/23JcFSiWfYpwBFkHidxj9opZun98QAzZ+7OuKo4B5uveUT]] 0x4000676cc0 701 [] false 127.0.0.1:42155 map[] map[] map[] 127.0.0.1:32856 /api/devices/v1/authentication/auth_requests 0x4000676d00}" time="2024-01-06T23:39:14Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 06 Jan 2024 23:39:14 GMT]] 0x4000679320 0 [] false false map[] 0x4000203700 }" time="2024-01-06T23:39:14Z" 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="2024-01-06T23:39:14Z" level=debug msg="Received response:401 Unauthorized" time="2024-01-06T23:39:14Z" level=warning msg="Client not authorized to get update schedule." time="2024-01-06T23:39:14Z" level=error msg="Error receiving scheduled update data: (request_id: ): client not authorized server error message: failed to parse server response: EOF" --- PASS: TestAuthToken (0.98s) === RUN TestMenderInventoryRefresh time="2024-01-06T23:39:14Z" level=debug msg="Private key does not exist" time="2024-01-06T23:39:14Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:14Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2024-01-06T23:39:14Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-491464308/artifact_info file." time="2024-01-06T23:39:14Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-491464308/artifact_info" time="2024-01-06T23:39:14Z" level=debug msg="artifact_name=fake-id" time="2024-01-06T23:39:14Z" level=debug msg="Current manifest data: fake-id" time="2024-01-06T23:39:14Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-491464308/device_type" time="2024-01-06T23:39:14Z" level=debug msg="device_type=foo-bar" time="2024-01-06T23:39:14Z" level=debug msg="Current manifest data: foo-bar" time="2024-01-06T23:39:14Z" 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]] 0x4000677480 137 [] false 127.0.0.1:38441 map[] map[] map[] 127.0.0.1:53262 /api/devices/v1/inventory/device/attributes 0x40006774c0}" time="2024-01-06T23:39:14Z" level=info msg="got attrs: [{artifact_name fake-id} {mender_client_version unknown} {device_type foo-bar}]" time="2024-01-06T23:39:14Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 06 Jan 2024 23:39:14 GMT]] 0x4000679d00 0 [] false false map[] 0x40000a9300 }" time="2024-01-06T23:39:14Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-491464308/artifact_info file." time="2024-01-06T23:39:14Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-491464308/artifact_info" time="2024-01-06T23:39:14Z" level=debug msg="artifact_name=fake-id" time="2024-01-06T23:39:14Z" level=debug msg="Current manifest data: fake-id" time="2024-01-06T23:39:14Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-491464308/device_type" time="2024-01-06T23:39:14Z" level=debug msg="device_type=foo-bar" time="2024-01-06T23:39:14Z" level=debug msg="Current manifest data: foo-bar" time="2024-01-06T23:39:14Z" 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]] 0x4000677840 166 [] false 127.0.0.1:38441 map[] map[] map[] 127.0.0.1:53262 /api/devices/v1/inventory/device/attributes 0x4000677880}" time="2024-01-06T23:39:14Z" level=info msg="got attrs: [{foo bar} {device_type foo-bar} {artifact_name fake-id} {mender_client_version unknown}]" time="2024-01-06T23:39:14Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 06 Jan 2024 23:39:14 GMT]] 0x4000312560 0 [] false false map[] 0x40000a9900 }" time="2024-01-06T23:39:14Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-491464308/artifact_info file." time="2024-01-06T23:39:14Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-491464308/artifact_info" time="2024-01-06T23:39:14Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-491464308/artifact_info file." time="2024-01-06T23:39:14Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-491464308/artifact_info" --- PASS: TestMenderInventoryRefresh (0.01s) === RUN TestMenderStoreUpdate time="2024-01-06T23:39:14Z" level=debug msg="Private key does not exist" time="2024-01-06T23:39:14Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:14Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-665846214/device_type: no such file or directory" time="2024-01-06T23:39:14Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:14Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2024-01-06T23:39:14Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-665846214/device_type: no such file or directory" time="2024-01-06T23:39:14Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:14Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2024-01-06T23:39:14Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-665846214/device_type" time="2024-01-06T23:39:14Z" level=debug msg="device_type=bogusdevicetype" time="2024-01-06T23:39:14Z" level=debug msg="Current manifest data: bogusdevicetype" time="2024-01-06T23:39:14Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:14Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2024-01-06T23:39:14Z" level=debug msg="Checking if device [bogusdevicetype] is on compatible device list: [vexpress-qemu]\n" time="2024-01-06T23:39:14Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-665846214/device_type" time="2024-01-06T23:39:14Z" level=debug msg="device_type=vexpress-qemu" time="2024-01-06T23:39:14Z" level=debug msg="Current manifest data: vexpress-qemu" time="2024-01-06T23:39:14Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:14Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2024-01-06T23:39:14Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2024-01-06T23:39:14Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" time="2024-01-06T23:39:14Z" level=debug msg="Private key does not exist" time="2024-01-06T23:39:14Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:14Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-665846214/device_type" time="2024-01-06T23:39:14Z" level=debug msg="device_type=vexpress-qemu" time="2024-01-06T23:39:14Z" level=debug msg="Current manifest data: vexpress-qemu" time="2024-01-06T23:39:14Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:14Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2024-01-06T23:39:14Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2024-01-06T23:39:14Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" --- PASS: TestMenderStoreUpdate (0.14s) === RUN TestMenderFetchUpdate time="2024-01-06T23:39:14Z" level=debug msg="Private key does not exist" time="2024-01-06T23:39:14Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:14Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2024-01-06T23:39:14Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2024-01-06T23:39:14Z" 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:37191 map[] map[] map[] 127.0.0.1:59160 /api/devices/v1/download 0x400022e480}" time="2024-01-06T23:39:14Z" 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:[Sat, 06 Jan 2024 23:39:14 GMT]] 0x40003124c0 8192 [] false false map[] 0x400015e100 }+" --- PASS: TestMenderFetchUpdate (0.01s) === RUN TestReauthorization time="2024-01-06T23:39:14Z" level=debug msg="Private key does not exist" time="2024-01-06T23:39:14Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:14Z" level=debug msg="Needs keys" time="2024-01-06T23:39:14Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2024-01-06T23:39:15Z" level=debug msg="Tenant token: " time="2024-01-06T23:39:15Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAx0Cwn8ZQBDupHablNug8\nuGQHQZyaUqIiVn6KWmJAuF8rqLWYDprjHSDytyczGTH5AfuIegC7xCD/HU+WARYz\njyEGgjKi1HyCQO6SN2R6f5fsGgbzPXbUw6QoB+hKspr1r4P3MNjtFqm19oP8hzG7\nlufrQCYlmTVAIDuD+OVqXxASXaBTAlLHuVScBdu16DsHZgb2qtZ7Gj5J2Ujno8LU\nU1oHe+rzULJFxkAcczVF3kkcmgDwewPAS1jqbQrblRRI1ZhSnTehhdxMit0az7eC\nt/yH8sWZTadK7x5Z9E5a0ACxtRG8ZlLx2cqSz1ME7Yvqif3KoYXP/V8LpfltLLdo\nkNLYwpFDtlBcbtYtHD8+owVgx41rI48ea9cWdsI8hD1HSj7t2U9JnTPIv2EFeUqI\nXt1DIGZ/XLuzFXoclnejMlaf7NaOD0bUBtIeDC6Op3yE6BLfgp2Mp9YzzV+vOMlj\n2rRRjd8YdXITI5mb9gcYOy4SgD7/g7x3aIFKE1Q3xzC7AgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2024-01-06T23:39:15Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:33187" time="2024-01-06T23:39:15Z" 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:[xnzuzVhCJxA9yZGnX8sv0uZ1svKHc88sobQ3mbfJ8z8dsHCxlMGLrOBGlI+YphLAlFU3v9trDedkrfiyrhFCMjlVYw2KPTGJo1Feo8TckFIIi2d9A9NWHLde7Osq9JjD7VEFVhavhg10Fq7TrosiY+FWnRU4GnQIOvbNaAagg3LqA+pt/NY9cf5zlc9MvNAiT++xCs4Bdk3D5sB0wMLTbTqgTfWEledwbBsuV9nzUHJO4b3/h91cjOQTcimwm/5ZZwT1ijW7OcOf7f5kmjm1i0pAA9RDPoq6INdrfhukl9kgQIUCanySKs9XyeWXcBBFxZyWS7JTRoOVUNzTzAkmxGPQ8JOdtfng71JGZedQBvN8oDnTqRIIumwWpSVMg3FHpFk6uXuQLSgNkG8Cx+HgbaWCDniwFLyDyxL6dczLcReTNf/lztYEigsE/3VboAXiDfPU/WPTqaI0DL4l1+BPdEHF6QyAN0XEk3YRkS9lrhoDlC3CiFPvi3JLhxsPVo7E]] 0x400022e700 701 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36056 /api/devices/v1/authentication/auth_requests 0x400022e740}" time="2024-01-06T23:39:15Z" 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:[Sat, 06 Jan 2024 23:39:15 GMT]] 0x4000342260 3 [] false false map[] 0x400015e500 }" time="2024-01-06T23:39:15Z" level=debug msg="Receive response data" time="2024-01-06T23:39:15Z" level=debug msg="Received response data: [102 111 111]" time="2024-01-06T23:39:15Z" level=info msg="successfully received new authorization data" time="2024-01-06T23:39:15Z" level=debug msg="Returning artifact name from artifact_info file." time="2024-01-06T23:39:15Z" level=debug msg="Reading data from the device manifest file: artifact_info" time="2024-01-06T23:39:15Z" level=debug msg="artifact_name=mender-image" time="2024-01-06T23:39:15Z" level=debug msg="Current manifest data: mender-image" time="2024-01-06T23:39:15Z" level=debug msg="Reading data from the device manifest file: device_type" time="2024-01-06T23:39:15Z" level=debug msg="device_type=dev" time="2024-01-06T23:39:15Z" level=debug msg="Current manifest data: dev" time="2024-01-06T23:39:15Z" 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]] 0x4000676280 52 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36056 /api/devices/v1/deployments/device/deployments/next 0x40006762c0}" time="2024-01-06T23:39:15Z" level=error msg="bad token, got Bearer foo expected bar" time="2024-01-06T23:39:15Z" level=info msg="Device unauthorized; attempting reauthorization" time="2024-01-06T23:39:15Z" level=debug msg="Tenant token: " time="2024-01-06T23:39:15Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAx0Cwn8ZQBDupHablNug8\nuGQHQZyaUqIiVn6KWmJAuF8rqLWYDprjHSDytyczGTH5AfuIegC7xCD/HU+WARYz\njyEGgjKi1HyCQO6SN2R6f5fsGgbzPXbUw6QoB+hKspr1r4P3MNjtFqm19oP8hzG7\nlufrQCYlmTVAIDuD+OVqXxASXaBTAlLHuVScBdu16DsHZgb2qtZ7Gj5J2Ujno8LU\nU1oHe+rzULJFxkAcczVF3kkcmgDwewPAS1jqbQrblRRI1ZhSnTehhdxMit0az7eC\nt/yH8sWZTadK7x5Z9E5a0ACxtRG8ZlLx2cqSz1ME7Yvqif3KoYXP/V8LpfltLLdo\nkNLYwpFDtlBcbtYtHD8+owVgx41rI48ea9cWdsI8hD1HSj7t2U9JnTPIv2EFeUqI\nXt1DIGZ/XLuzFXoclnejMlaf7NaOD0bUBtIeDC6Op3yE6BLfgp2Mp9YzzV+vOMlj\n2rRRjd8YdXITI5mb9gcYOy4SgD7/g7x3aIFKE1Q3xzC7AgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2024-01-06T23:39:15Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:33187" time="2024-01-06T23:39:15Z" 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:[xnzuzVhCJxA9yZGnX8sv0uZ1svKHc88sobQ3mbfJ8z8dsHCxlMGLrOBGlI+YphLAlFU3v9trDedkrfiyrhFCMjlVYw2KPTGJo1Feo8TckFIIi2d9A9NWHLde7Osq9JjD7VEFVhavhg10Fq7TrosiY+FWnRU4GnQIOvbNaAagg3LqA+pt/NY9cf5zlc9MvNAiT++xCs4Bdk3D5sB0wMLTbTqgTfWEledwbBsuV9nzUHJO4b3/h91cjOQTcimwm/5ZZwT1ijW7OcOf7f5kmjm1i0pAA9RDPoq6INdrfhukl9kgQIUCanySKs9XyeWXcBBFxZyWS7JTRoOVUNzTzAkmxGPQ8JOdtfng71JGZedQBvN8oDnTqRIIumwWpSVMg3FHpFk6uXuQLSgNkG8Cx+HgbaWCDniwFLyDyxL6dczLcReTNf/lztYEigsE/3VboAXiDfPU/WPTqaI0DL4l1+BPdEHF6QyAN0XEk3YRkS9lrhoDlC3CiFPvi3JLhxsPVo7E]] 0x4000676700 701 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36056 /api/devices/v1/authentication/auth_requests 0x4000676740}" time="2024-01-06T23:39:15Z" 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:[Sat, 06 Jan 2024 23:39:15 GMT]] 0x40004c4aa0 3 [] false false map[] 0x400027c300 }" time="2024-01-06T23:39:15Z" level=debug msg="Receive response data" time="2024-01-06T23:39:15Z" level=debug msg="Received response data: [98 97 114]" time="2024-01-06T23:39:15Z" 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]] 0x4000676980 52 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36056 /api/devices/v1/deployments/device/deployments/next 0x40006769c0}" time="2024-01-06T23:39:15Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2024-01-06T23:39:15Z" 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:33187 map[] map[] map[] 127.0.0.1:36060 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x4000676c40}" time="2024-01-06T23:39:15Z" 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:33187 map[] map[] map[] 127.0.0.1:36060 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x4000676c40}" time="2024-01-06T23:39:15Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" time="2024-01-06T23:39:15Z" level=debug msg="Received response:204 No Content" time="2024-01-06T23:39:15Z" level=debug msg="No update available" time="2024-01-06T23:39:15Z" level=debug msg="no updates available" time="2024-01-06T23:39:15Z" level=debug msg="Returning artifact name from artifact_info file." time="2024-01-06T23:39:15Z" level=debug msg="Reading data from the device manifest file: artifact_info" time="2024-01-06T23:39:15Z" level=debug msg="artifact_name=mender-image" time="2024-01-06T23:39:15Z" level=debug msg="Current manifest data: mender-image" time="2024-01-06T23:39:15Z" level=debug msg="Reading data from the device manifest file: device_type" time="2024-01-06T23:39:15Z" level=debug msg="device_type=dev" time="2024-01-06T23:39:15Z" level=debug msg="Current manifest data: dev" time="2024-01-06T23:39:15Z" 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]] 0x4000677040 52 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36060 /api/devices/v1/deployments/device/deployments/next 0x4000677080}" time="2024-01-06T23:39:15Z" level=error msg="bad token, got Bearer bar expected foo" time="2024-01-06T23:39:15Z" level=info msg="Device unauthorized; attempting reauthorization" time="2024-01-06T23:39:15Z" level=debug msg="Tenant token: " time="2024-01-06T23:39:15Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAx0Cwn8ZQBDupHablNug8\nuGQHQZyaUqIiVn6KWmJAuF8rqLWYDprjHSDytyczGTH5AfuIegC7xCD/HU+WARYz\njyEGgjKi1HyCQO6SN2R6f5fsGgbzPXbUw6QoB+hKspr1r4P3MNjtFqm19oP8hzG7\nlufrQCYlmTVAIDuD+OVqXxASXaBTAlLHuVScBdu16DsHZgb2qtZ7Gj5J2Ujno8LU\nU1oHe+rzULJFxkAcczVF3kkcmgDwewPAS1jqbQrblRRI1ZhSnTehhdxMit0az7eC\nt/yH8sWZTadK7x5Z9E5a0ACxtRG8ZlLx2cqSz1ME7Yvqif3KoYXP/V8LpfltLLdo\nkNLYwpFDtlBcbtYtHD8+owVgx41rI48ea9cWdsI8hD1HSj7t2U9JnTPIv2EFeUqI\nXt1DIGZ/XLuzFXoclnejMlaf7NaOD0bUBtIeDC6Op3yE6BLfgp2Mp9YzzV+vOMlj\n2rRRjd8YdXITI5mb9gcYOy4SgD7/g7x3aIFKE1Q3xzC7AgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2024-01-06T23:39:15Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:33187" time="2024-01-06T23:39:15Z" 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:[xnzuzVhCJxA9yZGnX8sv0uZ1svKHc88sobQ3mbfJ8z8dsHCxlMGLrOBGlI+YphLAlFU3v9trDedkrfiyrhFCMjlVYw2KPTGJo1Feo8TckFIIi2d9A9NWHLde7Osq9JjD7VEFVhavhg10Fq7TrosiY+FWnRU4GnQIOvbNaAagg3LqA+pt/NY9cf5zlc9MvNAiT++xCs4Bdk3D5sB0wMLTbTqgTfWEledwbBsuV9nzUHJO4b3/h91cjOQTcimwm/5ZZwT1ijW7OcOf7f5kmjm1i0pAA9RDPoq6INdrfhukl9kgQIUCanySKs9XyeWXcBBFxZyWS7JTRoOVUNzTzAkmxGPQ8JOdtfng71JGZedQBvN8oDnTqRIIumwWpSVMg3FHpFk6uXuQLSgNkG8Cx+HgbaWCDniwFLyDyxL6dczLcReTNf/lztYEigsE/3VboAXiDfPU/WPTqaI0DL4l1+BPdEHF6QyAN0XEk3YRkS9lrhoDlC3CiFPvi3JLhxsPVo7E]] 0x4000677300 701 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36060 /api/devices/v1/authentication/auth_requests 0x4000677340}" time="2024-01-06T23:39:15Z" 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:[Sat, 06 Jan 2024 23:39:15 GMT]] 0x40004c5c80 3 [] false false map[] 0x400027d600 }" time="2024-01-06T23:39:15Z" level=debug msg="Receive response data" time="2024-01-06T23:39:15Z" level=debug msg="Received response data: [102 111 111]" time="2024-01-06T23:39:15Z" 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]] 0x4000677580 52 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36060 /api/devices/v1/deployments/device/deployments/next 0x40006775c0}" time="2024-01-06T23:39:15Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2024-01-06T23:39:15Z" 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:33187 map[] map[] map[] 127.0.0.1:36068 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x4000677880}" time="2024-01-06T23:39:15Z" 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:33187 map[] map[] map[] 127.0.0.1:36068 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x4000677880}" time="2024-01-06T23:39:15Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" time="2024-01-06T23:39:15Z" level=info msg="Device unauthorized; attempting reauthorization" time="2024-01-06T23:39:15Z" level=debug msg="Tenant token: " time="2024-01-06T23:39:15Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAx0Cwn8ZQBDupHablNug8\nuGQHQZyaUqIiVn6KWmJAuF8rqLWYDprjHSDytyczGTH5AfuIegC7xCD/HU+WARYz\njyEGgjKi1HyCQO6SN2R6f5fsGgbzPXbUw6QoB+hKspr1r4P3MNjtFqm19oP8hzG7\nlufrQCYlmTVAIDuD+OVqXxASXaBTAlLHuVScBdu16DsHZgb2qtZ7Gj5J2Ujno8LU\nU1oHe+rzULJFxkAcczVF3kkcmgDwewPAS1jqbQrblRRI1ZhSnTehhdxMit0az7eC\nt/yH8sWZTadK7x5Z9E5a0ACxtRG8ZlLx2cqSz1ME7Yvqif3KoYXP/V8LpfltLLdo\nkNLYwpFDtlBcbtYtHD8+owVgx41rI48ea9cWdsI8hD1HSj7t2U9JnTPIv2EFeUqI\nXt1DIGZ/XLuzFXoclnejMlaf7NaOD0bUBtIeDC6Op3yE6BLfgp2Mp9YzzV+vOMlj\n2rRRjd8YdXITI5mb9gcYOy4SgD7/g7x3aIFKE1Q3xzC7AgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2024-01-06T23:39:15Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:33187" time="2024-01-06T23:39:15Z" 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:[xnzuzVhCJxA9yZGnX8sv0uZ1svKHc88sobQ3mbfJ8z8dsHCxlMGLrOBGlI+YphLAlFU3v9trDedkrfiyrhFCMjlVYw2KPTGJo1Feo8TckFIIi2d9A9NWHLde7Osq9JjD7VEFVhavhg10Fq7TrosiY+FWnRU4GnQIOvbNaAagg3LqA+pt/NY9cf5zlc9MvNAiT++xCs4Bdk3D5sB0wMLTbTqgTfWEledwbBsuV9nzUHJO4b3/h91cjOQTcimwm/5ZZwT1ijW7OcOf7f5kmjm1i0pAA9RDPoq6INdrfhukl9kgQIUCanySKs9XyeWXcBBFxZyWS7JTRoOVUNzTzAkmxGPQ8JOdtfng71JGZedQBvN8oDnTqRIIumwWpSVMg3FHpFk6uXuQLSgNkG8Cx+HgbaWCDniwFLyDyxL6dczLcReTNf/lztYEigsE/3VboAXiDfPU/WPTqaI0DL4l1+BPdEHF6QyAN0XEk3YRkS9lrhoDlC3CiFPvi3JLhxsPVo7E]] 0x40002bc1c0 701 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36068 /api/devices/v1/authentication/auth_requests 0x40002bc200}" time="2024-01-06T23:39:15Z" 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:[Sat, 06 Jan 2024 23:39:15 GMT]] 0x40006785c0 3 [] false false map[] 0x40002e8100 }" time="2024-01-06T23:39:15Z" level=debug msg="Receive response data" time="2024-01-06T23:39:15Z" level=debug msg="Received response data: [102 111 111]" time="2024-01-06T23:39:15Z" 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:33187 map[] map[] map[] 127.0.0.1:36068 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x40002bc4c0}" time="2024-01-06T23:39:15Z" 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:33187 map[] map[] map[] 127.0.0.1:36068 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x40002bc4c0}" time="2024-01-06T23:39:15Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" time="2024-01-06T23:39:15Z" level=debug msg="Received response:401 Unauthorized" time="2024-01-06T23:39:15Z" level=warning msg="Client not authorized to get update schedule." time="2024-01-06T23:39:15Z" level=error msg="Error receiving scheduled update data: (request_id: ): client not authorized server error message: failed to parse server response: EOF" --- PASS: TestReauthorization (0.61s) === RUN TestFailoverServers time="2024-01-06T23:39:15Z" level=debug msg="Private key does not exist" time="2024-01-06T23:39:15Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:15Z" level=debug msg="Needs keys" time="2024-01-06T23:39:15Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2024-01-06T23:39:16Z" level=debug msg="Tenant token: " time="2024-01-06T23:39:16Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAoj+i28TktRLH/pv3S2Dn\nG9oOOuwq5ebBnJ6tSipbkJ2+kXNHPAPUAqSDt1xPlp++ZTajfZhZyJnQWkxupJPc\nKV79dWFJAZv5epYydhnBmhab1K6i2Y76HM1vR61qTg45Wi3C8/2hpcu7VZlT9A69\nYletlYvOgm901irqmUyltU2mDOVQuxCzLCanBhfscirZpCJmo+Z+piO3xGYhQ1ac\nbzovfogdiQOBEm3ZQqnHzjpfPeLOn1MyPxe3mBjiClj/E8L0PJUDRa4VSxf0H1A9\noJSzicaNxFVqx10ocdYHDtnugKS8GOZzGqxoPZ7o+rznH5WLsFxl/Fpp0LTerEXY\nSaBM1F8ByDXkRlKRiVcpbiT//nmKBI1IhMJ4Kb3T4xAP3cSElUcI6eEQKg1myDx/\nlyxHht3nldFZCO/ZSyD1XDRgr9RIopxfJ6hjOHTnAdsf99RHtPb5sq3t6jEemRyn\nGVN2qpjCvq+cdQjTcwvfT5z10CuohxkXAhSaMRczBX4dAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2024-01-06T23:39:16Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:34177" time="2024-01-06T23:39:16Z" 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:[APDECMjjz8v8dJUPgAbL9xeu5C/7dpab578r67CGjTc5zHjhnsbegvY8DUE5XX5/2L7NBQQ4mzTY6IRa7x1SiTt5gXSqZYVPourpss7fqNvjGvCWFxcGKTN+Qtez/4CQ524RgkLtqRwF+Y9xQkBh7/5nv1EjiU0MUhpr7v9hkFUiXQHYX7e70QyE9wRWY+7j9mNrc4jPt3qCb+ltpOYk4LESQXqU9MlT1+u7IqtN3J/0O5UFs/gX0we703cSVlnqM6j98IfmE9aOwF0vlrzKjw5SDAyNwfqfvhyRc4tPztRmxH7X9AkHaHFkxXpDrdj0QOE7XPm3E7HkKE2vtUpk4qiCAf83nEcWFnqjqY56ihmuZNlwi5CCFdROAmgyeDFmsG4gAUf/BneuWX61HBas1GLlYbi07od6PBXLyOE/WNSs/GQ5X/H9DIyOMikKlLWNQSUt+ISXGt5Suu0x1pWxwKkmiGtL6G7FnxwveU8n87oeoqLonVxSjU5NITG/YAKU]] 0x4000020500 701 [] false 127.0.0.1:34177 map[] map[] map[] 127.0.0.1:52850 /api/devices/v1/authentication/auth_requests 0x4000020540}" time="2024-01-06T23:39:16Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 06 Jan 2024 23:39:16 GMT]] 0x4000312b80 0 [] false false map[] 0x40002e8b00 }" time="2024-01-06T23:39:16Z" level=warning msg="Failed to authorize \"http://127.0.0.1:34177\"; attempting \"http://127.0.0.1:43363\"." time="2024-01-06T23:39:16Z" level=debug msg="Tenant token: " time="2024-01-06T23:39:16Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAoj+i28TktRLH/pv3S2Dn\nG9oOOuwq5ebBnJ6tSipbkJ2+kXNHPAPUAqSDt1xPlp++ZTajfZhZyJnQWkxupJPc\nKV79dWFJAZv5epYydhnBmhab1K6i2Y76HM1vR61qTg45Wi3C8/2hpcu7VZlT9A69\nYletlYvOgm901irqmUyltU2mDOVQuxCzLCanBhfscirZpCJmo+Z+piO3xGYhQ1ac\nbzovfogdiQOBEm3ZQqnHzjpfPeLOn1MyPxe3mBjiClj/E8L0PJUDRa4VSxf0H1A9\noJSzicaNxFVqx10ocdYHDtnugKS8GOZzGqxoPZ7o+rznH5WLsFxl/Fpp0LTerEXY\nSaBM1F8ByDXkRlKRiVcpbiT//nmKBI1IhMJ4Kb3T4xAP3cSElUcI6eEQKg1myDx/\nlyxHht3nldFZCO/ZSyD1XDRgr9RIopxfJ6hjOHTnAdsf99RHtPb5sq3t6jEemRyn\nGVN2qpjCvq+cdQjTcwvfT5z10CuohxkXAhSaMRczBX4dAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2024-01-06T23:39:16Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:43363" time="2024-01-06T23:39:16Z" 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:[APDECMjjz8v8dJUPgAbL9xeu5C/7dpab578r67CGjTc5zHjhnsbegvY8DUE5XX5/2L7NBQQ4mzTY6IRa7x1SiTt5gXSqZYVPourpss7fqNvjGvCWFxcGKTN+Qtez/4CQ524RgkLtqRwF+Y9xQkBh7/5nv1EjiU0MUhpr7v9hkFUiXQHYX7e70QyE9wRWY+7j9mNrc4jPt3qCb+ltpOYk4LESQXqU9MlT1+u7IqtN3J/0O5UFs/gX0we703cSVlnqM6j98IfmE9aOwF0vlrzKjw5SDAyNwfqfvhyRc4tPztRmxH7X9AkHaHFkxXpDrdj0QOE7XPm3E7HkKE2vtUpk4qiCAf83nEcWFnqjqY56ihmuZNlwi5CCFdROAmgyeDFmsG4gAUf/BneuWX61HBas1GLlYbi07od6PBXLyOE/WNSs/GQ5X/H9DIyOMikKlLWNQSUt+ISXGt5Suu0x1pWxwKkmiGtL6G7FnxwveU8n87oeoqLonVxSjU5NITG/YAKU]] 0x4000020d00 701 [] false 127.0.0.1:43363 map[] map[] map[] 127.0.0.1:56832 /api/devices/v1/authentication/auth_requests 0x4000020d40}" time="2024-01-06T23:39:16Z" 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:[Sat, 06 Jan 2024 23:39:16 GMT]] 0x4000312f60 3 [] false false map[] 0x40000f8800 }" time="2024-01-06T23:39:16Z" level=debug msg="Receive response data" time="2024-01-06T23:39:16Z" level=debug msg="Received response data: [106 119 116]" time="2024-01-06T23:39:16Z" level=info msg="successfully received new authorization data" time="2024-01-06T23:39:16Z" level=debug msg="Returning artifact name from artifact_info file." time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: artifact_info" time="2024-01-06T23:39:16Z" level=debug msg="artifact_name=mender-image" time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: mender-image" time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: device_type" time="2024-01-06T23:39:16Z" level=debug msg="device_type=dev" time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: dev" time="2024-01-06T23:39:16Z" 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]] 0x40000211c0 52 [] false 127.0.0.1:34177 map[] map[] map[] 127.0.0.1:52850 /api/devices/v1/deployments/device/deployments/next 0x4000021200}" time="2024-01-06T23:39:16Z" level=warning msg="Server \"http://127.0.0.1:34177\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:43363\"" time="2024-01-06T23:39:16Z" 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]] 0x400022ee80 52 [] false 127.0.0.1:43363 map[] map[] map[] 127.0.0.1:56844 /api/devices/v1/deployments/device/deployments/next 0x400022eec0}" time="2024-01-06T23:39:16Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2024-01-06T23:39:16Z" 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:34177 map[] map[] map[] 127.0.0.1:52858 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x400022f180}" time="2024-01-06T23:39:16Z" 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:34177 map[] map[] map[] 127.0.0.1:52858 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x400022f180}" time="2024-01-06T23:39:16Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" 2024/01/06 23:39:16 http: panic serving 127.0.0.1:52858: runtime error: invalid memory address or nil pointer dereference goroutine 225 [running]: net/http.(*conn).serve.func1(0x40005325a0) /usr/lib/go-1.15/src/net/http/server.go:1801 +0xfc panic(0x818840, 0xb95f00) /usr/lib/go-1.15/src/runtime/panic.go:975 +0x420 github.com/mendersoftware/mender/client/test.(*ClientTestServer).updateReq(0x400054c4e0, 0x942bc0, 0x40001a01c0, 0x40000f8e00) /build/reproducible-path/mender-client-2.4.1/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mender/client/test/server.go:385 +0x2a4 net/http.HandlerFunc.ServeHTTP(0x400048ebe0, 0x942bc0, 0x40001a01c0, 0x40000f8e00) /usr/lib/go-1.15/src/net/http/server.go:2042 +0x40 net/http.(*ServeMux).ServeHTTP(0x40002bc680, 0x942bc0, 0x40001a01c0, 0x40000f8e00) /usr/lib/go-1.15/src/net/http/server.go:2417 +0x190 net/http.serverHandler.ServeHTTP(0x40002f61c0, 0x942bc0, 0x40001a01c0, 0x40000f8e00) /usr/lib/go-1.15/src/net/http/server.go:2843 +0xbc net/http.(*conn).serve(0x40005325a0, 0x9441c0, 0x400022f080) /usr/lib/go-1.15/src/net/http/server.go:1925 +0x6f4 created by net/http.(*Server).Serve /usr/lib/go-1.15/src/net/http/server.go:2969 +0x2e8 time="2024-01-06T23:39:16Z" level=warning msg="Server \"http://127.0.0.1:34177\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:43363\"" time="2024-01-06T23:39:16Z" 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:43363 map[] map[] map[] 127.0.0.1:56854 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x400022f440}" time="2024-01-06T23:39:16Z" 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:43363 map[] map[] map[] 127.0.0.1:56854 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x400022f440}" time="2024-01-06T23:39:16Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" time="2024-01-06T23:39:16Z" level=debug msg="Received response:200 OK" time="2024-01-06T23:39:16Z" level=debug msg="Have update available" time="2024-01-06T23:39:16Z" level=info msg="Correct request for getting image from: http://127.0.0.1:43363/download [name: foo; devices: [vexpress]]" time="2024-01-06T23:39:16Z" level=debug msg="Received update response: {{{http://127.0.0.1:43363/download } [vexpress] [] foo map[]} foo [] 0 false}" --- PASS: TestFailoverServers (0.78s) === 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="2024-01-06T23:39:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." time="2024-01-06T23:39:16Z" level=info msg="Start updating from local image file: []" time="2024-01-06T23:39:16Z" 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="2024-01-06T23:39:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." time="2024-01-06T23:39:16Z" level=info msg="Performing remote update from: [https://update]." time="2024-01-06T23:39:16Z" 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="2024-01-06T23:39:16Z" 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="2024-01-06T23:39:16Z" level=debug msg="Client initialized. Start downloading image." time="2024-01-06T23:39:16Z" level=error msg="Can not fetch update image: Get \"https://update\": dial tcp: lookup update on [::1]:53: read udp [::1]:36028->[::1]:53: read: connection refused" time="2024-01-06T23:39:16Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"https://update\": dial tcp: lookup update on [::1]:53: read udp [::1]:36028->[::1]:53: read: connection refused]" --- PASS: Test_doManualUpdate_invalidHttpsClientConfig_updateFails (0.07s) === RUN Test_doManualUpdate_nonExistingFile_fail time="2024-01-06T23:39:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." time="2024-01-06T23:39:16Z" level=info msg="Start updating from local image file: [non-existing]" time="2024-01-06T23:39:16Z" 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="2024-01-06T23:39:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." time="2024-01-06T23:39:16Z" level=info msg="Performing remote update from: [http://non-existing]." time="2024-01-06T23:39:16Z" level=debug msg="Client initialized. Start downloading image." time="2024-01-06T23:39:16Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:44361->[::1]:53: read: connection refused" time="2024-01-06T23:39:16Z" 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]:44361->[::1]:53: read: connection refused]" --- PASS: Test_doManualUpdate_networkUpdateNoClient_fail (0.00s) === RUN Test_doManualUpdate_networkClientExistsNoServer_fail time="2024-01-06T23:39:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." time="2024-01-06T23:39:16Z" level=info msg="Performing remote update from: [http://non-existing]." time="2024-01-06T23:39:16Z" 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="2024-01-06T23:39:16Z" 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="2024-01-06T23:39:16Z" level=debug msg="Client initialized. Start downloading image." time="2024-01-06T23:39:16Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:40313->[::1]:53: read: connection refused" time="2024-01-06T23:39:16Z" 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]:40313->[::1]:53: read: connection refused]" --- PASS: Test_doManualUpdate_networkClientExistsNoServer_fail (0.08s) === RUN Test_doManualUpdate_existingFile_updateSuccess time="2024-01-06T23:39:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." time="2024-01-06T23:39:16Z" level=info msg="Start updating from local image file: [/tmp/update124322117]" time="2024-01-06T23:39:16Z" level=debug msg="Fetching update from file results: [&{0x400084c0c0}], 5120, " Installing Artifact of size 5120... time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/143075114" time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:16Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2024-01-06T23:39:16Z" level=debug msg="Checking if device [] is on compatible device list: [vexpress-qemu]\n" time="2024-01-06T23:39:16Z" level=error msg="Unknown device_type. Continuing with update" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" . 100% 5 KiB time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" 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.04s) === RUN TestDoManualUpdateArtifactV3Dependencies time="2024-01-06T23:39:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." time="2024-01-06T23:39:16Z" level=info msg="Start updating from local image file: [/tmp/update110099302]" time="2024-01-06T23:39:16Z" level=debug msg="Fetching update from file results: [&{0x40005a8ea0}], 5120, " Installing Artifact of size 5120... time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/049095103" time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:16Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2024-01-06T23:39:16Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" time="2024-01-06T23:39:16Z" level=error msg="Unknown device_type. Continuing with update" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" time="2024-01-06T23:39:16Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([testGroup] != )." time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." time="2024-01-06T23:39:16Z" level=info msg="Start updating from local image file: [/tmp/update110099302]" time="2024-01-06T23:39:16Z" level=debug msg="Fetching update from file results: [&{0x40005a81e0}], 5120, " Installing Artifact of size 5120... time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/049095103" time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:16Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2024-01-06T23:39:16Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" time="2024-01-06T23:39:16Z" level=error msg="Unknown device_type. Continuing with update" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" time="2024-01-06T23:39:16Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([testGroup] != )." time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." time="2024-01-06T23:39:16Z" level=info msg="Start updating from local image file: [/tmp/update110099302]" time="2024-01-06T23:39:16Z" level=debug msg="Fetching update from file results: [&{0x40005a8c60}], 5120, " Installing Artifact of size 5120... time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/049095103" time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:16Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2024-01-06T23:39:16Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" time="2024-01-06T23:39:16Z" level=error msg="Unknown device_type. Continuing with update" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" time="2024-01-06T23:39:16Z" level=error msg="Artifact dependency \"testKey\" not satisfied by currently installed artifact (testValue != )." time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." time="2024-01-06T23:39:16Z" level=info msg="Start updating from local image file: [/tmp/update110099302]" time="2024-01-06T23:39:16Z" level=debug msg="Fetching update from file results: [&{0x40005a8180}], 5120, " Installing Artifact of size 5120... time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/049095103" time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:16Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2024-01-06T23:39:16Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" time="2024-01-06T23:39:16Z" level=error msg="Unknown device_type. Continuing with update" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" . 100% 5 KiB time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" 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.08s) === RUN TestStandaloneModuleInstall === RUN TestStandaloneModuleInstall/Normal_install,_no_rollback time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." time="2024-01-06T23:39:16Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall899124616/artifact.mender]" time="2024-01-06T23:39:16Z" level=debug msg="Fetching update from file results: [&{0x400060ae40}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall899124616/device_type" time="2024-01-06T23:39:16Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:16Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:16Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall899124616/artifact_info file." time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall899124616/artifact_info" time="2024-01-06T23:39:16Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall899124616/artifact_info" time="2024-01-06T23:39:16Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall899124616/device_type" time="2024-01-06T23:39:16Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall899124616/modules/test-type Download /tmp/TestStandaloneModuleInstall899124616/work/payloads/0000/tree" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall899124616/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall899124616/work/payloads/0000/tree" time="2024-01-06T23:39:16Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:16Z" level=debug msg="Module does not support rollback" time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall899124616/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall899124616/work/payloads/0000/tree" time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall899124616/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall899124616/work/payloads/0000/tree" time="2024-01-06T23:39:16Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:16Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall899124616/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall899124616/work/payloads/0000/tree" time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall899124616/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall899124616/work/payloads/0000/tree" At least one payload requested a reboot of the device it updated. time="2024-01-06T23:39:16Z" level=debug msg="Returning artifact name artifact-name from database." === RUN TestStandaloneModuleInstall/Normal_install time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." time="2024-01-06T23:39:16Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall031302417/artifact.mender]" time="2024-01-06T23:39:16Z" level=debug msg="Fetching update from file results: [&{0x400049c120}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall031302417/device_type" time="2024-01-06T23:39:16Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:16Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:16Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall031302417/artifact_info file." time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall031302417/artifact_info" time="2024-01-06T23:39:16Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall031302417/artifact_info" time="2024-01-06T23:39:16Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall031302417/device_type" time="2024-01-06T23:39:16Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall031302417/modules/test-type Download /tmp/TestStandaloneModuleInstall031302417/work/payloads/0000/tree" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall031302417/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall031302417/work/payloads/0000/tree" time="2024-01-06T23:39:16Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:16Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall031302417/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall031302417/work/payloads/0000/tree" time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall031302417/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall031302417/work/payloads/0000/tree" time="2024-01-06T23:39:16Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:16Z" 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="2024-01-06T23:39:16Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall031302417/artifact_info file." time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall031302417/artifact_info" time="2024-01-06T23:39:16Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Normal_commit time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." time="2024-01-06T23:39:16Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall183685582/artifact.mender]" time="2024-01-06T23:39:16Z" level=debug msg="Fetching update from file results: [&{0x40003a02a0}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall183685582/device_type" time="2024-01-06T23:39:16Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:16Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:16Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall183685582/artifact_info file." time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall183685582/artifact_info" time="2024-01-06T23:39:16Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall183685582/artifact_info" time="2024-01-06T23:39:16Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall183685582/device_type" time="2024-01-06T23:39:16Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall183685582/modules/test-type Download /tmp/TestStandaloneModuleInstall183685582/work/payloads/0000/tree" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall183685582/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall183685582/work/payloads/0000/tree" time="2024-01-06T23:39:16Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:16Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall183685582/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall183685582/work/payloads/0000/tree" time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall183685582/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall183685582/work/payloads/0000/tree" time="2024-01-06T23:39:16Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:16Z" 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="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall183685582/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall183685582/work/payloads/0000/tree" time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:16Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall183685582/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall183685582/work/payloads/0000/tree" time="2024-01-06T23:39:16Z" level=debug msg="Returning artifact name artifact-name from database." === RUN TestStandaloneModuleInstall/Normal_rollback time="2024-01-06T23:39:17Z" level=debug msg="Starting device update." time="2024-01-06T23:39:17Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall393631183/artifact.mender]" time="2024-01-06T23:39:17Z" level=debug msg="Fetching update from file results: [&{0x40005ca660}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall393631183/device_type" time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:17Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall393631183/artifact_info file." time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall393631183/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall393631183/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall393631183/device_type" time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall393631183/modules/test-type Download /tmp/TestStandaloneModuleInstall393631183/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall393631183/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall393631183/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:17Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall393631183/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall393631183/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall393631183/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall393631183/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:17Z" 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="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall393631183/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall393631183/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:17Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall393631183/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall393631183/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall393631183/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall393631183/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall393631183/artifact_info file." time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall393631183/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download_Enter_00 time="2024-01-06T23:39:17Z" level=debug msg="Starting device update." time="2024-01-06T23:39:17Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall762234468/artifact.mender]" time="2024-01-06T23:39:17Z" level=debug msg="Fetching update from file results: [&{0x40005ca300}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall762234468/device_type" time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:17Z" level=error msg="Download_Enter script failed: statescript: error executing 'Download_Enter_00': 1 : exit status 1" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall762234468/artifact_info file." time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall762234468/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download time="2024-01-06T23:39:17Z" level=debug msg="Starting device update." time="2024-01-06T23:39:17Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall699763485/artifact.mender]" time="2024-01-06T23:39:17Z" level=debug msg="Fetching update from file results: [&{0x40005da180}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall699763485/device_type" time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:17Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall699763485/artifact_info file." time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall699763485/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall699763485/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall699763485/device_type" time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall699763485/modules/test-type Download /tmp/TestStandaloneModuleInstall699763485/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:17Z" level=error msg="Download failed: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall699763485/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall699763485/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall699763485/artifact_info file." time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall699763485/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download_Leave_00 time="2024-01-06T23:39:17Z" level=debug msg="Starting device update." time="2024-01-06T23:39:17Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall005073098/artifact.mender]" time="2024-01-06T23:39:17Z" level=debug msg="Fetching update from file results: [&{0x40004ce2a0}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall005073098/device_type" time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:17Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall005073098/artifact_info file." time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall005073098/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall005073098/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall005073098/device_type" time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall005073098/modules/test-type Download /tmp/TestStandaloneModuleInstall005073098/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:17Z" level=error msg="Download_Leave script failed: statescript: error executing 'Download_Leave_00': 1 : exit status 1" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall005073098/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall005073098/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall005073098/artifact_info file." time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall005073098/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Enter_00 time="2024-01-06T23:39:17Z" level=debug msg="Starting device update." time="2024-01-06T23:39:17Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall025136763/artifact.mender]" time="2024-01-06T23:39:17Z" level=debug msg="Fetching update from file results: [&{0x4000490120}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall025136763/device_type" time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:17Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall025136763/artifact_info file." time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall025136763/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall025136763/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall025136763/device_type" time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall025136763/modules/test-type Download /tmp/TestStandaloneModuleInstall025136763/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall025136763/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall025136763/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:17Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:17Z" level=error msg="ArtifactInstall_Enter script failed: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall025136763/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall025136763/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:17Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall025136763/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall025136763/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall025136763/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall025136763/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall025136763/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall025136763/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall025136763/artifact_info file." time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall025136763/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall time="2024-01-06T23:39:17Z" level=debug msg="Starting device update." time="2024-01-06T23:39:17Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall655616128/artifact.mender]" time="2024-01-06T23:39:17Z" level=debug msg="Fetching update from file results: [&{0x40005ca240}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall655616128/device_type" time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:17Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall655616128/artifact_info file." time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall655616128/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall655616128/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall655616128/device_type" time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall655616128/modules/test-type Download /tmp/TestStandaloneModuleInstall655616128/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall655616128/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall655616128/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:17Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall655616128/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall655616128/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:17Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall655616128/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall655616128/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:17Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall655616128/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall655616128/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall655616128/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall655616128/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall655616128/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall655616128/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall655616128/artifact_info file." time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall655616128/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Leave_00 time="2024-01-06T23:39:17Z" level=debug msg="Starting device update." time="2024-01-06T23:39:17Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall062801769/artifact.mender]" time="2024-01-06T23:39:17Z" level=debug msg="Fetching update from file results: [&{0x40005da1e0}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall062801769/device_type" time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:17Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall062801769/artifact_info file." time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall062801769/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall062801769/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall062801769/device_type" time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall062801769/modules/test-type Download /tmp/TestStandaloneModuleInstall062801769/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall062801769/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall062801769/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:17Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall062801769/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall062801769/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:17Z" level=error msg="ArtifactInstall_Leave script failed: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall062801769/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall062801769/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:17Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall062801769/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall062801769/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall062801769/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall062801769/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall062801769/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall062801769/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall062801769/artifact_info file." time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall062801769/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00 time="2024-01-06T23:39:17Z" level=debug msg="Starting device update." time="2024-01-06T23:39:17Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall077855494/artifact.mender]" time="2024-01-06T23:39:17Z" level=debug msg="Fetching update from file results: [&{0x400030c420}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077855494/device_type" time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:17Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall077855494/artifact_info file." time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077855494/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077855494/artifact_info" time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077855494/device_type" time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077855494/modules/test-type Download /tmp/TestStandaloneModuleInstall077855494/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077855494/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall077855494/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:17Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077855494/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall077855494/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077855494/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall077855494/work/payloads/0000/tree" time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:17Z" 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="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:17Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077855494/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall077855494/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:18Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077855494/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall077855494/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077855494/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall077855494/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077855494/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall077855494/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall077855494/artifact_info file." time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077855494/artifact_info" time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit time="2024-01-06T23:39:18Z" level=debug msg="Starting device update." time="2024-01-06T23:39:18Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall072529767/artifact.mender]" time="2024-01-06T23:39:18Z" level=debug msg="Fetching update from file results: [&{0x40003a6120}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall072529767/device_type" time="2024-01-06T23:39:18Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:18Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:18Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall072529767/artifact_info file." time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall072529767/artifact_info" time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall072529767/artifact_info" time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall072529767/device_type" time="2024-01-06T23:39:18Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall072529767/modules/test-type Download /tmp/TestStandaloneModuleInstall072529767/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall072529767/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall072529767/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:18Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall072529767/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall072529767/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall072529767/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall072529767/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:18Z" 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="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall072529767/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall072529767/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:18Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall072529767/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall072529767/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:18Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall072529767/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall072529767/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall072529767/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall072529767/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall072529767/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall072529767/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall072529767/artifact_info file." time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall072529767/artifact_info" time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00 time="2024-01-06T23:39:18Z" level=debug msg="Starting device update." time="2024-01-06T23:39:18Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall724791260/artifact.mender]" time="2024-01-06T23:39:18Z" level=debug msg="Fetching update from file results: [&{0x400057e120}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall724791260/device_type" time="2024-01-06T23:39:18Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:18Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:18Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall724791260/artifact_info file." time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall724791260/artifact_info" time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall724791260/artifact_info" time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall724791260/device_type" time="2024-01-06T23:39:18Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall724791260/modules/test-type Download /tmp/TestStandaloneModuleInstall724791260/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall724791260/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall724791260/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:18Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall724791260/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall724791260/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall724791260/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall724791260/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:18Z" 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="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall724791260/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall724791260/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:18Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall724791260/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall724791260/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00,_no_rollback time="2024-01-06T23:39:18Z" level=debug msg="Starting device update." time="2024-01-06T23:39:18Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall040084981/artifact.mender]" time="2024-01-06T23:39:18Z" level=debug msg="Fetching update from file results: [&{0x400016e180}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall040084981/device_type" time="2024-01-06T23:39:18Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:18Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:18Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall040084981/artifact_info file." time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall040084981/artifact_info" time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall040084981/artifact_info" time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall040084981/device_type" time="2024-01-06T23:39:18Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall040084981/modules/test-type Download /tmp/TestStandaloneModuleInstall040084981/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall040084981/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall040084981/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:18Z" level=debug msg="Module does not support rollback" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall040084981/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall040084981/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall040084981/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall040084981/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:18Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:18Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall040084981/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall040084981/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:18Z" level=debug msg="Module does not support rollback" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall040084981/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall040084981/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall040084981/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall040084981/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit,_no_rollback time="2024-01-06T23:39:18Z" level=debug msg="Starting device update." time="2024-01-06T23:39:18Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall142122626/artifact.mender]" time="2024-01-06T23:39:18Z" level=debug msg="Fetching update from file results: [&{0x400030c480}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall142122626/device_type" time="2024-01-06T23:39:18Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:18Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:18Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall142122626/artifact_info file." time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall142122626/artifact_info" time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall142122626/artifact_info" time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall142122626/device_type" time="2024-01-06T23:39:18Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall142122626/modules/test-type Download /tmp/TestStandaloneModuleInstall142122626/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall142122626/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall142122626/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:18Z" level=debug msg="Module does not support rollback" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall142122626/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall142122626/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall142122626/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall142122626/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:18Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall142122626/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall142122626/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:18Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall142122626/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall142122626/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:18Z" level=debug msg="Module does not support rollback" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall142122626/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall142122626/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall142122626/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall142122626/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00,_no_rollback time="2024-01-06T23:39:18Z" level=debug msg="Starting device update." time="2024-01-06T23:39:18Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall728727699/artifact.mender]" time="2024-01-06T23:39:18Z" level=debug msg="Fetching update from file results: [&{0x40001d4300}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall728727699/device_type" time="2024-01-06T23:39:18Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:18Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:18Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall728727699/artifact_info file." time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall728727699/artifact_info" time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall728727699/artifact_info" time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall728727699/device_type" time="2024-01-06T23:39:18Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall728727699/modules/test-type Download /tmp/TestStandaloneModuleInstall728727699/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall728727699/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall728727699/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:18Z" level=debug msg="Module does not support rollback" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall728727699/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall728727699/work/payloads/0000/tree" time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall728727699/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall728727699/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:19Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall728727699/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall728727699/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:19Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall728727699/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall728727699/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Enter_00 time="2024-01-06T23:39:19Z" level=debug msg="Starting device update." time="2024-01-06T23:39:19Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall694201464/artifact.mender]" time="2024-01-06T23:39:19Z" level=debug msg="Fetching update from file results: [&{0x40000e01e0}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall694201464/device_type" time="2024-01-06T23:39:19Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:19Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:19Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall694201464/artifact_info file." time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall694201464/artifact_info" time="2024-01-06T23:39:19Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall694201464/artifact_info" time="2024-01-06T23:39:19Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall694201464/device_type" time="2024-01-06T23:39:19Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall694201464/modules/test-type Download /tmp/TestStandaloneModuleInstall694201464/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall694201464/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall694201464/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:19Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall694201464/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall694201464/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall694201464/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall694201464/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:19Z" 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="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall694201464/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall694201464/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:19Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:19Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall694201464/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall694201464/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:19Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall694201464/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall694201464/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall694201464/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall694201464/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback time="2024-01-06T23:39:19Z" level=debug msg="Starting device update." time="2024-01-06T23:39:19Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall449288385/artifact.mender]" time="2024-01-06T23:39:19Z" level=debug msg="Fetching update from file results: [&{0x400010c180}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall449288385/device_type" time="2024-01-06T23:39:19Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:19Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:19Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall449288385/artifact_info file." time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall449288385/artifact_info" time="2024-01-06T23:39:19Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall449288385/artifact_info" time="2024-01-06T23:39:19Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall449288385/device_type" time="2024-01-06T23:39:19Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449288385/modules/test-type Download /tmp/TestStandaloneModuleInstall449288385/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449288385/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall449288385/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:19Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449288385/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall449288385/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449288385/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall449288385/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:19Z" 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="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449288385/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall449288385/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:19Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449288385/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall449288385/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:19Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:19Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449288385/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall449288385/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449288385/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall449288385/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Leave_00 time="2024-01-06T23:39:19Z" level=debug msg="Starting device update." time="2024-01-06T23:39:19Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall609600318/artifact.mender]" time="2024-01-06T23:39:19Z" level=debug msg="Fetching update from file results: [&{0x400010c120}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall609600318/device_type" time="2024-01-06T23:39:19Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:19Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:19Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall609600318/artifact_info file." time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall609600318/artifact_info" time="2024-01-06T23:39:19Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall609600318/artifact_info" time="2024-01-06T23:39:19Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall609600318/device_type" time="2024-01-06T23:39:19Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall609600318/modules/test-type Download /tmp/TestStandaloneModuleInstall609600318/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall609600318/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall609600318/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:19Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall609600318/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall609600318/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall609600318/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall609600318/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:19Z" 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="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall609600318/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall609600318/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:19Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall609600318/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall609600318/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:19Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" time="2024-01-06T23:39:19Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall609600318/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall609600318/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall609600318/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall609600318/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Enter_00 time="2024-01-06T23:39:19Z" level=debug msg="Starting device update." time="2024-01-06T23:39:19Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall070334975/artifact.mender]" time="2024-01-06T23:39:19Z" level=debug msg="Fetching update from file results: [&{0x400022c300}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall070334975/device_type" time="2024-01-06T23:39:19Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:19Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:19Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall070334975/artifact_info file." time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall070334975/artifact_info" time="2024-01-06T23:39:19Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall070334975/artifact_info" time="2024-01-06T23:39:19Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall070334975/device_type" time="2024-01-06T23:39:19Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall070334975/modules/test-type Download /tmp/TestStandaloneModuleInstall070334975/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall070334975/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall070334975/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:19Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall070334975/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall070334975/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:19Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall070334975/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall070334975/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:19Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:19Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall070334975/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall070334975/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:19Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall070334975/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall070334975/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall070334975/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall070334975/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback time="2024-01-06T23:39:19Z" level=debug msg="Starting device update." time="2024-01-06T23:39:19Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall241263700/artifact.mender]" time="2024-01-06T23:39:19Z" level=debug msg="Fetching update from file results: [&{0x4000310180}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall241263700/device_type" time="2024-01-06T23:39:19Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:19Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:19Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall241263700/artifact_info file." time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall241263700/artifact_info" time="2024-01-06T23:39:19Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall241263700/artifact_info" time="2024-01-06T23:39:19Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall241263700/device_type" time="2024-01-06T23:39:19Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall241263700/modules/test-type Download /tmp/TestStandaloneModuleInstall241263700/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall241263700/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall241263700/work/payloads/0000/tree" time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:19Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall241263700/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall241263700/work/payloads/0000/tree" time="2024-01-06T23:39:20Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:20Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall241263700/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall241263700/work/payloads/0000/tree" time="2024-01-06T23:39:20Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:20Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall241263700/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall241263700/work/payloads/0000/tree" time="2024-01-06T23:39:20Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:20Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:20Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall241263700/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall241263700/work/payloads/0000/tree" time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall241263700/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall241263700/work/payloads/0000/tree" time="2024-01-06T23:39:20Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Leave_00 time="2024-01-06T23:39:20Z" level=debug msg="Starting device update." time="2024-01-06T23:39:20Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall106669005/artifact.mender]" time="2024-01-06T23:39:20Z" level=debug msg="Fetching update from file results: [&{0x40001b2180}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall106669005/device_type" time="2024-01-06T23:39:20Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:20Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:20Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:20Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:20Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall106669005/artifact_info file." time="2024-01-06T23:39:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall106669005/artifact_info" time="2024-01-06T23:39:20Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:20Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall106669005/artifact_info" time="2024-01-06T23:39:20Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall106669005/device_type" time="2024-01-06T23:39:20Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:20Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall106669005/modules/test-type Download /tmp/TestStandaloneModuleInstall106669005/work/payloads/0000/tree" time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:20Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall106669005/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall106669005/work/payloads/0000/tree" time="2024-01-06T23:39:20Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:20Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall106669005/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall106669005/work/payloads/0000/tree" time="2024-01-06T23:39:20Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:20Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall106669005/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall106669005/work/payloads/0000/tree" time="2024-01-06T23:39:20Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:20Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall106669005/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall106669005/work/payloads/0000/tree" time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:20Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" time="2024-01-06T23:39:20Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall106669005/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall106669005/work/payloads/0000/tree" time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall106669005/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall106669005/work/payloads/0000/tree" time="2024-01-06T23:39:20Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Hang_in_Download time="2024-01-06T23:39:20Z" level=debug msg="Starting device update." time="2024-01-06T23:39:20Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall059975482/artifact.mender]" time="2024-01-06T23:39:20Z" level=debug msg="Fetching update from file results: [&{0x400055a420}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall059975482/device_type" time="2024-01-06T23:39:20Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:20Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:20Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:20Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:20Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall059975482/artifact_info file." time="2024-01-06T23:39:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall059975482/artifact_info" time="2024-01-06T23:39:20Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:20Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall059975482/artifact_info" time="2024-01-06T23:39:20Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall059975482/device_type" time="2024-01-06T23:39:20Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:20Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall059975482/modules/test-type Download /tmp/TestStandaloneModuleInstall059975482/work/payloads/0000/tree" time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:25Z" level=error msg="Process 3321797 timed out. Sending SIGTERM" time="2024-01-06T23:39:25Z" level=error msg="Download failed: Update module terminated abnormally: signal: terminated" time="2024-01-06T23:39:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:25Z" level=debug msg="Executing script: Download_Error_00" time="2024-01-06T23:39:25Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall059975482/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall059975482/work/payloads/0000/tree" time="2024-01-06T23:39:25Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall059975482/artifact_info file." time="2024-01-06T23:39:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall059975482/artifact_info" time="2024-01-06T23:39:25Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:25Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Hang_in_ArtifactInstall time="2024-01-06T23:39:25Z" level=debug msg="Starting device update." time="2024-01-06T23:39:25Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall614660523/artifact.mender]" time="2024-01-06T23:39:25Z" level=debug msg="Fetching update from file results: [&{0x400034c2a0}], 5632, " Installing Artifact of size 5632... time="2024-01-06T23:39:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall614660523/device_type" time="2024-01-06T23:39:25Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:25Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:25Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:25Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:25Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:25Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:25Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall614660523/artifact_info file." time="2024-01-06T23:39:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall614660523/artifact_info" time="2024-01-06T23:39:25Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:25Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall614660523/artifact_info" time="2024-01-06T23:39:25Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall614660523/device_type" time="2024-01-06T23:39:25Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:25Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:25Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall614660523/modules/test-type Download /tmp/TestStandaloneModuleInstall614660523/work/payloads/0000/tree" time="2024-01-06T23:39:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2024-01-06T23:39:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:25Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:25Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall614660523/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall614660523/work/payloads/0000/tree" time="2024-01-06T23:39:25Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:25Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:25Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:25Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall614660523/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall614660523/work/payloads/0000/tree" time="2024-01-06T23:39:30Z" level=error msg="Process 3323052 timed out. Sending SIGTERM" time="2024-01-06T23:39:30Z" level=error msg="Update module terminated abnormally: signal: terminated" time="2024-01-06T23:39:30Z" level=error msg="Installation failed: Update module terminated abnormally: signal: terminated" time="2024-01-06T23:39:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:30Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:30Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall614660523/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall614660523/work/payloads/0000/tree" time="2024-01-06T23:39:30Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:30Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2024-01-06T23:39:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:30Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:30Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall614660523/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall614660523/work/payloads/0000/tree" time="2024-01-06T23:39:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:30Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:30Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall614660523/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall614660523/work/payloads/0000/tree" time="2024-01-06T23:39:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:30Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:30Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall614660523/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall614660523/work/payloads/0000/tree" time="2024-01-06T23:39:30Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall614660523/artifact_info file." time="2024-01-06T23:39:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall614660523/artifact_info" time="2024-01-06T23:39:30Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:30Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStandaloneModuleInstall (14.12s) --- PASS: TestStandaloneModuleInstall/Normal_install,_no_rollback (0.18s) --- PASS: TestStandaloneModuleInstall/Normal_install (0.13s) --- PASS: TestStandaloneModuleInstall/Normal_commit (0.20s) --- PASS: TestStandaloneModuleInstall/Normal_rollback (0.18s) --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Enter_00 (0.02s) --- PASS: TestStandaloneModuleInstall/Fail_in_Download (0.04s) --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Leave_00 (0.10s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Enter_00 (0.14s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall (0.13s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Leave_00 (0.21s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00 (0.26s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit (0.21s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00 (0.16s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00,_no_rollback (0.19s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit,_no_rollback (0.26s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00,_no_rollback (0.17s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Enter_00 (0.22s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback (0.17s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Leave_00 (0.22s) --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Enter_00 (0.24s) --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback (0.20s) --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Leave_00 (0.19s) --- PASS: TestStandaloneModuleInstall/Hang_in_Download (5.12s) --- PASS: TestStandaloneModuleInstall/Hang_in_ArtifactInstall (5.20s) === RUN TestStandaloneStoreAndRestore time="2024-01-06T23:39:30Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" standalone_test.go:1053: Running test: {Persist ArtifactName 0x400022efc0 []} time="2024-01-06T23:39:30Z" 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 0x400022f000 []} time="2024-01-06T23:39:30Z" 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 0x400022f080 []} time="2024-01-06T23:39:30Z" 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.00s) === RUN TestStateBase --- PASS: TestStateBase (0.00s) === RUN TestStateWait time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=info msg="Wait canceled" time="2024-01-06T23:39:30Z" level=info msg="Forced wake-up from sleep" --- PASS: TestStateWait (0.10s) === RUN TestStateError time="2024-01-06T23:39:30Z" level=info msg="Handling error state, current error: transient error: foo" time="2024-01-06T23:39:30Z" level=info msg="Handling error state, current error: fatal error: general error" --- PASS: TestStateError (0.00s) === RUN TestStateUpdateReportStatus time="2024-01-06T23:39:30Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:30Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:30Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:30Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: report failed" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: fatal error: deployment was aborted" time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:30Z" 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="2024-01-06T23:39:30Z" level=debug msg="Handle authorize state" time="2024-01-06T23:39:30Z" level=debug msg="Handle authorize state" time="2024-01-06T23:39:30Z" level=error msg="Authorize failed: transient error: auth fail temp" time="2024-01-06T23:39:30Z" level=debug msg="Handle authorize state" time="2024-01-06T23:39:30Z" level=error msg="Authorize failed: fatal error: auth error" --- PASS: TestStateAuthorize (0.00s) === RUN TestStateUpdateCommit time="2024-01-06T23:39:30Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:30Z" level=debug msg="Handle update commit state" time="2024-01-06T23:39:30Z" level=debug msg="Committing new artifact name: TestName" time="2024-01-06T23:39:30Z" level=debug msg="Committing new artifact group name: TestGroup" time="2024-01-06T23:39:30Z" level=debug msg="Committing new artifact type-info provides" --- PASS: TestStateUpdateCommit (0.00s) === RUN TestStateInvetoryUpdate time="2024-01-06T23:39:30Z" level=warning msg="Failed to refresh inventory: some err" time="2024-01-06T23:39:30Z" level=debug msg="Inventory refresh complete" time="2024-01-06T23:39:30Z" level=warning msg="Failed to refresh inventory: cannot determine current artifact name" --- PASS: TestStateInvetoryUpdate (0.00s) === RUN TestStateAuthorizeWait time="2024-01-06T23:39:30Z" level=debug msg="Handle authorize wait state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 0s before next authorization attempt" time="2024-01-06T23:39:30Z" level=debug msg="Handle authorize wait state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 99.983719ms before next authorization attempt" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handle authorize wait state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 99.180739ms before next authorization attempt" time="2024-01-06T23:39:30Z" level=info msg="Wait canceled" --- PASS: TestStateAuthorizeWait (0.10s) === RUN TestStateUpdateCheckWait time="2024-01-06T23:39:30Z" level=debug msg="Handle check wait state" time="2024-01-06T23:39:30Z" 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="2024-01-06T23:39:30Z" level=debug msg="Next check: 0001-01-01 00:00:00 +0000 UTC:inventory-update, (2024-01-06 23:39:30.842628463 +0000 UTC m=+177.763584031)" time="2024-01-06T23:39:30Z" level=debug msg="Check wait returned: inventory-update" time="2024-01-06T23:39:30Z" level=debug msg="Handle check wait state" time="2024-01-06T23:39:30Z" level=debug msg="Check wait state; next checks: (update: 0001-01-01 00:00:00.01 +0000 UTC) (inventory: 2024-01-06 23:39:30.862646543 +0000 UTC m=+177.783602111)" time="2024-01-06T23:39:30Z" level=debug msg="Next check: 0001-01-01 00:00:00.01 +0000 UTC:update-check, (2024-01-06 23:39:30.842665823 +0000 UTC m=+177.763621391)" time="2024-01-06T23:39:30Z" level=debug msg="Check wait returned: update-check" time="2024-01-06T23:39:30Z" level=debug msg="Handle check wait state" time="2024-01-06T23:39:30Z" level=debug msg="Check wait state; next checks: (update: 2024-01-06 23:39:30.852680703 +0000 UTC m=+177.773636271) (inventory: 2024-01-06 23:39:30.862646543 +0000 UTC m=+177.783602111)" time="2024-01-06T23:39:30Z" level=debug msg="Next check: 2024-01-06 23:39:30.852680703 +0000 UTC m=+177.773636271:update-check, (2024-01-06 23:39:30.842698903 +0000 UTC m=+177.763654471)" time="2024-01-06T23:39:30Z" level=debug msg="Waiting 9.9818ms for the next state" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handle check wait state" time="2024-01-06T23:39:30Z" level=debug msg="Check wait state; next checks: (update: 2024-01-06 23:39:30.864469411 +0000 UTC m=+177.785424939) (inventory: 2024-01-06 23:39:30.862646543 +0000 UTC m=+177.783602111)" time="2024-01-06T23:39:30Z" level=debug msg="Next check: 2024-01-06 23:39:30.862646543 +0000 UTC m=+177.783602111:inventory-update, (2024-01-06 23:39:30.854523411 +0000 UTC m=+177.775478979)" time="2024-01-06T23:39:30Z" level=debug msg="Waiting 8.123132ms for the next state" time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" time="2024-01-06T23:39:30Z" level=debug msg="Handle check wait state" time="2024-01-06T23:39:30Z" level=debug msg="Check wait state; next checks: (update: 2024-01-06 23:39:30.954469411 +0000 UTC m=+177.875424939) (inventory: 2024-01-06 23:39:30.962646543 +0000 UTC m=+177.883602111)" time="2024-01-06T23:39:30Z" level=debug msg="Next check: 2024-01-06 23:39:30.954469411 +0000 UTC m=+177.875424939:update-check, (2024-01-06 23:39:30.866549481 +0000 UTC m=+177.787505049)" time="2024-01-06T23:39:30Z" level=debug msg="Waiting 87.91989ms for the next state" time="2024-01-06T23:39:30Z" level=info msg="Wait canceled" --- PASS: TestStateUpdateCheckWait (0.02s) === RUN TestStateUpdateCheck time="2024-01-06T23:39:30Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:30Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:30Z" level=error msg="Update check failed: transient error: check failed" time="2024-01-06T23:39:30Z" level=debug msg="Handle update check state" --- PASS: TestStateUpdateCheck (0.00s) === RUN TestUpdateCheckSameImage time="2024-01-06T23:39:30Z" level=debug msg="Handle update check state" --- PASS: TestUpdateCheckSameImage (0.00s) === RUN TestStateUpdateFetch time="2024-01-06T23:39:30Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:30Z" level=error msg="Could not write state data to persistent storage: read only" time="2024-01-06T23:39:30Z" level=error msg="fatal error: read only" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" 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="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 1m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 1m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 1m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 2m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 2m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 2m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 4m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 4m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 4m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 5m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 5m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 5m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" --- PASS: TestStateUpdateFetchRetry (0.00s) === RUN TestStateUpdateStore time="2024-01-06T23:39:30Z" level=error msg="fatal error: test failure" time="2024-01-06T23:39:30Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2024-01-06T23:39:30Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" --- PASS: TestStateUpdateStore (0.04s) === RUN TestUpdateStoreDependencies time="2024-01-06T23:39:30Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2024-01-06T23:39:30Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" time="2024-01-06T23:39:30Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OtherArtifact] != )." time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2024-01-06T23:39:30Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" time="2024-01-06T23:39:30Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OtherArtifact] != NonExistingArtie)." time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2024-01-06T23:39:30Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" time="2024-01-06T23:39:30Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != )." time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2024-01-06T23:39:30Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" time="2024-01-06T23:39:30Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != WrongGroup)." time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2024-01-06T23:39:30Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" --- PASS: TestUpdateStoreDependencies (0.06s) === RUN TestStateWrongArtifactNameFromServer time="2024-01-06T23:39:30Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2024-01-06T23:39:30Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" time="2024-01-06T23:39:30Z" level=error msg="Artifact name in artifact is not what the server claims (TestName != WrongName)." --- PASS: TestStateWrongArtifactNameFromServer (0.03s) === RUN TestStateUpdateInstallRetry time="2024-01-06T23:39:30Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" 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="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 1m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" 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="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 1m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" 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="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 1m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" 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="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 2m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" 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="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 2m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" 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="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 2m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" 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="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 4m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" 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="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 4m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" 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="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 4m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" 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="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 5m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" 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="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 5m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" 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="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" time="2024-01-06T23:39:30Z" level=debug msg="Wait 5m0s before next fetch/install attempt" time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:30Z" 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="2024-01-06T23:39:30Z" 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="2024-01-06T23:39:30Z" level=error msg="Handling report error state with status: success" time="2024-01-06T23:39:30Z" level=error msg="Handling report error state with status: failure" time="2024-01-06T23:39:30Z" level=error msg="Error while performing update: failure ({{{ } [] [] map[]} foobar [] 0 false})" time="2024-01-06T23:39:30Z" 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="2024-01-06T23:39:31Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39: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]:51926->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:51926->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:47056->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:47056->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:31Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:31Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules100241650/device_type" time="2024-01-06T23:39:31Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:31Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:31Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:31Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules100241650/artifact_info file." time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules100241650/artifact_info" time="2024-01-06T23:39:31Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules100241650/artifact_info" time="2024-01-06T23:39:31Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules100241650/device_type" time="2024-01-06T23:39:31Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules100241650/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules100241650/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules100241650/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules100241650/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:31Z" level=debug msg="Module does not support rollback" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39: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]:56656->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:56656->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:48422->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:48422->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39: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]:55939->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:55939->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:36348->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:36348->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules100241650/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules100241650/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules100241650/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules100241650/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:31Z" level=debug msg="Module does not need reboot" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39: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]:59673->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:59673->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:45989->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:45989->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39: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]:47250->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:47250->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:60405->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:60405->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=debug msg="Handle update commit state" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules100241650/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules100241650/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=debug msg="Committing new artifact name: artifact-name" time="2024-01-06T23:39:31Z" level=debug msg="Committing new artifact group name: " time="2024-01-06T23:39:31Z" level=debug msg="Committing new artifact type-info provides" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules100241650/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules100241650/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2024-01-06T23:39:31Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:31Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:31Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.16s) PASS === RUN TestStateTransitionsWithUpdateModules/Normal_install,_no_rollback state_test.go:4717: Normal install, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:31Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39: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]:45049->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:45049->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:50738->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:50738->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:31Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:31Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules632641987/device_type" time="2024-01-06T23:39:31Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:31Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:31Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:31Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules632641987/artifact_info file." time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules632641987/artifact_info" time="2024-01-06T23:39:31Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules632641987/artifact_info" time="2024-01-06T23:39:31Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules632641987/device_type" time="2024-01-06T23:39:31Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules632641987/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules632641987/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules632641987/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules632641987/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:31Z" level=debug msg="Module does not support rollback" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39: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]:38910->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:38910->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:47951->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:47951->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39: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]:34166->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:34166->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:50282->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:50282->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules632641987/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules632641987/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules632641987/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules632641987/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:31Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39: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]:41838->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:41838->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:45690->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:45690->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39: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]:36413->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:36413->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:53978->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:53978->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:31Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules632641987/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules632641987/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules632641987/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules632641987/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:31Z" level=debug msg="Handling state after reboot" time="2024-01-06T23:39:31Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39: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]:50534->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:50534->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:35303->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:35303->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39: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]:36862->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:36862->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:35156->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:35156->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=debug msg="Handle update commit state" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules632641987/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules632641987/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=debug msg="Committing new artifact name: artifact-name" time="2024-01-06T23:39:31Z" level=debug msg="Committing new artifact group name: " time="2024-01-06T23:39:31Z" level=debug msg="Committing new artifact type-info provides" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules632641987/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules632641987/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2024-01-06T23:39:31Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:31Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:31Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.28s) PASS === RUN TestStateTransitionsWithUpdateModules/Normal_install state_test.go:4717: Normal install state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:31Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39: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]:58152->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:58152->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:42549->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:42549->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:31Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:31Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules212235624/device_type" time="2024-01-06T23:39:31Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:31Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:31Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:31Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules212235624/artifact_info file." time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules212235624/artifact_info" time="2024-01-06T23:39:31Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules212235624/artifact_info" time="2024-01-06T23:39:31Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules212235624/device_type" time="2024-01-06T23:39:31Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules212235624/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules212235624/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules212235624/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules212235624/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:31Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39: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]:53328->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:53328->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:52770->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:52770->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39: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]:58318->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:58318->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:47443->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:47443->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules212235624/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules212235624/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules212235624/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules212235624/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:31Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39: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]:41999->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:41999->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:36907->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:36907->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39: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]:48219->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:48219->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:50550->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:50550->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:31Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules212235624/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules212235624/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules212235624/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules212235624/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:31Z" level=debug msg="Handling state after reboot" time="2024-01-06T23:39:31Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39: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]:60368->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:60368->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:55434->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:55434->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39: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]:36465->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:36465->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:36276->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:36276->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=debug msg="Handle update commit state" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules212235624/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules212235624/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=debug msg="Committing new artifact name: artifact-name" time="2024-01-06T23:39:31Z" level=debug msg="Committing new artifact group name: " time="2024-01-06T23:39:31Z" level=debug msg="Committing new artifact type-info provides" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules212235624/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules212235624/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2024-01-06T23:39:31Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:31Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:31Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.26s) 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="2024-01-06T23:39:31Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39: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]:35077->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:35077->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:46639->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:46639->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:31Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:31Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules189089905/device_type" time="2024-01-06T23:39:31Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:31Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:31Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:31Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules189089905/artifact_info file." time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules189089905/artifact_info" time="2024-01-06T23:39:31Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules189089905/artifact_info" time="2024-01-06T23:39:31Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules189089905/device_type" time="2024-01-06T23:39:31Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:31Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules189089905/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules189089905/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:31Z" level=error msg="Artifact install failed: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" time="2024-01-06T23:39:31Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: Download_Error_00" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules189089905/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules189089905/work/payloads/0000/tree" time="2024-01-06T23:39:31Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:31Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:31Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:31Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules189089905/artifact_info file." time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules189089905/artifact_info" time="2024-01-06T23:39:31Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.08s) 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="2024-01-06T23:39:31Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:31Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39: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]:48215->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:48215->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:32850->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:32850->[::1]:53: read: connection refused" time="2024-01-06T23:39:31Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:31Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:31Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:31Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules411980462/device_type" time="2024-01-06T23:39:31Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:31Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules411980462/artifact_info file." time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules411980462/artifact_info" time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules411980462/artifact_info" time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules411980462/device_type" time="2024-01-06T23:39:32Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411980462/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules411980462/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 2 (*app.updateCleanupState) time="2024-01-06T23:39:32Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:32Z" level=info msg="Handling loaded state: update-store" time="2024-01-06T23:39:32Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:32Z" level=error msg="Mender shut down in state: update-store" time="2024-01-06T23:39:32Z" level=info msg="State transition: init [none] -> cleanup [Error]" time="2024-01-06T23:39:32Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411980462/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules411980462/work/payloads/0000/tree" time="2024-01-06T23:39:32Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:32Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:32Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules411980462/artifact_info file." time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules411980462/artifact_info" time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.00s) 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="2024-01-06T23:39:32Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52576->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52576->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52263->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52263->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:32Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:32Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules289529903/device_type" time="2024-01-06T23:39:32Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:32Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules289529903/artifact_info file." time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules289529903/artifact_info" time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules289529903/artifact_info" time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules289529903/device_type" time="2024-01-06T23:39:32Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289529903/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules289529903/work/payloads/0000/tree" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289529903/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules289529903/work/payloads/0000/tree" time="2024-01-06T23:39:32Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:32Z" level=debug msg="Module does not support rollback" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51970->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51970->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58535->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58535->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60744->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60744->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41483->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41483->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289529903/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules289529903/work/payloads/0000/tree" time="2024-01-06T23:39:32Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:32Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:32Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:32Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60017->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60017->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52261->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52261->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59787->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59787->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54031->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54031->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289529903/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules289529903/work/payloads/0000/tree" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289529903/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules289529903/work/payloads/0000/tree" time="2024-01-06T23:39:32Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:32Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:32Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:32Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.19s) 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="2024-01-06T23:39:32Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47705->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47705->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55911->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55911->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:32Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:32Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules742681668/device_type" time="2024-01-06T23:39:32Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:32Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules742681668/artifact_info file." time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules742681668/artifact_info" time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules742681668/artifact_info" time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules742681668/device_type" time="2024-01-06T23:39:32Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules742681668/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules742681668/work/payloads/0000/tree" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules742681668/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules742681668/work/payloads/0000/tree" time="2024-01-06T23:39:32Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:32Z" level=debug msg="Module does not support rollback" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44675->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44675->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55645->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55645->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38837->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38837->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53979->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53979->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules742681668/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules742681668/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="2024-01-06T23:39:32Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:32Z" level=info msg="Handling loaded state: update-install" time="2024-01-06T23:39:32Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:32Z" level=error msg="Mender shut down in state: update-install" time="2024-01-06T23:39:32Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2024-01-06T23:39:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:32Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48345->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48345->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43658->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43658->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules742681668/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules742681668/work/payloads/0000/tree" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules742681668/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules742681668/work/payloads/0000/tree" time="2024-01-06T23:39:32Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:32Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:32Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:32Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.04s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall state_test.go:4717: Error in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:32Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54947->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54947->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45600->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45600->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:32Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:32Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules638127741/device_type" time="2024-01-06T23:39:32Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:32Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules638127741/artifact_info file." time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules638127741/artifact_info" time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules638127741/artifact_info" time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules638127741/device_type" time="2024-01-06T23:39:32Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules638127741/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules638127741/work/payloads/0000/tree" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules638127741/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules638127741/work/payloads/0000/tree" time="2024-01-06T23:39:32Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:32Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54211->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54211->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42639->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42639->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53617->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53617->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56271->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56271->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules638127741/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules638127741/work/payloads/0000/tree" time="2024-01-06T23:39:32Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:32Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:32Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46624->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46624->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59029->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59029->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52098->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52098->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46136->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46136->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=info msg="Performing rollback" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules638127741/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules638127741/work/payloads/0000/tree" time="2024-01-06T23:39:32Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33497->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33497->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47851->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47851->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54835->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54835->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36515->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36515->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules638127741/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules638127741/work/payloads/0000/tree" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules638127741/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules638127741/work/payloads/0000/tree" time="2024-01-06T23:39:32Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:32Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:32Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules638127741/artifact_info file." time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules638127741/artifact_info" time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.26s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall state_test.go:4717: Killed in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:32Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35096->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35096->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41664->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41664->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:32Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:32Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules453629866/device_type" time="2024-01-06T23:39:32Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:32Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules453629866/artifact_info file." time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules453629866/artifact_info" time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules453629866/artifact_info" time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules453629866/device_type" time="2024-01-06T23:39:32Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:32Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453629866/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules453629866/work/payloads/0000/tree" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453629866/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules453629866/work/payloads/0000/tree" time="2024-01-06T23:39:32Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:32Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:32Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46953->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46953->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53622->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53622->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53479->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53479->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39328->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39328->[::1]:53: read: connection refused" time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453629866/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules453629866/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="2024-01-06T23:39:33Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:33Z" level=info msg="Handling loaded state: update-install" time="2024-01-06T23:39:33Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:33Z" level=error msg="Mender shut down in state: update-install" time="2024-01-06T23:39:33Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:33Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53723->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53723->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54470->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54470->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=info msg="Performing rollback" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453629866/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules453629866/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57010->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57010->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46039->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46039->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51234->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51234->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47967->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47967->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453629866/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules453629866/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453629866/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules453629866/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:33Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:33Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:33Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules453629866/artifact_info file." time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules453629866/artifact_info" time="2024-01-06T23:39:33Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.05s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot state_test.go:4717: Error in ArtifactReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:33Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:33Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49346->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49346->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53043->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53043->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:33Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:33Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:33Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules415922907/device_type" time="2024-01-06T23:39:33Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:33Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:33Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:33Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules415922907/artifact_info file." time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules415922907/artifact_info" time="2024-01-06T23:39:33Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules415922907/artifact_info" time="2024-01-06T23:39:33Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules415922907/device_type" time="2024-01-06T23:39:33Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415922907/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules415922907/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415922907/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules415922907/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:33Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:33Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:33Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50909->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50909->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50727->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50727->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34938->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34938->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45577->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45577->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415922907/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules415922907/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415922907/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules415922907/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:33Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:33Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34104->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34104->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40171->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40171->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36275->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36275->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36281->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36281->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:33Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415922907/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules415922907/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:33Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:33Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:33Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51048->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51048->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47792->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47792->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37261->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37261->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59431->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59431->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=info msg="Performing rollback" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415922907/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules415922907/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:33Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38976->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38976->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57529->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57529->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41284->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41284->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60912->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60912->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415922907/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules415922907/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415922907/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules415922907/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:33Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:33Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54028->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54028->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43071->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43071->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44564->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44564->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58776->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58776->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415922907/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules415922907/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415922907/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules415922907/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:33Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:33Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:33Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules415922907/artifact_info file." time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules415922907/artifact_info" time="2024-01-06T23:39:33Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.24s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot state_test.go:4717: Killed in ArtifactReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:33Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:33Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36377->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36377->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37251->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37251->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:33Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:33Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:33Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules021417568/device_type" time="2024-01-06T23:39:33Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:33Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:33Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:33Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules021417568/artifact_info file." time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules021417568/artifact_info" time="2024-01-06T23:39:33Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules021417568/artifact_info" time="2024-01-06T23:39:33Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules021417568/device_type" time="2024-01-06T23:39:33Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021417568/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules021417568/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021417568/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules021417568/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:33Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:33Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:33Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56301->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56301->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60512->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60512->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59125->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59125->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44040->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44040->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021417568/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules021417568/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021417568/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules021417568/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:33Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:33Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38452->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38452->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56829->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56829->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33385->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33385->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44910->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44910->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:33Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021417568/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules021417568/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="2024-01-06T23:39:33Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:33Z" level=info msg="Handling loaded state: reboot" time="2024-01-06T23:39:33Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:33Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021417568/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules021417568/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:33Z" level=debug msg="Handling state after reboot" time="2024-01-06T23:39:33Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33448->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33448->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55500->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55500->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58252->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58252->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57275->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57275->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="Handle update commit state" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021417568/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules021417568/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=debug msg="Committing new artifact name: artifact-name" time="2024-01-06T23:39:33Z" level=debug msg="Committing new artifact group name: " time="2024-01-06T23:39:33Z" level=debug msg="Committing new artifact type-info provides" time="2024-01-06T23:39:33Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2024-01-06T23:39:33Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2024-01-06T23:39:33Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021417568/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules021417568/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2024-01-06T23:39:33Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:33Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:33Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyReboot state_test.go:4717: Error in ArtifactVerifyReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:33Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:33Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52008->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52008->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41348->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41348->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:33Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:33Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:33Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules611215049/device_type" time="2024-01-06T23:39:33Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:33Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:33Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:33Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules611215049/artifact_info file." time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules611215049/artifact_info" time="2024-01-06T23:39:33Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules611215049/artifact_info" time="2024-01-06T23:39:33Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules611215049/device_type" time="2024-01-06T23:39:33Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:33Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:33Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:33Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:33Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36760->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36760->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50462->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50462->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48961->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48961->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43893->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43893->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:33Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:33Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42208->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42208->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46577->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46577->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39258->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39258->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56241->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56241->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:33Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:33Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:33Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:33Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54718->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54718->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47447->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47447->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60793->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60793->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53048->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53048->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=info msg="Performing rollback" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:33Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40427->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40427->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42777->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42777->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57469->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57469->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51752->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51752->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" time="2024-01-06T23:39:33Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:33Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:33Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59972->[::1]:53: read: connection refused" time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59972->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45575->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45575->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59790->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59790->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48246->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48246->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:34Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:34Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules611215049/artifact_info file." time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules611215049/artifact_info" time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.29s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyReboot state_test.go:4717: Killed in ArtifactVerifyReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:34Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33027->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33027->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60386->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60386->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:34Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:34Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules207856614/device_type" time="2024-01-06T23:39:34Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:34Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:34Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules207856614/artifact_info file." time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules207856614/artifact_info" time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules207856614/artifact_info" time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules207856614/device_type" time="2024-01-06T23:39:34Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:34Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56344->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56344->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59488->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59488->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48948->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48948->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39208->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39208->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:34Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37102->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37102->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49382->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49382->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53299->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53299->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59777->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59777->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:34Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules207856614/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="2024-01-06T23:39:34Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:34Z" level=info msg="Handling loaded state: after-reboot" time="2024-01-06T23:39:34Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:34Z" level=error msg="Mender shut down in state: after-reboot" time="2024-01-06T23:39:34Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:34Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47811->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47811->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34388->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34388->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=info msg="Performing rollback" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:34Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34359->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34359->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50106->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50106->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38602->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38602->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51710->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51710->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:34Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:34Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35562->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35562->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41570->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41570->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50693->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50693->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38814->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38814->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:34Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:34Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules207856614/artifact_info file." time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules207856614/artifact_info" time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.11s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback state_test.go:4717: Error in ArtifactRollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:34Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53411->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53411->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48973->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48973->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:34Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:34Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules804780487/device_type" time="2024-01-06T23:39:34Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:34Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:34Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules804780487/artifact_info file." time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules804780487/artifact_info" time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules804780487/artifact_info" time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules804780487/device_type" time="2024-01-06T23:39:34Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804780487/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules804780487/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804780487/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules804780487/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:34Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38062->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38062->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48063->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48063->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59757->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59757->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60292->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60292->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804780487/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules804780487/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804780487/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules804780487/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:34Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56704->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56704->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33207->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33207->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38094->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38094->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39755->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39755->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:34Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804780487/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules804780487/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804780487/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules804780487/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:34Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:34Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:34Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38771->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38771->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47801->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47801->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52311->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52311->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41710->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41710->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=info msg="Performing rollback" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804780487/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules804780487/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:34Z" level=error msg="Rollback failed: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:34Z" level=error msg="fatal error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:34Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2024-01-06T23:39:34Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60888->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60888->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54150->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54150->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53698->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53698->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34627->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34627->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804780487/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules804780487/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804780487/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules804780487/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:34Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:34Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:34Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.25s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback state_test.go:4717: Killed in ArtifactRollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:34Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39377->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39377->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47817->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47817->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:34Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:34Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules029652412/device_type" time="2024-01-06T23:39:34Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:34Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:34Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules029652412/artifact_info file." time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules029652412/artifact_info" time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules029652412/artifact_info" time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules029652412/device_type" time="2024-01-06T23:39:34Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:34Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44969->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44969->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36138->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36138->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44094->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44094->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56980->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56980->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:34Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34627->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34627->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50424->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50424->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40529->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40529->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41045->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41045->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:34Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:34Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:34Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:34Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48602->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48602->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48959->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48959->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45078->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45078->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54172->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54172->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=info msg="Performing rollback" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules029652412/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="2024-01-06T23:39:34Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:34Z" level=info msg="Handling loaded state: rollback" time="2024-01-06T23:39:34Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:34Z" level=error msg="Mender shut down in state: rollback" time="2024-01-06T23:39:34Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:34Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36005->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36005->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40233->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40233->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=info msg="Performing rollback" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:34Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55692->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55692->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54106->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54106->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50990->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50990->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50589->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50589->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:34Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:34Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54092->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54092->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32787->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32787->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37242->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37242->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40533->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40533->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:34Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:34Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules029652412/artifact_info file." time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules029652412/artifact_info" time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:34Z" 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="2024-01-06T23:39:34Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:34Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53933->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53933->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36902->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36902->[::1]:53: read: connection refused" time="2024-01-06T23:39:34Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:34Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:34Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:34Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules706213717/device_type" time="2024-01-06T23:39:34Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:34Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:34Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules706213717/artifact_info file." time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules706213717/artifact_info" time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules706213717/artifact_info" time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules706213717/device_type" time="2024-01-06T23:39:34Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:34Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:35Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:35Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:35Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38449->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38449->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55768->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55768->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51796->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51796->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59376->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59376->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:35Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:35Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56633->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56633->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38315->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38315->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58371->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58371->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54133->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54133->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:35Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:35Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:35Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:35Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44700->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44700->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45569->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45569->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59855->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59855->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37906->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37906->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=info msg="Performing rollback" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:35Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38023->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38023->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43488->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43488->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58991->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58991->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56946->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56946->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:35Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:35Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:35Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:35Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37776->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37776->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33670->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33670->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50445->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50445->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33313->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33313->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:35Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:35Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:35Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules706213717/artifact_info file." time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules706213717/artifact_info" time="2024-01-06T23:39:35Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:35Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.29s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot state_test.go:4717: Killed in ArtifactRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:35Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:35Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56400->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56400->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34154->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34154->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:35Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:35Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:35Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules443010402/device_type" time="2024-01-06T23:39:35Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:35Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:35Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:35Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules443010402/artifact_info file." time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules443010402/artifact_info" time="2024-01-06T23:39:35Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:35Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules443010402/artifact_info" time="2024-01-06T23:39:35Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules443010402/device_type" time="2024-01-06T23:39:35Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:35Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:35Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:35Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:35Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54119->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54119->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49212->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49212->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44646->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44646->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54563->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54563->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:35Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:35Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58899->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58899->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49206->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49206->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53711->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53711->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53527->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53527->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:35Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:35Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:35Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:35Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45458->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45458->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49007->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49007->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59470->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59470->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49212->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49212->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=info msg="Performing rollback" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:35Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35972->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35972->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48938->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48938->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35857->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35857->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33057->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33057->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules443010402/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="2024-01-06T23:39:35Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:35Z" level=info msg="Handling loaded state: rollback-reboot" time="2024-01-06T23:39:35Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:35Z" level=info msg="Mender shut down in state: rollback-reboot" time="2024-01-06T23:39:35Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:35Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:35Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:35Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57967->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57967->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37056->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37056->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52390->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52390->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49629->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49629->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:35Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:35Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:35Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules443010402/artifact_info file." time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules443010402/artifact_info" time="2024-01-06T23:39:35Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:35Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.07s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyRollbackReboot state_test.go:4717: Error in ArtifactVerifyRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:35Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:35Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57218->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57218->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46308->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46308->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:35Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:35Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:35Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules066118899/device_type" time="2024-01-06T23:39:35Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:35Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:35Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:35Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules066118899/artifact_info file." time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules066118899/artifact_info" time="2024-01-06T23:39:35Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:35Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules066118899/artifact_info" time="2024-01-06T23:39:35Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules066118899/device_type" time="2024-01-06T23:39:35Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:35Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:35Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:35Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:35Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39738->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39738->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46212->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46212->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40068->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40068->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39031->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39031->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:35Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:35Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53668->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53668->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55970->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55970->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38625->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38625->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33634->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33634->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:35Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:35Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:35Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:35Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39781->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39781->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60175->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60175->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35207->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35207->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54030->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54030->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=info msg="Performing rollback" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:35Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38282->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38282->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40813->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40813->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34521->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34521->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33687->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33687->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:35Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:35Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59653->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59653->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55444->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55444->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52560->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52560->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59616->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59616->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:35Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:35Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59731->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59731->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39197->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39197->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43180->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43180->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49385->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49385->[::1]:53: read: connection refused" time="2024-01-06T23:39:35Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" time="2024-01-06T23:39:35Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:35Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:35Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:35Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:35Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules066118899/artifact_info file." time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules066118899/artifact_info" time="2024-01-06T23:39:35Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:35Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.37s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyRollbackReboot state_test.go:4717: Killed in ArtifactVerifyRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:36Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:36Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39: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]:49589->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:49589->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:59707->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:59707->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:36Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:36Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:36Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules587220568/device_type" time="2024-01-06T23:39:36Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:36Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:36Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:36Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules587220568/artifact_info file." time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules587220568/artifact_info" time="2024-01-06T23:39:36Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules587220568/artifact_info" time="2024-01-06T23:39:36Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules587220568/device_type" time="2024-01-06T23:39:36Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:36Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:36Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:36Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39: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]:39025->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:39025->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:58586->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:58586->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39: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]:40486->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:40486->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:39547->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:39547->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:36Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:36Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39: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]:33805->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:33805->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:58157->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:58157->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39: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]:55043->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:55043->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:45865->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:45865->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:36Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:36Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:36Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:36Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39: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]:49320->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:49320->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:47826->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:47826->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39: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]:46124->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:46124->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:44963->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:44963->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=info msg="Performing rollback" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:36Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39: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]:53109->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:53109->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:32977->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:32977->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39: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]:36739->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:36739->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:49235->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:49235->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules587220568/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="2024-01-06T23:39:36Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:36Z" level=info msg="Handling loaded state: verify-rollback-reboot" time="2024-01-06T23:39:36Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:36Z" level=error msg="Mender shut down in state: verify-rollback-reboot" time="2024-01-06T23:39:36Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:36Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:36Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:36Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39: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]:56015->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:56015->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:51297->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:51297->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:47630->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:47630->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:55106->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:55106->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:36Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:36Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:36Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules587220568/artifact_info file." time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules587220568/artifact_info" time="2024-01-06T23:39:36Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.05s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure state_test.go:4717: Error in ArtifactFailure state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:36Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:36Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39: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]:58132->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:58132->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:52865->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:52865->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:36Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:36Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:36Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules415530017/device_type" time="2024-01-06T23:39:36Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:36Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:36Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:36Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules415530017/artifact_info file." time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules415530017/artifact_info" time="2024-01-06T23:39:36Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules415530017/artifact_info" time="2024-01-06T23:39:36Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules415530017/device_type" time="2024-01-06T23:39:36Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415530017/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules415530017/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415530017/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules415530017/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:36Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:36Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:36Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39: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]:42012->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:42012->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:54093->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:54093->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39: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]:40872->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:40872->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:52067->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:52067->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415530017/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules415530017/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:36Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:36Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:36Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2024-01-06T23:39: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]:57739->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:57739->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:36501->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:36501->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39: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]:45698->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:45698->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:40059->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:40059->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=info msg="Performing rollback" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415530017/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules415530017/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39: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]:33005->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:33005->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:40978->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:40978->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:43362->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:43362->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:49318->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:49318->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415530017/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules415530017/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:36Z" level=error msg="ArtifactFailure failed: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:36Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415530017/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules415530017/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:36Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:36Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:36Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules415530017/artifact_info file." time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules415530017/artifact_info" time="2024-01-06T23:39:36Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.20s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure state_test.go:4717: Killed in ArtifactFailure state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:36Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:36Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39: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]:48619->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:48619->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:49440->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:49440->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:36Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:36Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:36Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules714809886/device_type" time="2024-01-06T23:39:36Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:36Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:36Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:36Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules714809886/artifact_info file." time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules714809886/artifact_info" time="2024-01-06T23:39:36Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules714809886/artifact_info" time="2024-01-06T23:39:36Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules714809886/device_type" time="2024-01-06T23:39:36Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:36Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714809886/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules714809886/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714809886/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules714809886/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:36Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:36Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:36Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39: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]:36312->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:36312->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:56137->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:56137->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39: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]:41541->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:41541->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:40031->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:40031->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714809886/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules714809886/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:36Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:36Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:36Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2024-01-06T23:39: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]:50551->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:50551->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:59062->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:59062->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39: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]:50628->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:50628->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:45988->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:45988->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=info msg="Performing rollback" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714809886/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules714809886/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39: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]:42169->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:42169->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:34069->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:34069->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:53779->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:53779->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:33372->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:33372->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714809886/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules714809886/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="2024-01-06T23:39:36Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:36Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:36Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:36Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:36Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:36Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:43218->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:43218->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:43012->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:43012->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714809886/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules714809886/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714809886/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules714809886/work/payloads/0000/tree" time="2024-01-06T23:39:36Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:36Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:36Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:36Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules714809886/artifact_info file." time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules714809886/artifact_info" time="2024-01-06T23:39:36Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.05s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_Cleanup state_test.go:4717: Error in Cleanup state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:36Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:36Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:36Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39: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]:47026->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:47026->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:41815->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:41815->[::1]:53: read: connection refused" time="2024-01-06T23:39:36Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:36Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:36Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:36Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules008555615/device_type" time="2024-01-06T23:39:36Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:36Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:37Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:37Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules008555615/artifact_info file." time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules008555615/artifact_info" time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules008555615/artifact_info" time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules008555615/device_type" time="2024-01-06T23:39:37Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:37Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:37Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:37Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59940->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59940->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49124->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49124->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58905->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58905->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37336->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37336->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:37Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:37Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50896->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50896->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37254->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37254->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52345->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52345->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60140->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60140->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:37Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:37Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:37Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:37Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47737->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47737->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49467->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49467->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41897->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41897->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37998->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37998->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=info msg="Performing rollback" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:37Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37937->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37937->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58719->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58719->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45333->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45333->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56499->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56499->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:37Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:37Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36363->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36363->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50999->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50999->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60702->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60702->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59011->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59011->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:37Z" level=error msg="Cleanup failed: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:37Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:37Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:37Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:37Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules008555615/artifact_info file." time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules008555615/artifact_info" time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.29s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_Cleanup state_test.go:4717: Killed in Cleanup state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:37Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:37Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43584->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43584->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53671->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53671->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:37Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:37Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:37Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules336860212/device_type" time="2024-01-06T23:39:37Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:37Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:37Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:37Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules336860212/artifact_info file." time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules336860212/artifact_info" time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules336860212/artifact_info" time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules336860212/device_type" time="2024-01-06T23:39:37Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:37Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:37Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:37Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38618->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38618->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41905->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41905->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38412->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38412->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50323->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50323->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:37Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:37Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37363->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37363->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34661->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34661->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49105->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49105->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47584->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47584->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:37Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:37Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:37Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:37Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36131->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36131->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55711->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55711->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52015->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52015->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46625->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46625->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=info msg="Performing rollback" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:37Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56555->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56555->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55870->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55870->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51717->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51717->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35155->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35155->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:37Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:37Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58754->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58754->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35475->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35475->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58761->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58761->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38666->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38666->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules336860212/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="2024-01-06T23:39:37Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:37Z" level=info msg="Handling loaded state: cleanup" time="2024-01-06T23:39:37Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:37Z" level=error msg="Mender shut down in state: cleanup" time="2024-01-06T23:39:37Z" level=info msg="State transition: init [none] -> cleanup [Error]" time="2024-01-06T23:39:37Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:37Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:37Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:37Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules336860212/artifact_info file." time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules336860212/artifact_info" time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:37Z" 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="2024-01-06T23:39:37Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:37Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54088->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54088->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57163->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57163->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:37Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:37Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:37Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules192355117/device_type" time="2024-01-06T23:39:37Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:37Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:37Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:37Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules192355117/artifact_info file." time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules192355117/artifact_info" time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules192355117/artifact_info" time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules192355117/device_type" time="2024-01-06T23:39:37Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:37Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:37Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:37Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54160->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54160->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34519->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34519->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51506->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51506->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40551->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40551->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:37Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:37Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57875->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57875->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52344->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52344->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38973->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38973->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55678->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55678->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:37Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:37Z" level=debug msg="Handling state after reboot" time="2024-01-06T23:39:37Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56572->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56572->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39867->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39867->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57155->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57155->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53751->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53751->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="Handle update commit state" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:37Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:37Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:37Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52474->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52474->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60819->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60819->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37440->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37440->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47719->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47719->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=info msg="Performing rollback" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:37Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48574->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48574->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36981->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36981->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42167->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42167->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50910->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50910->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:37Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:37Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49658->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49658->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40226->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40226->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39023->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39023->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49712->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49712->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" time="2024-01-06T23:39:37Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:37Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:37Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:37Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules192355117/artifact_info file." time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules192355117/artifact_info" time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.28s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit state_test.go:4717: Killed in ArtifactCommit state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:37Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:37Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:37Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40601->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40601->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51352->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51352->[::1]:53: read: connection refused" time="2024-01-06T23:39:37Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:37Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:37Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:37Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278197274/device_type" time="2024-01-06T23:39:37Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:37Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:37Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:37Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules278197274/artifact_info file." time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278197274/artifact_info" time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278197274/artifact_info" time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278197274/device_type" time="2024-01-06T23:39:37Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:38Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38024->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38024->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60046->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60046->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58557->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58557->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39299->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39299->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:38Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60273->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60273->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43056->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43056->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50831->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50831->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58064->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58064->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:38Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:38Z" level=debug msg="Handling state after reboot" time="2024-01-06T23:39:38Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58588->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58588->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34309->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34309->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43317->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43317->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46341->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46341->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="Handle update commit state" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules278197274/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="2024-01-06T23:39:38Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:38Z" level=info msg="Handling loaded state: update-commit" time="2024-01-06T23:39:38Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:38Z" level=error msg="Mender shut down in state: update-commit" time="2024-01-06T23:39:38Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:38Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36976->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36976->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55629->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55629->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=info msg="Performing rollback" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:38Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57582->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57582->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60602->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60602->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53443->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53443->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37074->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37074->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:38Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:38Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44745->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44745->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38790->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38790->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56125->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56125->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47645->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47645->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:38Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:38Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules278197274/artifact_info file." time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278197274/artifact_info" time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.09s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit,_no_reboot state_test.go:4717: Error in ArtifactCommit, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:38Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37516->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37516->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52035->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52035->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:38Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:38Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules123753995/device_type" time="2024-01-06T23:39:38Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:38Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:38Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules123753995/artifact_info file." time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules123753995/artifact_info" time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules123753995/artifact_info" time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules123753995/device_type" time="2024-01-06T23:39:38Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules123753995/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules123753995/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules123753995/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules123753995/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:38Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49056->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49056->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50559->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50559->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43190->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43190->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59285->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59285->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules123753995/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules123753995/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules123753995/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules123753995/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:38Z" level=debug msg="Module does not need reboot" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52348->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52348->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50545->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50545->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52520->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52520->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42434->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42434->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="Handle update commit state" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules123753995/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules123753995/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:38Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:38Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35116->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35116->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56970->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56970->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49418->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49418->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35416->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35416->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=info msg="Performing rollback" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules123753995/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules123753995/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46510->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46510->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47866->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47866->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33710->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33710->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34803->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34803->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules123753995/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules123753995/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules123753995/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules123753995/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:38Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:38Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules123753995/artifact_info file." time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules123753995/artifact_info" time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.25s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit,_no_reboot state_test.go:4717: Killed in ArtifactCommit, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:38Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52692->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52692->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48420->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48420->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:38Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:38Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules999168848/device_type" time="2024-01-06T23:39:38Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:38Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:38Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules999168848/artifact_info file." time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules999168848/artifact_info" time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules999168848/artifact_info" time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules999168848/device_type" time="2024-01-06T23:39:38Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules999168848/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules999168848/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules999168848/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules999168848/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:38Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48602->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48602->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44973->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44973->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60899->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60899->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51813->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51813->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules999168848/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules999168848/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules999168848/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules999168848/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:38Z" level=debug msg="Module does not need reboot" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58958->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58958->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52019->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52019->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40916->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40916->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39307->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39307->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="Handle update commit state" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules999168848/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules999168848/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="2024-01-06T23:39:38Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:38Z" level=info msg="Handling loaded state: update-commit" time="2024-01-06T23:39:38Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:38Z" level=error msg="Mender shut down in state: update-commit" time="2024-01-06T23:39:38Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:38Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48836->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48836->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56073->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56073->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=info msg="Performing rollback" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules999168848/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules999168848/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57243->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57243->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53377->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53377->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49371->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49371->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40497->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40497->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules999168848/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules999168848/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules999168848/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules999168848/work/payloads/0000/tree" time="2024-01-06T23:39:38Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:38Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:38Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules999168848/artifact_info file." time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules999168848/artifact_info" time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.09s) 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="2024-01-06T23:39:38Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49952->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49952->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45581->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45581->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" 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="2024-01-06T23:39:38Z" level=info msg="State transition: update-fetch [Download_Enter] -> error [Error]" time="2024-01-06T23:39:38Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: Download_Error_00" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" 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="2024-01-06T23:39:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules270605945/artifact_info file." time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules270605945/artifact_info" time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.04s) 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="2024-01-06T23:39:38Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47786->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47786->[::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="2024-01-06T23:39:38Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:38Z" level=info msg="Handling loaded state: update-fetch" time="2024-01-06T23:39:38Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:38Z" level=error msg="Mender shut down in state: update-fetch" time="2024-01-06T23:39:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules512163158/artifact_info file." time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules512163158/artifact_info" time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:38Z" 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="2024-01-06T23:39:38Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:38Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53907->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53907->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38147->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38147->[::1]:53: read: connection refused" time="2024-01-06T23:39:38Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:38Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:38Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:38Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules445339127/device_type" time="2024-01-06T23:39:38Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:38Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:38Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules445339127/artifact_info file." time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules445339127/artifact_info" time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules445339127/artifact_info" time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules445339127/device_type" time="2024-01-06T23:39:38Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules445339127/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules445339127/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules445339127/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules445339127/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:39Z" level=debug msg="Module does not support rollback" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41557->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41557->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49012->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49012->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46161->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46161->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44245->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44245->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" 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="2024-01-06T23:39:39Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:39Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48944->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48944->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38455->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38455->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59553->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59553->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56934->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56934->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules445339127/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules445339127/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules445339127/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules445339127/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:39Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:39Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:39Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.15s) 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="2024-01-06T23:39:39Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48324->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48324->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53131->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53131->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:39Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:39Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules232221612/device_type" time="2024-01-06T23:39:39Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:39Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:39Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules232221612/artifact_info file." time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules232221612/artifact_info" time="2024-01-06T23:39:39Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules232221612/artifact_info" time="2024-01-06T23:39:39Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules232221612/device_type" time="2024-01-06T23:39:39Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules232221612/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules232221612/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules232221612/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules232221612/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:39Z" level=debug msg="Module does not support rollback" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41783->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41783->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59821->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59821->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44348->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44348->[::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="2024-01-06T23:39:39Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:39Z" level=info msg="Handling loaded state: update-install" time="2024-01-06T23:39:39Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:39Z" level=error msg="Mender shut down in state: update-install" time="2024-01-06T23:39:39Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2024-01-06T23:39:39Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:39Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38431->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38431->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52922->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52922->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules232221612/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules232221612/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules232221612/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules232221612/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:39Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:39Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:39Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.05s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00 state_test.go:4717: Error in ArtifactInstall_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:39Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33330->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33330->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35450->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35450->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:39Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:39Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules539786245/device_type" time="2024-01-06T23:39:39Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:39Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:39Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules539786245/artifact_info file." time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules539786245/artifact_info" time="2024-01-06T23:39:39Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules539786245/artifact_info" time="2024-01-06T23:39:39Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules539786245/device_type" time="2024-01-06T23:39:39Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules539786245/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules539786245/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules539786245/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules539786245/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:39Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42125->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42125->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51110->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51110->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37384->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37384->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46288->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46288->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" 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="2024-01-06T23:39:39Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:39Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32866->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32866->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44604->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44604->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38619->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38619->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33678->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33678->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=info msg="Performing rollback" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules539786245/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules539786245/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48797->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48797->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51562->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51562->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58215->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58215->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46344->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46344->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules539786245/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules539786245/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules539786245/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules539786245/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:39Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:39Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules539786245/artifact_info file." time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules539786245/artifact_info" time="2024-01-06T23:39:39Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.20s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00 state_test.go:4717: Killed in ArtifactInstall_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:39Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47740->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47740->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50749->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50749->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:39Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:39Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules203234770/device_type" time="2024-01-06T23:39:39Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:39Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:39Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules203234770/artifact_info file." time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules203234770/artifact_info" time="2024-01-06T23:39:39Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules203234770/artifact_info" time="2024-01-06T23:39:39Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules203234770/device_type" time="2024-01-06T23:39:39Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203234770/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules203234770/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203234770/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules203234770/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:39Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52362->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52362->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40549->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40549->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53811->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53811->[::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="2024-01-06T23:39:39Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:39Z" level=info msg="Handling loaded state: update-install" time="2024-01-06T23:39:39Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:39Z" level=error msg="Mender shut down in state: update-install" time="2024-01-06T23:39:39Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:39Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56929->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56929->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53472->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53472->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=info msg="Performing rollback" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203234770/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules203234770/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34349->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34349->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57072->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57072->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33494->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33494->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58991->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58991->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203234770/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules203234770/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203234770/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules203234770/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:39Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:39Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules203234770/artifact_info file." time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules203234770/artifact_info" time="2024-01-06T23:39:39Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Enter_00 state_test.go:4717: Error in ArtifactReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:39Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51728->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51728->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40065->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40065->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:39Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:39Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules364788771/device_type" time="2024-01-06T23:39:39Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:39Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:39Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules364788771/artifact_info file." time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules364788771/artifact_info" time="2024-01-06T23:39:39Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules364788771/artifact_info" time="2024-01-06T23:39:39Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules364788771/device_type" time="2024-01-06T23:39:39Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:39Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules364788771/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules364788771/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules364788771/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules364788771/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:39Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39286->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39286->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40799->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40799->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54027->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54027->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43105->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43105->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules364788771/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules364788771/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules364788771/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules364788771/work/payloads/0000/tree" time="2024-01-06T23:39:39Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:39Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:39Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51006->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51006->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58557->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58557->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51341->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51341->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49213->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49213->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" 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="2024-01-06T23:39:39Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:39Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44339->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44339->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60933->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60933->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36848->[::1]:53: read: connection refused" time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36848->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49251->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49251->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=info msg="Performing rollback" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules364788771/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules364788771/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:40Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46279->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46279->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55942->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55942->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45865->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45865->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44217->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44217->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules364788771/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules364788771/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules364788771/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules364788771/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:40Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:40Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55821->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55821->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44636->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44636->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47335->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47335->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53363->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53363->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules364788771/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules364788771/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules364788771/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules364788771/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:40Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:40Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:40Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules364788771/artifact_info file." time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules364788771/artifact_info" time="2024-01-06T23:39:40Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.28s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Enter_00 state_test.go:4717: Killed in ArtifactReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:40Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:40Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40587->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40587->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59804->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59804->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:40Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:40Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:40Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules208612680/device_type" time="2024-01-06T23:39:40Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:40Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:40Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:40Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules208612680/artifact_info file." time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules208612680/artifact_info" time="2024-01-06T23:39:40Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules208612680/artifact_info" time="2024-01-06T23:39:40Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules208612680/device_type" time="2024-01-06T23:39:40Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules208612680/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules208612680/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules208612680/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules208612680/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:40Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:40Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:40Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55809->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55809->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36242->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36242->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41751->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41751->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56128->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56128->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules208612680/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules208612680/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules208612680/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules208612680/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:40Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:40Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42010->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42010->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36266->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36266->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58025->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58025->[::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="2024-01-06T23:39:40Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:40Z" level=info msg="Handling loaded state: reboot" time="2024-01-06T23:39:40Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:40Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules208612680/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules208612680/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:40Z" level=debug msg="Handling state after reboot" time="2024-01-06T23:39:40Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37296->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37296->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38620->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38620->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37253->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37253->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57789->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57789->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="Handle update commit state" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules208612680/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules208612680/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=debug msg="Committing new artifact name: artifact-name" time="2024-01-06T23:39:40Z" level=debug msg="Committing new artifact group name: " time="2024-01-06T23:39:40Z" level=debug msg="Committing new artifact type-info provides" time="2024-01-06T23:39:40Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2024-01-06T23:39:40Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2024-01-06T23:39:40Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules208612680/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules208612680/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2024-01-06T23:39:40Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:40Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:40Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.04s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Enter_00 state_test.go:4717: Error in ArtifactRollback_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:40Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:40Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45734->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45734->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43690->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43690->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:40Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:40Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:40Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820841425/device_type" time="2024-01-06T23:39:40Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:40Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:40Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:40Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules820841425/artifact_info file." time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820841425/artifact_info" time="2024-01-06T23:39:40Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820841425/artifact_info" time="2024-01-06T23:39:40Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820841425/device_type" time="2024-01-06T23:39:40Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:40Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:40Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:40Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41081->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41081->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60643->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60643->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50202->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50202->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60011->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60011->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:40Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:40Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54639->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54639->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39096->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39096->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59237->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59237->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44326->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44326->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:40Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:40Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:40Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:40Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53357->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53357->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45483->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45483->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52333->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52333->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Enter_00': 1: exit status 1" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55515->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55515->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=info msg="Performing rollback" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:40Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41456->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41456->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44716->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44716->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37984->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37984->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58697->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58697->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:40Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:40Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37967->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37967->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56958->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56958->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53350->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53350->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47088->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47088->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:40Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:40Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:40Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules820841425/artifact_info file." time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820841425/artifact_info" time="2024-01-06T23:39:40Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.24s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Enter_00 state_test.go:4717: Killed in ArtifactRollback_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:40Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:40Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36635->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36635->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55580->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55580->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:40Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:40Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:40Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules502684046/device_type" time="2024-01-06T23:39:40Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:40Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:40Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:40Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules502684046/artifact_info file." time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules502684046/artifact_info" time="2024-01-06T23:39:40Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules502684046/artifact_info" time="2024-01-06T23:39:40Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules502684046/device_type" time="2024-01-06T23:39:40Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:40Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:40Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:40Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:40Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52170->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52170->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60624->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60624->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35135->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35135->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52178->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52178->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:40Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:40Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55324->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55324->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34009->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34009->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54366->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54366->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46558->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46558->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:40Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:40Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:40Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:40Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36940->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36940->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37591->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37591->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47300->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47300->[::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="2024-01-06T23:39:40Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:40Z" level=info msg="Handling loaded state: rollback" time="2024-01-06T23:39:40Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:40Z" level=error msg="Mender shut down in state: rollback" time="2024-01-06T23:39:40Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:40Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42287->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42287->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46782->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46782->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=info msg="Performing rollback" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" time="2024-01-06T23:39:40Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:40Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44015->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44015->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59792->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59792->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43395->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43395->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47775->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47775->[::1]:53: read: connection refused" time="2024-01-06T23:39:40Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:41Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:41Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45106->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45106->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45933->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45933->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37472->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37472->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47992->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47992->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:41Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:41Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules502684046/artifact_info file." time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules502684046/artifact_info" time="2024-01-06T23:39:41Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.12s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Enter_00 state_test.go:4717: Error in ArtifactRollbackReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:41Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:41Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37507->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37507->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57716->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57716->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:41Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:41Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:41Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules183092367/device_type" time="2024-01-06T23:39:41Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:41Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:41Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules183092367/artifact_info file." time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules183092367/artifact_info" time="2024-01-06T23:39:41Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules183092367/artifact_info" time="2024-01-06T23:39:41Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules183092367/device_type" time="2024-01-06T23:39:41Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:41Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:41Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:41Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46852->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46852->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37853->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37853->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44952->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44952->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52382->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52382->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:41Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:41Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34303->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34303->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52622->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52622->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44877->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44877->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54267->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54267->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:41Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:41Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:41Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:41Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42444->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42444->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37519->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37519->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47119->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47119->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48620->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48620->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=info msg="Performing rollback" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:41Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57592->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57592->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55039->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55039->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37382->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37382->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Enter_00': 1: exit status 1" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60926->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60926->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:41Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:41Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37434->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37434->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55282->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55282->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52178->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52178->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56744->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56744->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:41Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:41Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules183092367/artifact_info file." time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules183092367/artifact_info" time="2024-01-06T23:39:41Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.33s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Enter_00 state_test.go:4717: Killed in ArtifactRollbackReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:41Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:41Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34672->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34672->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56031->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56031->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:41Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:41Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:41Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules376945188/device_type" time="2024-01-06T23:39:41Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:41Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:41Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules376945188/artifact_info file." time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules376945188/artifact_info" time="2024-01-06T23:39:41Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules376945188/artifact_info" time="2024-01-06T23:39:41Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules376945188/device_type" time="2024-01-06T23:39:41Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules376945188/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules376945188/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules376945188/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules376945188/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:41Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:41Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:41Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37469->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37469->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53660->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53660->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45528->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45528->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41906->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41906->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules376945188/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules376945188/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules376945188/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules376945188/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:41Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:41Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60360->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60360->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58735->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58735->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36164->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36164->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52861->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52861->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:41Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules376945188/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules376945188/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules376945188/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules376945188/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:41Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:41Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:41Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47353->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47353->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49871->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49871->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48350->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48350->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34497->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34497->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=info msg="Performing rollback" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules376945188/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules376945188/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:41Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45067->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45067->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49013->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49013->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47769->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47769->[::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="2024-01-06T23:39:41Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:41Z" level=info msg="Handling loaded state: rollback-reboot" time="2024-01-06T23:39:41Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:41Z" level=info msg="Mender shut down in state: rollback-reboot" time="2024-01-06T23:39:41Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:41Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules376945188/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules376945188/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:41Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:41Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33955->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33955->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41861->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41861->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45232->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45232->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44546->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44546->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules376945188/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules376945188/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules376945188/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules376945188/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:41Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:41Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules376945188/artifact_info file." time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules376945188/artifact_info" time="2024-01-06T23:39:41Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.06s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Enter_00 state_test.go:4717: Error in ArtifactFailure_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:41Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:41Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33350->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33350->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47922->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47922->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:41Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:41Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:41Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules207462877/device_type" time="2024-01-06T23:39:41Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:41Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:41Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules207462877/artifact_info file." time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules207462877/artifact_info" time="2024-01-06T23:39:41Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules207462877/artifact_info" time="2024-01-06T23:39:41Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules207462877/device_type" time="2024-01-06T23:39:41Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:41Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207462877/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules207462877/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207462877/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules207462877/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:41Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:41Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:41Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52110->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52110->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49025->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49025->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59087->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59087->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40079->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40079->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207462877/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules207462877/work/payloads/0000/tree" time="2024-01-06T23:39:41Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:41Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:41Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:41Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46649->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46649->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34540->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34540->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52958->[::1]:53: read: connection refused" time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52958->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35803->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35803->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=info msg="Performing rollback" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207462877/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules207462877/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report 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="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status 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="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35197->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35197->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52647->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52647->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Enter_00': 1: exit status 1" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41039->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41039->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207462877/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules207462877/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207462877/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules207462877/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:42Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:42Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:42Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules207462877/artifact_info file." time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules207462877/artifact_info" time="2024-01-06T23:39:42Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.22s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Enter_00 state_test.go:4717: Killed in ArtifactFailure_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:42Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:42Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41159->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41159->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44654->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44654->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:42Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:42Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:42Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules050632330/device_type" time="2024-01-06T23:39:42Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:42Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:42Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:42Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules050632330/artifact_info file." time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules050632330/artifact_info" time="2024-01-06T23:39:42Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules050632330/artifact_info" time="2024-01-06T23:39:42Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules050632330/device_type" time="2024-01-06T23:39:42Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules050632330/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules050632330/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules050632330/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules050632330/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:42Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:42Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:42Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34886->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34886->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35876->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35876->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45349->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45349->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48477->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48477->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules050632330/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules050632330/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:42Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:42Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:42Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35616->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35616->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46363->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46363->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report 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="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status 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="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39538->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39538->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=info msg="Performing rollback" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules050632330/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules050632330/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43398->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43398->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46416->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46416->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report 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="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status 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" 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="2024-01-06T23:39:42Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:42Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:42Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:42Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:42Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:42Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34663->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34663->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60589->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60589->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules050632330/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules050632330/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules050632330/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules050632330/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:42Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:42Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:42Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules050632330/artifact_info file." time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules050632330/artifact_info" time="2024-01-06T23:39:42Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.04s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00 state_test.go:4717: Error in ArtifactCommit_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:42Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:42Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46703->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46703->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42447->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42447->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:42Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:42Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:42Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules538231099/device_type" time="2024-01-06T23:39:42Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:42Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:42Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:42Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules538231099/artifact_info file." time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules538231099/artifact_info" time="2024-01-06T23:39:42Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules538231099/artifact_info" time="2024-01-06T23:39:42Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules538231099/device_type" time="2024-01-06T23:39:42Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:42Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:42Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:42Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56889->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56889->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47753->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47753->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37076->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37076->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48713->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48713->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:42Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:42Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56023->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56023->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54910->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54910->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34095->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34095->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51899->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51899->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:42Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:42Z" level=debug msg="Handling state after reboot" time="2024-01-06T23:39:42Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50159->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50159->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53812->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53812->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59149->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59149->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36327->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36327->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" 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="2024-01-06T23:39:42Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:42Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60593->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60593->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48470->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48470->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report 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="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status 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="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44239->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44239->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=info msg="Performing rollback" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:42Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38079->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38079->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36481->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36481->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52377->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52377->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39125->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39125->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:42Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:42Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54421->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54421->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50779->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50779->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48971->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48971->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42001->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42001->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:42Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:42Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:42Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules538231099/artifact_info file." time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules538231099/artifact_info" time="2024-01-06T23:39:42Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.32s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00 state_test.go:4717: Killed in ArtifactCommit_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:42Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:42Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35470->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35470->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33268->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33268->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:42Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:42Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:42Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules322719296/device_type" time="2024-01-06T23:39:42Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:42Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:42Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:42Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules322719296/artifact_info file." time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules322719296/artifact_info" time="2024-01-06T23:39:42Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules322719296/artifact_info" time="2024-01-06T23:39:42Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules322719296/device_type" time="2024-01-06T23:39:42Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:42Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:42Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:42Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:42Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57193->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57193->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45551->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45551->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52647->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52647->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48793->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48793->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:42Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:42Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60583->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60583->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57497->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57497->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40322->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40322->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49985->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49985->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:42Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:42Z" level=debug msg="Handling state after reboot" time="2024-01-06T23:39:42Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43461->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43461->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47634->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47634->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60351->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60351->[::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="2024-01-06T23:39:42Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:42Z" level=info msg="Handling loaded state: update-commit" time="2024-01-06T23:39:42Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:42Z" level=error msg="Mender shut down in state: update-commit" time="2024-01-06T23:39:42Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:42Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38572->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38572->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54544->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54544->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=info msg="Performing rollback" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:42Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58634->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58634->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42284->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42284->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48278->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48278->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report 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="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status 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="2024-01-06T23:39:42Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" time="2024-01-06T23:39:42Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:42Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:42Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45616->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45616->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54747->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54747->[::1]:53: read: connection refused" time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36836->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36836->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58523->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58523->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" time="2024-01-06T23:39:43Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" time="2024-01-06T23:39:43Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:43Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:43Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules322719296/artifact_info file." time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules322719296/artifact_info" time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.12s) 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="2024-01-06T23:39:43Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:43Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38472->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38472->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35922->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35922->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:43Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:43Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:43Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules865744937/device_type" time="2024-01-06T23:39:43Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:43Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules865744937/artifact_info file." time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules865744937/artifact_info" time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules865744937/artifact_info" time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules865744937/device_type" time="2024-01-06T23:39:43Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules865744937/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules865744937/work/payloads/0000/tree" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules865744937/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules865744937/work/payloads/0000/tree" time="2024-01-06T23:39:43Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:43Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:43Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:43Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57412->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57412->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45439->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45439->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51149->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51149->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49681->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49681->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules865744937/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules865744937/work/payloads/0000/tree" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules865744937/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules865744937/work/payloads/0000/tree" time="2024-01-06T23:39:43Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:43Z" level=debug msg="Module does not need reboot" time="2024-01-06T23:39:43Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40514->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40514->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43116->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43116->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56924->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56924->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60978->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60978->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" 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="2024-01-06T23:39:43Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:43Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38863->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38863->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51603->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51603->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41549->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41549->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42719->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42719->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=info msg="Performing rollback" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules865744937/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules865744937/work/payloads/0000/tree" time="2024-01-06T23:39:43Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37442->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37442->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43620->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43620->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38380->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38380->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37007->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37007->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules865744937/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules865744937/work/payloads/0000/tree" time="2024-01-06T23:39:43Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules865744937/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules865744937/work/payloads/0000/tree" time="2024-01-06T23:39:43Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:43Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:43Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules865744937/artifact_info file." time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules865744937/artifact_info" time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.32s) 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="2024-01-06T23:39:43Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:43Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:43Z" level=error msg="Failed to report 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="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status 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="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41932->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41932->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:43Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:43Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:43Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules114493638/device_type" time="2024-01-06T23:39:43Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:43Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules114493638/artifact_info file." time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules114493638/artifact_info" time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules114493638/artifact_info" time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules114493638/device_type" time="2024-01-06T23:39:43Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules114493638/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules114493638/work/payloads/0000/tree" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules114493638/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules114493638/work/payloads/0000/tree" time="2024-01-06T23:39:43Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:43Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:43Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:43Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53333->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53333->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46281->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46281->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56998->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56998->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41101->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41101->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules114493638/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules114493638/work/payloads/0000/tree" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules114493638/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules114493638/work/payloads/0000/tree" time="2024-01-06T23:39:43Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:43Z" level=debug msg="Module does not need reboot" time="2024-01-06T23:39:43Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42100->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42100->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44746->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44746->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57371->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57371->[::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="2024-01-06T23:39:43Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:43Z" level=info msg="Handling loaded state: update-commit" time="2024-01-06T23:39:43Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:43Z" level=error msg="Mender shut down in state: update-commit" time="2024-01-06T23:39:43Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:43Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39666->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39666->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50267->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50267->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=info msg="Performing rollback" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules114493638/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules114493638/work/payloads/0000/tree" time="2024-01-06T23:39:43Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33959->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33959->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37681->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37681->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40163->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40163->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39870->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39870->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules114493638/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules114493638/work/payloads/0000/tree" time="2024-01-06T23:39:43Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules114493638/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules114493638/work/payloads/0000/tree" time="2024-01-06T23:39:43Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:43Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:43Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules114493638/artifact_info file." time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules114493638/artifact_info" time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.08s) 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="2024-01-06T23:39:43Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:43Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34398->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34398->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35038->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35038->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:43Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:43Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:43Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules980049959/device_type" time="2024-01-06T23:39:43Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:43Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules980049959/artifact_info file." time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules980049959/artifact_info" time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules980049959/artifact_info" time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules980049959/device_type" time="2024-01-06T23:39:43Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules980049959/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules980049959/work/payloads/0000/tree" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules980049959/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules980049959/work/payloads/0000/tree" time="2024-01-06T23:39:43Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:43Z" level=debug msg="Module does not support rollback" time="2024-01-06T23:39:43Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:43Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35681->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35681->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50001->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50001->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" 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="2024-01-06T23:39:43Z" level=info msg="State transition: update-after-store [Download_Leave] -> cleanup [Error]" time="2024-01-06T23:39:43Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: Download_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules980049959/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules980049959/work/payloads/0000/tree" time="2024-01-06T23:39:43Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:43Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:43Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules980049959/artifact_info file." time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules980049959/artifact_info" time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.13s) 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="2024-01-06T23:39:43Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:43Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:43Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36786->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36786->[::1]:53: read: connection refused" time="2024-01-06T23:39:43Z" level=error msg="Failed to report 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="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status 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="2024-01-06T23:39:43Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:43Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:43Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:43Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules228029340/device_type" time="2024-01-06T23:39:43Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:43Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules228029340/artifact_info file." time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules228029340/artifact_info" time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules228029340/artifact_info" time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules228029340/device_type" time="2024-01-06T23:39:43Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:43Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules228029340/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules228029340/work/payloads/0000/tree" time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules228029340/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules228029340/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:44Z" level=debug msg="Module does not support rollback" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37395->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37395->[::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="2024-01-06T23:39:44Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:44Z" level=info msg="Handling loaded state: update-after-store" time="2024-01-06T23:39:44Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:44Z" level=error msg="Mender shut down in state: update-after-store" time="2024-01-06T23:39:44Z" level=info msg="State transition: init [none] -> cleanup [Error]" time="2024-01-06T23:39:44Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules228029340/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules228029340/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:44Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:44Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:44Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules228029340/artifact_info file." time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules228029340/artifact_info" time="2024-01-06T23:39:44Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:44Z" 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="2024-01-06T23:39:44Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54833->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54833->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47295->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47295->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:44Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:44Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules089689781/device_type" time="2024-01-06T23:39:44Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:44Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:44Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:44Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules089689781/artifact_info file." time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules089689781/artifact_info" time="2024-01-06T23:39:44Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules089689781/artifact_info" time="2024-01-06T23:39:44Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules089689781/device_type" time="2024-01-06T23:39:44Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules089689781/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules089689781/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules089689781/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules089689781/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:44Z" level=debug msg="Module does not support rollback" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57814->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57814->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47851->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47851->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48263->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48263->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59910->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59910->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules089689781/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules089689781/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules089689781/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules089689781/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:44Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32838->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32838->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35783->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35783->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" 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="2024-01-06T23:39:44Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:44Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52666->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52666->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54180->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54180->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39003->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39003->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41275->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41275->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules089689781/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules089689781/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules089689781/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules089689781/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:44Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:44Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:44Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.23s) 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="2024-01-06T23:39:44Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33849->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33849->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48668->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48668->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:44Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:44Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules662940226/device_type" time="2024-01-06T23:39:44Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:44Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:44Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:44Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules662940226/artifact_info file." time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules662940226/artifact_info" time="2024-01-06T23:39:44Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules662940226/artifact_info" time="2024-01-06T23:39:44Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules662940226/device_type" time="2024-01-06T23:39:44Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules662940226/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules662940226/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules662940226/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules662940226/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:44Z" level=debug msg="Module does not support rollback" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46042->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46042->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40527->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40527->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39533->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39533->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45505->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45505->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules662940226/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules662940226/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules662940226/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules662940226/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:44Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43553->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43553->[::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="2024-01-06T23:39:44Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:44Z" level=info msg="Handling loaded state: update-install" time="2024-01-06T23:39:44Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:44Z" level=error msg="Mender shut down in state: update-install" time="2024-01-06T23:39:44Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2024-01-06T23:39:44Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:44Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41591->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41591->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39049->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39049->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules662940226/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules662940226/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules662940226/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules662940226/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:44Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:44Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:44Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.06s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00 state_test.go:4717: Error in ArtifactInstall_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:44Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44199->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44199->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54469->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54469->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:44Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:44Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules699535187/device_type" time="2024-01-06T23:39:44Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:44Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:44Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:44Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules699535187/artifact_info file." time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules699535187/artifact_info" time="2024-01-06T23:39:44Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules699535187/artifact_info" time="2024-01-06T23:39:44Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules699535187/device_type" time="2024-01-06T23:39:44Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:44Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699535187/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules699535187/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699535187/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules699535187/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:44Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47240->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47240->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="Failed to report 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="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status 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="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36730->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36730->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55012->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55012->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699535187/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules699535187/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699535187/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules699535187/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:44Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37879->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37879->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44094->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44094->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" 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="2024-01-06T23:39:44Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:44Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43845->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43845->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55532->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55532->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32836->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32836->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45088->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45088->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=info msg="Performing rollback" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699535187/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules699535187/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:44Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43319->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43319->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42495->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42495->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34353->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34353->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52088->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52088->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699535187/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules699535187/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699535187/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules699535187/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:44Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:44Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60937->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60937->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57258->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57258->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52740->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52740->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35079->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35079->[::1]:53: read: connection refused" time="2024-01-06T23:39:44Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699535187/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules699535187/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699535187/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules699535187/work/payloads/0000/tree" time="2024-01-06T23:39:44Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:44Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:44Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:44Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:44Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules699535187/artifact_info file." time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules699535187/artifact_info" time="2024-01-06T23:39:44Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.31s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00 state_test.go:4717: Killed in ArtifactInstall_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:45Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:45Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33458->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33458->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46603->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46603->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:45Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:45Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:45Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules567993912/device_type" time="2024-01-06T23:39:45Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:45Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:45Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules567993912/artifact_info file." time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules567993912/artifact_info" time="2024-01-06T23:39:45Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules567993912/artifact_info" time="2024-01-06T23:39:45Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules567993912/device_type" time="2024-01-06T23:39:45Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567993912/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules567993912/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567993912/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules567993912/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:45Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:45Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:45Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38042->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38042->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37103->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37103->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53384->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53384->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52541->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52541->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567993912/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules567993912/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567993912/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules567993912/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:45Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:45Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55859->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55859->[::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="2024-01-06T23:39:45Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:45Z" level=info msg="Handling loaded state: update-install" time="2024-01-06T23:39:45Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:45Z" level=error msg="Mender shut down in state: update-install" time="2024-01-06T23:39:45Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:45Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51576->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51576->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43982->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43982->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=info msg="Performing rollback" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567993912/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules567993912/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:45Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60620->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60620->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39457->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39457->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51867->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51867->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34559->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34559->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567993912/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules567993912/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567993912/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules567993912/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:45Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:45Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36888->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36888->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44477->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44477->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53035->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53035->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35569->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35569->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567993912/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules567993912/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567993912/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules567993912/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:45Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:45Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules567993912/artifact_info file." time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules567993912/artifact_info" time="2024-01-06T23:39:45Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.09s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Leave_00 state_test.go:4717: Error in ArtifactReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:45Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:45Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40296->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40296->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33164->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33164->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:45Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:45Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:45Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules102620033/device_type" time="2024-01-06T23:39:45Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:45Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:45Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules102620033/artifact_info file." time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules102620033/artifact_info" time="2024-01-06T23:39:45Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules102620033/artifact_info" time="2024-01-06T23:39:45Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules102620033/device_type" time="2024-01-06T23:39:45Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:45Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:45Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:45Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53291->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53291->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41822->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41822->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34475->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34475->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52855->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52855->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:45Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:45Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59271->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59271->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33530->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33530->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36111->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36111->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44086->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44086->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:45Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:45Z" level=debug msg="Handling state after reboot" time="2024-01-06T23:39:45Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report 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="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status 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="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37659->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37659->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" 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="2024-01-06T23:39:45Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:45Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52068->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52068->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38096->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38096->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36832->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36832->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47047->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47047->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=info msg="Performing rollback" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:45Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57160->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57160->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58363->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58363->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56383->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56383->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57353->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57353->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:45Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:45Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44346->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44346->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37357->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37357->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41635->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41635->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44752->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44752->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:45Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:45Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules102620033/artifact_info file." time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules102620033/artifact_info" time="2024-01-06T23:39:45Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.28s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Leave_00 state_test.go:4717: Killed in ArtifactReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:45Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:45Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41860->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41860->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45529->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45529->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:45Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:45Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:45Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules384760062/device_type" time="2024-01-06T23:39:45Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:45Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:45Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules384760062/artifact_info file." time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules384760062/artifact_info" time="2024-01-06T23:39:45Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules384760062/artifact_info" time="2024-01-06T23:39:45Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules384760062/device_type" time="2024-01-06T23:39:45Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:45Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:45Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:45Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:45Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43258->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43258->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50091->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50091->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38209->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38209->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36227->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36227->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:45Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:45Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37754->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37754->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45614->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45614->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38736->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38736->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59313->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59313->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:45Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:45Z" level=debug msg="Handling state after reboot" time="2024-01-06T23:39:45Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49061->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49061->[::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="2024-01-06T23:39:45Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:45Z" level=info msg="Handling loaded state: after-reboot" time="2024-01-06T23:39:45Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:45Z" level=error msg="Mender shut down in state: after-reboot" time="2024-01-06T23:39:45Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:45Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report 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="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status 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="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60192->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60192->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=info msg="Performing rollback" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:45Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36960->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36960->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42230->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42230->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report 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="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status 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="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58840->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58840->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:45Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:45Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59279->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59279->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47573->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47573->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34867->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34867->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52220->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52220->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" time="2024-01-06T23:39:45Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:45Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:45Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules384760062/artifact_info file." time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules384760062/artifact_info" time="2024-01-06T23:39:45Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.13s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Leave_00 state_test.go:4717: Error in ArtifactRollback_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:45Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:45Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:45Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57668->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57668->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52364->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52364->[::1]:53: read: connection refused" time="2024-01-06T23:39:45Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:45Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:45Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:45Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules047303871/device_type" time="2024-01-06T23:39:45Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:45Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:46Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules047303871/artifact_info file." time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules047303871/artifact_info" time="2024-01-06T23:39:46Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:46Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules047303871/artifact_info" time="2024-01-06T23:39:46Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules047303871/device_type" time="2024-01-06T23:39:46Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:46Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:46Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:46Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:46Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36673->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36673->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57881->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57881->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52394->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52394->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51181->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51181->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:46Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:46Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37184->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37184->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45669->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45669->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60700->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60700->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52792->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52792->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:46Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:46Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:46Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:46Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60627->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60627->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55486->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55486->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56036->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56036->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35420->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35420->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=info msg="Performing rollback" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:46Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55405->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55405->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Leave_00': 1: exit status 1" time="2024-01-06T23:39:46Z" level=error msg="Failed to report 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="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status 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="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40999->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40999->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33928->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33928->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:46Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:46Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53848->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53848->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51694->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51694->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report 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="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status 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="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56610->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56610->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:46Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:46Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules047303871/artifact_info file." time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules047303871/artifact_info" time="2024-01-06T23:39:46Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:46Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.35s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Leave_00 state_test.go:4717: Killed in ArtifactRollback_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:46Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:46Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50019->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50019->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45815->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45815->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:46Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:46Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules230421012/device_type" time="2024-01-06T23:39:46Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:46Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:46Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:46Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules230421012/artifact_info file." time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules230421012/artifact_info" time="2024-01-06T23:39:46Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:46Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules230421012/artifact_info" time="2024-01-06T23:39:46Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules230421012/device_type" time="2024-01-06T23:39:46Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:46Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:46Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:46Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:46Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60476->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60476->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36625->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36625->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report 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="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status 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="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49772->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49772->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:46Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:46Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40693->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40693->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40953->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40953->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42715->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42715->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43193->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43193->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:46Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:46Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:46Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:46Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46314->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46314->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49636->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49636->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40462->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40462->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37098->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37098->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=info msg="Performing rollback" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:46Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56021->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56021->[::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="2024-01-06T23:39:46Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:46Z" level=info msg="Handling loaded state: rollback" time="2024-01-06T23:39:46Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:46Z" level=error msg="Mender shut down in state: rollback" time="2024-01-06T23:39:46Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:46Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37595->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37595->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60627->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60627->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=info msg="Performing rollback" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:46Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48583->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48583->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56104->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56104->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38517->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38517->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42061->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42061->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:46Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:46Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42767->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42767->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51717->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51717->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47306->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47306->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41706->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41706->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:46Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:46Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules230421012/artifact_info file." time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules230421012/artifact_info" time="2024-01-06T23:39:46Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:46Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.12s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Leave_00 state_test.go:4717: Error in ArtifactRollbackReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:46Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:46Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38968->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38968->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59635->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59635->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:46Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:46Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules844445325/device_type" time="2024-01-06T23:39:46Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:46Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:46Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:46Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules844445325/artifact_info file." time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules844445325/artifact_info" time="2024-01-06T23:39:46Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:46Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules844445325/artifact_info" time="2024-01-06T23:39:46Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules844445325/device_type" time="2024-01-06T23:39:46Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:46Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:46Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:46Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:46Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report 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="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status 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="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48709->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48709->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52467->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52467->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59296->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59296->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:46Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:46Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48140->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48140->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52472->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52472->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55405->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55405->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53611->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53611->[::1]:53: read: connection refused" time="2024-01-06T23:39:46Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:46Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" time="2024-01-06T23:39:46Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:47Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:47Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:47Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33474->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33474->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54720->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54720->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55233->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55233->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56598->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56598->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=info msg="Performing rollback" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:47Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47307->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47307->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56704->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56704->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43315->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43315->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49617->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49617->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:47Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:47Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47934->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47934->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Leave_00': 1: exit status 1" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57833->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57833->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53482->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53482->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44573->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44573->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:47Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:47Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules844445325/artifact_info file." time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules844445325/artifact_info" time="2024-01-06T23:39:47Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.30s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Leave_00 state_test.go:4717: Killed in ArtifactRollbackReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45381->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45381->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59116->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59116->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:47Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:47Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules656502522/device_type" time="2024-01-06T23:39:47Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:47Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules656502522/artifact_info file." time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules656502522/artifact_info" time="2024-01-06T23:39:47Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules656502522/artifact_info" time="2024-01-06T23:39:47Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules656502522/device_type" time="2024-01-06T23:39:47Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:47Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36849->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36849->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57189->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57189->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35088->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35088->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44087->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44087->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:47Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:47Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44654->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44654->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38449->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38449->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50310->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50310->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47389->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47389->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:47Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:47Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:47Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:47Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46216->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46216->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33293->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33293->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48371->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48371->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44900->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44900->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=info msg="Performing rollback" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:47Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51224->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51224->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52517->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52517->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41635->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41635->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39711->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39711->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:47Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:47Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47570->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47570->[::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="2024-01-06T23:39:47Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:47Z" level=info msg="Handling loaded state: after-rollback-reboot" time="2024-01-06T23:39:47Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:47Z" level=error msg="Mender shut down in state: after-rollback-reboot" time="2024-01-06T23:39:47Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:47Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:47Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:47Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38593->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38593->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53663->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53663->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40735->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40735->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49374->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49374->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:47Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:47Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules656502522/artifact_info file." time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules656502522/artifact_info" time="2024-01-06T23:39:47Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.07s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Leave_00 state_test.go:4717: Error in ArtifactFailure_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59789->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59789->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57115->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57115->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:47Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:47Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules369985131/device_type" time="2024-01-06T23:39:47Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:47Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules369985131/artifact_info file." time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules369985131/artifact_info" time="2024-01-06T23:39:47Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules369985131/artifact_info" time="2024-01-06T23:39:47Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules369985131/device_type" time="2024-01-06T23:39:47Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules369985131/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules369985131/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules369985131/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules369985131/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:47Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59500->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59500->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55769->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55769->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43971->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43971->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42123->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42123->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules369985131/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules369985131/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:47Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:47Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:47Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46017->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46017->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48662->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48662->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46809->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46809->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40010->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40010->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=info msg="Performing rollback" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules369985131/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules369985131/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40904->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40904->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57946->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57946->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40750->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40750->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60188->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60188->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules369985131/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules369985131/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:47Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Leave_00': 1: exit status 1" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules369985131/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules369985131/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:47Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:47Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules369985131/artifact_info file." time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules369985131/artifact_info" time="2024-01-06T23:39:47Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.21s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Leave_00 state_test.go:4717: Killed in ArtifactFailure_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42417->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42417->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41099->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41099->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:47Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:47Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules908886832/device_type" time="2024-01-06T23:39:47Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:47Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules908886832/artifact_info file." time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules908886832/artifact_info" time="2024-01-06T23:39:47Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules908886832/artifact_info" time="2024-01-06T23:39:47Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules908886832/device_type" time="2024-01-06T23:39:47Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules908886832/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules908886832/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules908886832/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules908886832/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:47Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43578->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43578->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39989->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39989->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40870->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40870->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52802->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52802->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules908886832/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules908886832/work/payloads/0000/tree" time="2024-01-06T23:39:47Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:47Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:47Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:47Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51204->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51204->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48737->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48737->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45665->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45665->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34869->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34869->[::1]:53: read: connection refused" time="2024-01-06T23:39:47Z" level=info msg="Performing rollback" time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules908886832/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules908886832/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34223->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34223->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34317->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34317->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51562->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51562->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55853->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55853->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules908886832/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules908886832/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" 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="2024-01-06T23:39:48Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:48Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:48Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:48Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:48Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:48Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45866->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45866->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47623->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47623->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules908886832/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules908886832/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules908886832/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules908886832/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:48Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:48Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules908886832/artifact_info file." time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules908886832/artifact_info" time="2024-01-06T23:39:48Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.04s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00 state_test.go:4717: Error in ArtifactCommit_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37370->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37370->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44377->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44377->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:48Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:48Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules252784089/device_type" time="2024-01-06T23:39:48Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:48Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules252784089/artifact_info file." time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules252784089/artifact_info" time="2024-01-06T23:39:48Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules252784089/artifact_info" time="2024-01-06T23:39:48Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules252784089/device_type" time="2024-01-06T23:39:48Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252784089/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules252784089/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252784089/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules252784089/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:48Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44171->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44171->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51579->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51579->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56772->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56772->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54132->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54132->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252784089/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules252784089/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252784089/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules252784089/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:48Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43642->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43642->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44628->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44628->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40419->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40419->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50301->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50301->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:48Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252784089/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules252784089/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252784089/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules252784089/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:48Z" level=debug msg="Handling state after reboot" time="2024-01-06T23:39:48Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44437->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44437->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42197->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42197->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55761->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55761->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40524->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40524->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="Handle update commit state" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252784089/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules252784089/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=debug msg="Committing new artifact name: artifact-name" time="2024-01-06T23:39:48Z" level=debug msg="Committing new artifact group name: " time="2024-01-06T23:39:48Z" level=debug msg="Committing new artifact type-info provides" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:48Z" 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="2024-01-06T23:39:48Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" time="2024-01-06T23:39:48Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252784089/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules252784089/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:48Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:48Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:48Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.24s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00 state_test.go:4717: Killed in ArtifactCommit_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50345->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50345->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50328->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50328->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:48Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:48Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules140929078/device_type" time="2024-01-06T23:39:48Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:48Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules140929078/artifact_info file." time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules140929078/artifact_info" time="2024-01-06T23:39:48Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules140929078/artifact_info" time="2024-01-06T23:39:48Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules140929078/device_type" time="2024-01-06T23:39:48Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140929078/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules140929078/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140929078/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules140929078/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:48Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59990->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59990->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53493->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53493->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60912->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60912->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42913->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42913->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140929078/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules140929078/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140929078/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules140929078/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:48Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60417->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60417->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47807->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47807->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46434->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46434->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57237->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57237->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:48Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140929078/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules140929078/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140929078/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules140929078/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:48Z" level=debug msg="Handling state after reboot" time="2024-01-06T23:39:48Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47047->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47047->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60468->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60468->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48567->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48567->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45697->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45697->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="Handle update commit state" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140929078/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules140929078/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=debug msg="Committing new artifact name: artifact-name" time="2024-01-06T23:39:48Z" level=debug msg="Committing new artifact group name: " time="2024-01-06T23:39:48Z" level=debug msg="Committing new artifact type-info provides" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" 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="2024-01-06T23:39:48Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:48Z" level=info msg="Handling loaded state: update-after-commit" time="2024-01-06T23:39:48Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:48Z" level=error msg="Mender shut down in state: update-after-commit" time="2024-01-06T23:39:48Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140929078/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules140929078/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2024-01-06T23:39:48Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:48Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:48Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.02s) 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="2024-01-06T23:39:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52689->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52689->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53816->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53816->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:48Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:48Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules457502807/device_type" time="2024-01-06T23:39:48Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:48Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules457502807/artifact_info file." time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules457502807/artifact_info" time="2024-01-06T23:39:48Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules457502807/artifact_info" time="2024-01-06T23:39:48Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules457502807/device_type" time="2024-01-06T23:39:48Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457502807/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules457502807/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457502807/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules457502807/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:48Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report 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="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status 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="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43315->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43315->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38857->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38857->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35001->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35001->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457502807/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules457502807/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457502807/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules457502807/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:48Z" level=debug msg="Module does not need reboot" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54962->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54962->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53862->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53862->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33985->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33985->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35800->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35800->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="Handle update commit state" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457502807/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules457502807/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=debug msg="Committing new artifact name: artifact-name" time="2024-01-06T23:39:48Z" level=debug msg="Committing new artifact group name: " time="2024-01-06T23:39:48Z" level=debug msg="Committing new artifact type-info provides" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:48Z" 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="2024-01-06T23:39:48Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" time="2024-01-06T23:39:48Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457502807/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules457502807/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:48Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:48Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:48Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.23s) 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="2024-01-06T23:39:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41224->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41224->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37020->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37020->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:48Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:48Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139096972/device_type" time="2024-01-06T23:39:48Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:48Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules139096972/artifact_info file." time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139096972/artifact_info" time="2024-01-06T23:39:48Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139096972/artifact_info" time="2024-01-06T23:39:48Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139096972/device_type" time="2024-01-06T23:39:48Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139096972/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules139096972/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139096972/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules139096972/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:48Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33731->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33731->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58031->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58031->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40687->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40687->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59814->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59814->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139096972/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules139096972/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139096972/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules139096972/work/payloads/0000/tree" time="2024-01-06T23:39:48Z" level=debug msg="Update module output: No" time="2024-01-06T23:39:48Z" level=debug msg="Module does not need reboot" time="2024-01-06T23:39:48Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50771->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50771->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52372->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52372->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56148->[::1]:53: read: connection refused" time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56148->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53668->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53668->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="Handle update commit state" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139096972/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules139096972/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=debug msg="Committing new artifact name: artifact-name" time="2024-01-06T23:39:49Z" level=debug msg="Committing new artifact group name: " time="2024-01-06T23:39:49Z" level=debug msg="Committing new artifact type-info provides" time="2024-01-06T23:39:49Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2024-01-06T23:39:49Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2024-01-06T23:39:49Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" 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="2024-01-06T23:39:49Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:49Z" level=info msg="Handling loaded state: update-after-commit" time="2024-01-06T23:39:49Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:49Z" level=error msg="Mender shut down in state: update-after-commit" time="2024-01-06T23:39:49Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" time="2024-01-06T23:39:49Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:49Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139096972/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules139096972/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2024-01-06T23:39:49Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:49Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:49Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Break_out_of_error_loop state_test.go:4717: Break out of error loop state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:49Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:49Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48905->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48905->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46589->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46589->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:49Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:49Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules964978021/device_type" time="2024-01-06T23:39:49Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:49Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:49Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules964978021/artifact_info file." time="2024-01-06T23:39:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules964978021/artifact_info" time="2024-01-06T23:39:49Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:49Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules964978021/artifact_info" time="2024-01-06T23:39:49Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules964978021/device_type" time="2024-01-06T23:39:49Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:49Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:49Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:49Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:49Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56291->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56291->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40652->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40652->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42749->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42749->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38226->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38226->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:49Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:49Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45800->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45800->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36289->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36289->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50938->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50938->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52647->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52647->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:49Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49447->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49447->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40334->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40334->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49002->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49002->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51092->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51092->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=info msg="Performing rollback" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55749->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55749->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57022->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57022->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55187->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55187->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38835->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38835->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39581->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39581->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57770->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57770->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43506->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43506->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34151->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34151->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45302->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45302->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50303->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50303->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35404->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35404->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57034->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57034->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56021->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56021->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47568->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47568->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39357->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39357->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52458->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52458->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41455->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41455->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44539->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44539->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36341->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36341->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39232->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39232->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42288->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42288->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56782->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56782->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45079->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45079->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39086->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39086->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51476->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51476->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35444->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35444->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43223->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43223->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42130->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42130->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48209->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48209->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50785->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50785->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41683->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41683->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35684->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35684->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60944->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60944->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54506->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54506->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45139->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45139->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54715->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54715->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48205->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48205->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59088->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59088->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41933->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41933->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45107->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45107->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57825->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57825->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48821->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48821->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38085->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38085->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37811->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37811->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49963->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49963->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39243->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39243->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39159->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39159->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57802->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57802->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57159->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57159->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60297->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60297->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34022->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34022->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34447->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34447->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44220->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44220->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50650->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50650->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35912->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35912->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45179->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45179->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49564->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49564->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33866->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33866->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55310->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55310->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40720->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40720->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49660->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49660->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57977->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57977->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49244->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49244->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33090->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33090->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47405->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47405->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41692->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41692->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report 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="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status 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="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56498->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56498->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48999->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48999->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39939->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39939->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42317->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42317->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40093->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40093->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49241->[::1]:53: read: connection refused" time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49241->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34686->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34686->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58013->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58013->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report 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="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status 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="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41593->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41593->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52609->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52609->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57861->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57861->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56890->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56890->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report 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="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status 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="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52064->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52064->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59534->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59534->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42544->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42544->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40050->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40050->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43791->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43791->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42507->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42507->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33122->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33122->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46785->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46785->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34586->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34586->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34945->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34945->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53317->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53317->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56262->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56262->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35930->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35930->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38389->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38389->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50927->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50927->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52174->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52174->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33548->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33548->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42648->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42648->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45844->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45844->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33687->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33687->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49604->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49604->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45838->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45838->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52747->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52747->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39048->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39048->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38534->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38534->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56970->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56970->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58883->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58883->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53765->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53765->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46343->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46343->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34673->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34673->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55435->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55435->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42849->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42849->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49285->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49285->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50033->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50033->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35987->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35987->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52600->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52600->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56167->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56167->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40679->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40679->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38315->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38315->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37843->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37843->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47566->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47566->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Could not write state data to persistent storage: State data stored and retrieved maximum number of times" time="2024-01-06T23:39:50Z" 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="2024-01-06T23:39:50Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> update-status-report [none]" time="2024-01-06T23:39:50Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:50Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:50Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:50Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (1.34s) 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="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:50Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58346->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58346->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39030->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39030->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:50Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:50Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:50Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules822354610/device_type" time="2024-01-06T23:39:50Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:50Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:50Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules822354610/artifact_info file." time="2024-01-06T23:39:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules822354610/artifact_info" time="2024-01-06T23:39:50Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:50Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules822354610/artifact_info" time="2024-01-06T23:39:50Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules822354610/device_type" time="2024-01-06T23:39:50Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:50Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:50Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:50Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:50Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40528->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40528->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51045->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51045->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46917->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46917->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41250->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41250->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:50Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:39:50Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40575->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40575->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60099->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60099->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42048->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42048->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45174->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45174->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="Handling reboot state" time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2024-01-06T23:39:50Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2024-01-06T23:39:50Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45978->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45978->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56317->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56317->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56194->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56194->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43170->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43170->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=info msg="Performing rollback" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50277->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50277->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40496->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40496->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34007->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34007->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38311->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38311->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:39:50Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:39:50Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56251->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56251->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54260->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54260->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49936->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49936->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35435->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35435->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:50Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:50Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:50Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:50Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52816->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52816->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47332->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47332->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:50Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:50Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:50Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:50Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37801->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37801->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35469->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35469->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:50Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:50Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:50Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:50Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53656->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53656->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48178->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48178->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:50Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:50Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:50Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:50Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56938->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56938->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47608->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47608->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:50Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:50Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:50Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:50Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53015->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53015->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45184->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45184->[::1]:53: read: connection refused" time="2024-01-06T23:39:50Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:57463->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:57463->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:40338->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:40338->[::1]:53: read: connection refused" time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:37901->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:37901->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:58321->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:58321->[::1]:53: read: connection refused" time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:55713->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:55713->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:46731->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:46731->[::1]:53: read: connection refused" time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:47974->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:47974->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:51301->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:51301->[::1]:53: read: connection refused" time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:51389->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:51389->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:57987->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:57987->[::1]:53: read: connection refused" time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:58532->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:58532->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:47378->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:47378->[::1]:53: read: connection refused" time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:57075->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:57075->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:53311->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:53311->[::1]:53: read: connection refused" time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:47083->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:47083->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:36690->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:36690->[::1]:53: read: connection refused" time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:56594->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:56594->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:55045->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:55045->[::1]:53: read: connection refused" time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:54832->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:54832->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:33198->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:33198->[::1]:53: read: connection refused" time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:37109->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:37109->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:51498->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:51498->[::1]:53: read: connection refused" time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:51315->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:51315->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:47065->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:47065->[::1]:53: read: connection refused" time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:37004->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:37004->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:47215->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:47215->[::1]:53: read: connection refused" time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:56730->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:56730->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:57561->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:57561->[::1]:53: read: connection refused" time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:43123->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:43123->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:50834->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:50834->[::1]:53: read: connection refused" time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:57527->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:57527->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:48258->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:48258->[::1]:53: read: connection refused" time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:56560->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:56560->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:40078->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:40078->[::1]:53: read: connection refused" time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:34512->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:34512->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:57269->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:57269->[::1]:53: read: connection refused" time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:45106->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:45106->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:50074->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:50074->[::1]:53: read: connection refused" time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39: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]:35326->[::1]:53: read: connection refused" time="2024-01-06T23:39: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]:35326->[::1]:53: read: connection refused" time="2024-01-06T23:39:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40504->[::1]:53: read: connection refused" time="2024-01-06T23:39:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40504->[::1]:53: read: connection refused" time="2024-01-06T23:39:52Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:52Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:52Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:52Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:52Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:52Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:52Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:52Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38390->[::1]:53: read: connection refused" time="2024-01-06T23:39:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38390->[::1]:53: read: connection refused" time="2024-01-06T23:39:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45616->[::1]:53: read: connection refused" time="2024-01-06T23:39:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45616->[::1]:53: read: connection refused" time="2024-01-06T23:39:52Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:52Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:52Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:52Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:52Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:52Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:52Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:52Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39771->[::1]:53: read: connection refused" time="2024-01-06T23:39:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39771->[::1]:53: read: connection refused" time="2024-01-06T23:39:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60627->[::1]:53: read: connection refused" time="2024-01-06T23:39:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60627->[::1]:53: read: connection refused" time="2024-01-06T23:39:52Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:52Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:52Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:52Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:52Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:52Z" level=error msg="Mender shut down in state: update-error" time="2024-01-06T23:39:52Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2024-01-06T23:39:52Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33203->[::1]:53: read: connection refused" time="2024-01-06T23:39:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33203->[::1]:53: read: connection refused" time="2024-01-06T23:39:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38058->[::1]:53: read: connection refused" time="2024-01-06T23:39:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38058->[::1]:53: read: connection refused" time="2024-01-06T23:39:52Z" level=debug msg="Handle update error state" time="2024-01-06T23:39:52Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:39:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/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="2024-01-06T23:39:52Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:39:52Z" level=info msg="Handling loaded state: update-error" time="2024-01-06T23:39:52Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:52Z" 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="2024-01-06T23:39:52Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2024-01-06T23:39:52Z" level=info msg="State transition: init [none] -> update-status-report [none]" time="2024-01-06T23:39:52Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:52Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:52Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:52Z" 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="2024-01-06T23:39:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:52Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:52Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39485->[::1]:53: read: connection refused" time="2024-01-06T23:39:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39485->[::1]:53: read: connection refused" time="2024-01-06T23:39:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47866->[::1]:53: read: connection refused" time="2024-01-06T23:39:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47866->[::1]:53: read: connection refused" time="2024-01-06T23:39:52Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:52Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:52Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules817030275/device_type" time="2024-01-06T23:39:52Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:52Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:52Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:52Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules817030275/artifact_info file." time="2024-01-06T23:39:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules817030275/artifact_info" time="2024-01-06T23:39:52Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:52Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules817030275/artifact_info" time="2024-01-06T23:39:52Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules817030275/device_type" time="2024-01-06T23:39:52Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:52Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules817030275/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules817030275/work/payloads/0000/tree" time="2024-01-06T23:39:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:57Z" level=error msg="Process 3332073 timed out. Sending SIGTERM" time="2024-01-06T23:39:57Z" level=error msg="Artifact install failed: Update module terminated abnormally: signal: terminated" time="2024-01-06T23:39:57Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" time="2024-01-06T23:39:57Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:39:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:57Z" level=debug msg="Executing script: Download_Error_00" time="2024-01-06T23:39:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:57Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:39:57Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:39:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules817030275/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules817030275/work/payloads/0000/tree" time="2024-01-06T23:39:57Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:39:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:57Z" level=debug msg="Handling update status report state" time="2024-01-06T23:39:57Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:39:57Z" level=debug msg="Reporting complete" time="2024-01-06T23:39:57Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules817030275/artifact_info file." time="2024-01-06T23:39:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules817030275/artifact_info" time="2024-01-06T23:39:57Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:57Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (5.20s) PASS === RUN TestStateTransitionsWithUpdateModules/Hang_in_ArtifactInstall state_test.go:4717: Hang in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2024-01-06T23:39:57Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:39:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:57Z" level=debug msg="Handle update check state" time="2024-01-06T23:39:57Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:39:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:57Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:39:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34873->[::1]:53: read: connection refused" time="2024-01-06T23:39:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34873->[::1]:53: read: connection refused" time="2024-01-06T23:39:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58155->[::1]:53: read: connection refused" time="2024-01-06T23:39:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58155->[::1]:53: read: connection refused" time="2024-01-06T23:39:57Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:39:57Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:39:57Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:39:57Z" level=debug msg="Handling update install state" time="2024-01-06T23:39:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules875538216/device_type" time="2024-01-06T23:39:57Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:57Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:57Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:39:57Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:39:57Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:39:57Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules875538216/artifact_info file." time="2024-01-06T23:39:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules875538216/artifact_info" time="2024-01-06T23:39:57Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:57Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:39:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules875538216/artifact_info" time="2024-01-06T23:39:57Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:39:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules875538216/device_type" time="2024-01-06T23:39:57Z" level=debug msg="device_type=test-device" time="2024-01-06T23:39:57Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:39:57Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:39:57Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:39:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules875538216/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules875538216/work/payloads/0000/tree" time="2024-01-06T23:39:57Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:39:57Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:39:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules875538216/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules875538216/work/payloads/0000/tree" time="2024-01-06T23:39:57Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:39:57Z" level=debug msg="Module supports rollback" time="2024-01-06T23:39:57Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:39:57Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:39:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:57Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:39:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56350->[::1]:53: read: connection refused" time="2024-01-06T23:39:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56350->[::1]:53: read: connection refused" time="2024-01-06T23:39:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38712->[::1]:53: read: connection refused" time="2024-01-06T23:39:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38712->[::1]:53: read: connection refused" time="2024-01-06T23:39:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:39:57Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:39:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38075->[::1]:53: read: connection refused" time="2024-01-06T23:39:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38075->[::1]:53: read: connection refused" time="2024-01-06T23:39:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40569->[::1]:53: read: connection refused" time="2024-01-06T23:39:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40569->[::1]:53: read: connection refused" time="2024-01-06T23:39:57Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:39:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules875538216/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules875538216/work/payloads/0000/tree" time="2024-01-06T23:40:02Z" level=error msg="Process 3333023 timed out. Sending SIGTERM" time="2024-01-06T23:40:02Z" level=error msg="Update module terminated abnormally: signal: terminated" time="2024-01-06T23:40:02Z" level=error msg="transient error: Update module terminated abnormally: signal: terminated" time="2024-01-06T23:40:02Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2024-01-06T23:40:02Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:02Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47199->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47199->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45317->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45317->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:02Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47131->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47131->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37452->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37452->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=info msg="Performing rollback" time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:40:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules875538216/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules875538216/work/payloads/0000/tree" time="2024-01-06T23:40:02Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:02Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49622->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49622->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54217->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54217->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:02Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37873->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37873->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51145->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51145->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=debug msg="Handle update error state" time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:40:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules875538216/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules875538216/work/payloads/0000/tree" time="2024-01-06T23:40:02Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:02Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:02Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:40:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules875538216/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules875538216/work/payloads/0000/tree" time="2024-01-06T23:40:02Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:02Z" level=debug msg="Handling update status report state" time="2024-01-06T23:40:02Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:40:02Z" level=debug msg="Reporting complete" time="2024-01-06T23:40:02Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules875538216/artifact_info file." time="2024-01-06T23:40:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules875538216/artifact_info" time="2024-01-06T23:40:02Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:40:02Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (5.19s) 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="2024-01-06T23:40:02Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:02Z" level=debug msg="Handle update check state" time="2024-01-06T23:40:02Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:02Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38465->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38465->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39428->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39428->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:40:02Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:40:02Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:40:02Z" level=debug msg="Handling update install state" time="2024-01-06T23:40:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules276353329/device_type" time="2024-01-06T23:40:02Z" level=debug msg="device_type=test-device" time="2024-01-06T23:40:02Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:40:02Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:40:02Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:40:02Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules276353329/artifact_info file." time="2024-01-06T23:40:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules276353329/artifact_info" time="2024-01-06T23:40:02Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:40:02Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:40:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules276353329/artifact_info" time="2024-01-06T23:40:02Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:40:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules276353329/device_type" time="2024-01-06T23:40:02Z" level=debug msg="device_type=test-device" time="2024-01-06T23:40:02Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:40:02Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:40:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276353329/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules276353329/work/payloads/0000/tree" time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:40:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276353329/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules276353329/work/payloads/0000/tree" time="2024-01-06T23:40:02Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:40:02Z" level=debug msg="Module supports rollback" time="2024-01-06T23:40:02Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:40:02Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:02Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53048->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53048->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48918->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48918->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:02Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53082->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53082->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46000->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46000->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:40:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276353329/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules276353329/work/payloads/0000/tree" time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:40:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276353329/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules276353329/work/payloads/0000/tree" time="2024-01-06T23:40:02Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:40:02Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:40:02Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:02Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57825->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57825->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60617->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60617->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:02Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38214->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38214->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41178->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41178->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=debug msg="Handling reboot state" time="2024-01-06T23:40:02Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:40:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276353329/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules276353329/work/payloads/0000/tree" time="2024-01-06T23:40:02Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:40:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276353329/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules276353329/work/payloads/0000/tree" time="2024-01-06T23:40:02Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:40:02Z" level=debug msg="Handling state after reboot" time="2024-01-06T23:40:02Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:02Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60122->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60122->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43744->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43744->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:02Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46674->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46674->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36034->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36034->[::1]:53: read: connection refused" time="2024-01-06T23:40:02Z" level=debug msg="Handle update commit state" time="2024-01-06T23:40:02Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" time="2024-01-06T23:40:02Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" time="2024-01-06T23:40:07Z" level=debug msg="Wait complete" time="2024-01-06T23:40:07Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:40:07Z" level=debug msg="Handle update commit state" time="2024-01-06T23:40:07Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2024-01-06T23:40:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276353329/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules276353329/work/payloads/0000/tree" time="2024-01-06T23:40:07Z" level=debug msg="Committing new artifact name: artifact-name" time="2024-01-06T23:40:07Z" level=debug msg="Committing new artifact group name: " time="2024-01-06T23:40:07Z" level=debug msg="Committing new artifact type-info provides" time="2024-01-06T23:40:07Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2024-01-06T23:40:07Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2024-01-06T23:40:07Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2024-01-06T23:40:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:07Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2024-01-06T23:40:07Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:40:07Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:40:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276353329/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules276353329/work/payloads/0000/tree" time="2024-01-06T23:40:07Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2024-01-06T23:40:07Z" level=debug msg="Handling update status report state" time="2024-01-06T23:40:07Z" level=debug msg="Reporting complete" time="2024-01-06T23:40:07Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (5.22s) 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="2024-01-06T23:40:07Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2024-01-06T23:40:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:07Z" level=debug msg="Handle update check state" time="2024-01-06T23:40:07Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2024-01-06T23:40:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:07Z" level=debug msg="Executing script: Download_Enter_00" time="2024-01-06T23:40: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]:40014->[::1]:53: read: connection refused" time="2024-01-06T23:40: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]:40014->[::1]:53: read: connection refused" time="2024-01-06T23:40: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]:39941->[::1]:53: read: connection refused" time="2024-01-06T23:40: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]:39941->[::1]:53: read: connection refused" time="2024-01-06T23:40:07Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:40:07Z" level=debug msg="Handling update fetch state" time="2024-01-06T23:40:07Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2024-01-06T23:40:07Z" level=debug msg="Handling update install state" time="2024-01-06T23:40:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules178837614/device_type" time="2024-01-06T23:40:07Z" level=debug msg="device_type=test-device" time="2024-01-06T23:40:07Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:40:07Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:40:07Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2024-01-06T23:40:07Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2024-01-06T23:40:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules178837614/artifact_info file." time="2024-01-06T23:40:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules178837614/artifact_info" time="2024-01-06T23:40:07Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:40:07Z" level=debug msg="Current manifest data: old_name" time="2024-01-06T23:40:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules178837614/artifact_info" time="2024-01-06T23:40:07Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:40:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules178837614/device_type" time="2024-01-06T23:40:07Z" level=debug msg="device_type=test-device" time="2024-01-06T23:40:07Z" level=debug msg="Current manifest data: test-device" time="2024-01-06T23:40:07Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2024-01-06T23:40:07Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2024-01-06T23:40:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" time="2024-01-06T23:40:07Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2024-01-06T23:40:07Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2024-01-06T23:40:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" time="2024-01-06T23:40:07Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:40:07Z" level=debug msg="Module supports rollback" time="2024-01-06T23:40:07Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2024-01-06T23:40:07Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2024-01-06T23:40:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:07Z" level=debug msg="Executing script: Download_Leave_00" time="2024-01-06T23:40: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]:52034->[::1]:53: read: connection refused" time="2024-01-06T23:40: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]:52034->[::1]:53: read: connection refused" time="2024-01-06T23:40: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]:46168->[::1]:53: read: connection refused" time="2024-01-06T23:40: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]:46168->[::1]:53: read: connection refused" time="2024-01-06T23:40:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:08Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2024-01-06T23:40: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]:53552->[::1]:53: read: connection refused" time="2024-01-06T23:40: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]:53552->[::1]:53: read: connection refused" time="2024-01-06T23:40: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]:55145->[::1]:53: read: connection refused" time="2024-01-06T23:40: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]:55145->[::1]:53: read: connection refused" time="2024-01-06T23:40:08Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2024-01-06T23:40:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" time="2024-01-06T23:40:08Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2024-01-06T23:40:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" time="2024-01-06T23:40:08Z" level=debug msg="Update module output: Yes" time="2024-01-06T23:40:08Z" level=debug msg="Module needs custom reboot" time="2024-01-06T23:40:08Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2024-01-06T23:40:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:08Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2024-01-06T23:40: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]:60822->[::1]:53: read: connection refused" time="2024-01-06T23:40: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]:60822->[::1]:53: read: connection refused" time="2024-01-06T23:40: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="2024-01-06T23:40: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]:42052->[::1]:53: read: connection refused" time="2024-01-06T23:40:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:08Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2024-01-06T23:40: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]:32835->[::1]:53: read: connection refused" time="2024-01-06T23:40: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]:32835->[::1]:53: read: connection refused" time="2024-01-06T23:40: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]:57902->[::1]:53: read: connection refused" time="2024-01-06T23:40: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]:57902->[::1]:53: read: connection refused" time="2024-01-06T23:40:08Z" level=debug msg="Handling reboot state" time="2024-01-06T23:40:08Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:40:08Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2024-01-06T23:40:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" time="2024-01-06T23:40:08Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:40:08Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2024-01-06T23:40:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" time="2024-01-06T23:40:08Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2024-01-06T23:40:08Z" level=debug msg="Handling state after reboot" time="2024-01-06T23:40:08Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:40:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:08Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2024-01-06T23:40: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]:41040->[::1]:53: read: connection refused" time="2024-01-06T23:40: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]:41040->[::1]:53: read: connection refused" time="2024-01-06T23:40: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]:57686->[::1]:53: read: connection refused" time="2024-01-06T23:40: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]:57686->[::1]:53: read: connection refused" time="2024-01-06T23:40:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:08Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2024-01-06T23:40: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]:52452->[::1]:53: read: connection refused" time="2024-01-06T23:40: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]:52452->[::1]:53: read: connection refused" time="2024-01-06T23:40: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]:48882->[::1]:53: read: connection refused" time="2024-01-06T23:40: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]:48882->[::1]:53: read: connection refused" time="2024-01-06T23:40:08Z" level=debug msg="Handle update commit state" time="2024-01-06T23:40:08Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" time="2024-01-06T23:40:08Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" time="2024-01-06T23:40:13Z" level=debug msg="Wait complete" time="2024-01-06T23:40:13Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:40:13Z" level=debug msg="Handle update commit state" time="2024-01-06T23:40:13Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" time="2024-01-06T23:40:13Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" time="2024-01-06T23:40:18Z" level=debug msg="Wait complete" time="2024-01-06T23:40:18Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:40:18Z" level=debug msg="Handle update commit state" time="2024-01-06T23:40:18Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" time="2024-01-06T23:40:18Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" time="2024-01-06T23:40:23Z" level=debug msg="Wait complete" time="2024-01-06T23:40:23Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" time="2024-01-06T23:40:23Z" level=debug msg="Handle update commit state" time="2024-01-06T23:40:23Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" time="2024-01-06T23:40:23Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" time="2024-01-06T23:40:23Z" level=error msg="transient error: Tried sending status report maximum number of times." time="2024-01-06T23:40:23Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" time="2024-01-06T23:40:23Z" level=debug msg="Transitioning to error state" time="2024-01-06T23:40:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:23Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33444->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33444->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36921->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36921->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:23Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57220->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57220->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35385->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35385->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=info msg="Performing rollback" time="2024-01-06T23:40:23Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2024-01-06T23:40:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" time="2024-01-06T23:40:23Z" level=debug msg="Will try to rollback reboot the device" time="2024-01-06T23:40:23Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2024-01-06T23:40:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:23Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46045->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46045->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55437->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55437->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:23Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56824->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56824->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43720->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43720->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=info msg="Rebooting device(s) after rollback" time="2024-01-06T23:40:23Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2024-01-06T23:40:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" time="2024-01-06T23:40:23Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:40:23Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2024-01-06T23:40:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" time="2024-01-06T23:40:23Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2024-01-06T23:40:23Z" level=debug msg="Handling state after rollback reboot" time="2024-01-06T23:40:23Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2024-01-06T23:40:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:23Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53775->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53775->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41881->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41881->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:23Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48456->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48456->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51305->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51305->[::1]:53: read: connection refused" time="2024-01-06T23:40:23Z" level=debug msg="Handle update error state" time="2024-01-06T23:40:23Z" level=debug msg="Executing ModuleInstaller.Failure" time="2024-01-06T23:40:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" time="2024-01-06T23:40:23Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2024-01-06T23:40:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:23Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2024-01-06T23:40:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:23Z" level=debug msg="Handling Cleanup state" time="2024-01-06T23:40:23Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2024-01-06T23:40:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" time="2024-01-06T23:40:23Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2024-01-06T23:40:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:40:23Z" level=debug msg="Handling update status report state" time="2024-01-06T23:40:23Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2024-01-06T23:40:23Z" level=debug msg="Reporting complete" time="2024-01-06T23:40:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules178837614/artifact_info file." time="2024-01-06T23:40:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules178837614/artifact_info" time="2024-01-06T23:40:23Z" level=debug msg="artifact_name=old_name" time="2024-01-06T23:40:23Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (15.32s) PASS --- PASS: TestStateTransitionsWithUpdateModules (52.25s) --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_reboot,_no_rollback (0.20s) --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_rollback (0.32s) --- PASS: TestStateTransitionsWithUpdateModules/Normal_install (0.31s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_state,_no_rollback (0.12s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_state,_no_rollback (0.15s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_state,_no_rollback (0.23s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_state,_no_rollback (0.26s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall (0.31s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall (0.20s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot (0.27s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot (0.32s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyReboot (0.34s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyReboot (0.30s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback (0.28s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback (0.35s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot (0.30s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot (0.35s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyRollbackReboot (0.39s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyRollbackReboot (0.38s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure (0.23s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure (0.33s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Cleanup (0.33s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Cleanup (0.35s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit (0.30s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit (0.29s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit,_no_reboot (0.28s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit,_no_reboot (0.30s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Enter_00_state,_no_rollback (0.06s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Enter_00_state,_no_rollback (0.08s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00_state,_no_rollback (0.19s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00_state,_no_rollback (0.20s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00 (0.24s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00 (0.22s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Enter_00 (0.32s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Enter_00 (0.32s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Enter_00 (0.25s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Enter_00 (0.40s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Enter_00 (0.37s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Enter_00 (0.37s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Enter_00 (0.25s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Enter_00 (0.27s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00 (0.35s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00 (0.36s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00,_no_reboot (0.35s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00,_no_reboot (0.31s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Leave_00_state,_no_rollback (0.17s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Leave_00_state,_no_rollback (0.20s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00_state,_no_rollback (0.26s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00_state,_no_rollback (0.32s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00 (0.34s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00 (0.28s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Leave_00 (0.30s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Leave_00 (0.37s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Leave_00 (0.40s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Leave_00 (0.43s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Leave_00 (0.34s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Leave_00 (0.38s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Leave_00 (0.24s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Leave_00 (0.36s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00 (0.26s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00 (0.23s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00,_no_reboot (0.26s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00,_no_reboot (0.24s) --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_error_loop (1.36s) --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_spontaneous_reboot_loop (1.72s) --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_Download_state (5.24s) --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_ArtifactInstall (5.22s) --- PASS: TestStateTransitionsWithUpdateModules/Temporary_failure_in_report_sending_after_reboot (5.27s) --- PASS: TestStateTransitionsWithUpdateModules/Permanent_failure_in_report_sending_after_reboot (15.35s) === RUN TestDBSchemaUpdate --- PASS: TestDBSchemaUpdate (0.00s) === RUN TestAutomaticReboot time="2024-01-06T23:40:23Z" level=info msg="Running Mender client version: unknown" time="2024-01-06T23:40:23Z" level=debug msg="Handling reboot state" time="2024-01-06T23:40:23Z" level=info msg="Rebooting device(s)" time="2024-01-06T23:40:23Z" level=error msg="transient error: Could not reboot host: exit status 99" time="2024-01-06T23:40:23Z" level=debug msg="Setting artifact name to _INCONSISTENT" --- PASS: TestAutomaticReboot (0.01s) === RUN TestTransitions time="2024-01-06T23:40:23Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" === RUN TestTransitions/0 time="2024-01-06T23:40:23Z" 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="2024-01-06T23:40:23Z" 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="2024-01-06T23:40:23Z" 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="2024-01-06T23:40:23Z" level=info msg="State transition: init [Sync] -> init [Download_Enter]" transition_test.go:194: has: [{Sync Leave}] expect: [{Sync Leave}] === RUN TestTransitions/4 time="2024-01-06T23:40:23Z" 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="2024-01-06T23:40:23Z" level=info msg="State transition: init [ArtifactReboot_Enter] -> init [Error]" time="2024-01-06T23:40:23Z" 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="2024-01-06T23:40:23Z" level=info msg="State transition: init [none] -> init [Idle]" transition_test.go:194: has: [{Idle Enter}] expect: [{Idle Enter}] === RUN TestTransitions/7 time="2024-01-06T23:40:23Z" level=info msg="State transition: init [none] -> init [Error]" time="2024-01-06T23:40:23Z" level=debug msg="Transitioning to error state" transition_test.go:194: has: [{Error Enter}] expect: [{Error Enter}] === RUN TestTransitions/8 time="2024-01-06T23:40:23Z" level=info msg="State transition: init [Idle] -> init [Error]" time="2024-01-06T23:40:23Z" level=debug msg="Transitioning to error state" transition_test.go:194: has: [{Idle Error} {Error Enter}] expect: [{Idle Error} {Error Enter}] --- PASS: TestTransitions (0.00s) --- 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 230.227s === RUN TestAmbiguousArgumentsArgs time="2024-01-06T23:36:33Z" 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="2024-01-06T23:36:33Z" 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="2024-01-06T23:36:33Z" 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="2024-01-06T23:36:33Z" level=debug msg="Private key does not exist" time="2024-01-06T23:36:33Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:36:33Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:36:33Z" level=debug msg="No state data stored" time="2024-01-06T23:36:33Z" level=info msg="State transition: init [none] -> idle [Idle]" time="2024-01-06T23:36:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:36:33Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" time="2024-01-06T23:36:33Z" level=debug msg="Handle authorize wait state" time="2024-01-06T23:36:33Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2024-01-06T23:36:33Z" level=debug msg="Wait 0s before next authorization attempt" time="2024-01-06T23:36:33Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" time="2024-01-06T23:36:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:36:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:36:33Z" level=debug msg="Handle authorize state" time="2024-01-06T23:36:33Z" level=debug msg="Needs keys" time="2024-01-06T23:36:33Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2024-01-06T23:36:34Z" level=debug msg="Tenant token: " time="2024-01-06T23:36:34Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEArUNX34+CV0yqGqzuMhu5\nAuH7rK6HWi8eEhxmAMuuIrKuStDPn3vnZZepgmcw2BVXNnxBLE1tJ0iFfNb2EmS/\nxie04SyKJ1Db27L0T/bL2CFfua+wTXzzf50XrgkhB6oXzcBUj5rwWtzHxBDslJ4j\nvX5dEO3hTTpaX2JUdYeHVASJz9J6gnyNk/P6v6YF+cwBvGUshN1tb9/yQd3IkHR3\n7EP890/Ld0l42hpnH1PtHZUqFOB0JnPiOq4YsKWf+AMUvAa4VZ3DwhDl3FWIqRTh\nDyg2P8VHN1B8+hs6jvbYOjGkDM48H+fCOoj/oiTioe6MTUKP5dAPsZgmiECm6hmt\nVa4nl5Xj9+QJFkbGRW0UY3IpEBJful2c1U/u18K4sBKuwKAeUBP/oqrnUTPsEh4+\nb/29oPDAXsMOYDiESKSjujNzBJvXexLQA9PDyY9rWiqflWVH685VoTQWCq8Jqlc8\nUQAaRBBns2K7rh4pFOYGCXuG1qm28WJG8O+1eODSzEzHAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2024-01-06T23:36:34Z" level=debug msg="Making an authorization request () to server " time="2024-01-06T23:36:34Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x4000298370)}" time="2024-01-06T23:36:34Z" level=error msg="Authorization request error: http: no Host in request URL" time="2024-01-06T23:36:34Z" 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="2024-01-06T23:36:34Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" time="2024-01-06T23:36:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:36:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:36:34Z" level=debug msg="Handle authorize wait state" time="2024-01-06T23:36:34Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2024-01-06T23:36:34Z" level=debug msg="Wait 4m59.271155759s before next authorization attempt" time="2024-01-06T23:36:34Z" level=debug msg="SIGUSR1 signal received." time="2024-01-06T23:36:34Z" level=debug msg="Sent wake up!" time="2024-01-06T23:36:34Z" level=info msg="Forced wake-up from sleep" time="2024-01-06T23:36:34Z" level=error msg="Cannot check update or update inventory while in authorize state" time="2024-01-06T23:36:34Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" time="2024-01-06T23:36:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:36:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:36:34Z" level=debug msg="Handle authorize state" time="2024-01-06T23:36:34Z" level=debug msg="Tenant token: " time="2024-01-06T23:36:34Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEArUNX34+CV0yqGqzuMhu5\nAuH7rK6HWi8eEhxmAMuuIrKuStDPn3vnZZepgmcw2BVXNnxBLE1tJ0iFfNb2EmS/\nxie04SyKJ1Db27L0T/bL2CFfua+wTXzzf50XrgkhB6oXzcBUj5rwWtzHxBDslJ4j\nvX5dEO3hTTpaX2JUdYeHVASJz9J6gnyNk/P6v6YF+cwBvGUshN1tb9/yQd3IkHR3\n7EP890/Ld0l42hpnH1PtHZUqFOB0JnPiOq4YsKWf+AMUvAa4VZ3DwhDl3FWIqRTh\nDyg2P8VHN1B8+hs6jvbYOjGkDM48H+fCOoj/oiTioe6MTUKP5dAPsZgmiECm6hmt\nVa4nl5Xj9+QJFkbGRW0UY3IpEBJful2c1U/u18K4sBKuwKAeUBP/oqrnUTPsEh4+\nb/29oPDAXsMOYDiESKSjujNzBJvXexLQA9PDyY9rWiqflWVH685VoTQWCq8Jqlc8\nUQAaRBBns2K7rh4pFOYGCXuG1qm28WJG8O+1eODSzEzHAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2024-01-06T23:36:34Z" level=debug msg="Making an authorization request () to server " time="2024-01-06T23:36:34Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x40000b2570)}" time="2024-01-06T23:36:34Z" level=error msg="Authorization request error: http: no Host in request URL" time="2024-01-06T23:36:34Z" 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="2024-01-06T23:36:34Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" time="2024-01-06T23:36:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:36:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:36:34Z" level=debug msg="Handle authorize wait state" time="2024-01-06T23:36:34Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2024-01-06T23:36:34Z" level=debug msg="Wait 9m59.133161244s before next authorization attempt" time="2024-01-06T23:36:35Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2024-01-06T23:36:35Z" level=info msg="State transition: init [none] -> init [none]" time="2024-01-06T23:36:35Z" level=debug msg="No state data stored" time="2024-01-06T23:36:35Z" level=info msg="State transition: init [none] -> idle [Idle]" time="2024-01-06T23:36:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:36:35Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" time="2024-01-06T23:36:35Z" level=debug msg="Handle authorize wait state" time="2024-01-06T23:36:35Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2024-01-06T23:36:35Z" level=debug msg="Wait 0s before next authorization attempt" time="2024-01-06T23:36:35Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" time="2024-01-06T23:36:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:36:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:36:35Z" level=debug msg="Handle authorize state" time="2024-01-06T23:36:35Z" level=debug msg="Tenant token: " time="2024-01-06T23:36:35Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEArUNX34+CV0yqGqzuMhu5\nAuH7rK6HWi8eEhxmAMuuIrKuStDPn3vnZZepgmcw2BVXNnxBLE1tJ0iFfNb2EmS/\nxie04SyKJ1Db27L0T/bL2CFfua+wTXzzf50XrgkhB6oXzcBUj5rwWtzHxBDslJ4j\nvX5dEO3hTTpaX2JUdYeHVASJz9J6gnyNk/P6v6YF+cwBvGUshN1tb9/yQd3IkHR3\n7EP890/Ld0l42hpnH1PtHZUqFOB0JnPiOq4YsKWf+AMUvAa4VZ3DwhDl3FWIqRTh\nDyg2P8VHN1B8+hs6jvbYOjGkDM48H+fCOoj/oiTioe6MTUKP5dAPsZgmiECm6hmt\nVa4nl5Xj9+QJFkbGRW0UY3IpEBJful2c1U/u18K4sBKuwKAeUBP/oqrnUTPsEh4+\nb/29oPDAXsMOYDiESKSjujNzBJvXexLQA9PDyY9rWiqflWVH685VoTQWCq8Jqlc8\nUQAaRBBns2K7rh4pFOYGCXuG1qm28WJG8O+1eODSzEzHAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2024-01-06T23:36:35Z" level=debug msg="Making an authorization request () to server " time="2024-01-06T23:36:35Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x40000b31b0)}" time="2024-01-06T23:36:35Z" level=error msg="Authorization request error: http: no Host in request URL" time="2024-01-06T23:36:35Z" 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="2024-01-06T23:36:35Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" time="2024-01-06T23:36:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:36:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:36:35Z" level=debug msg="Handle authorize wait state" time="2024-01-06T23:36:35Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2024-01-06T23:36:35Z" level=debug msg="Wait 4m59.892015698s before next authorization attempt" time="2024-01-06T23:36:35Z" level=debug msg="SIGUSR2 signal received." time="2024-01-06T23:36:35Z" level=debug msg="Sent wake up!" time="2024-01-06T23:36:35Z" level=info msg="Forced wake-up from sleep" time="2024-01-06T23:36:35Z" level=error msg="Cannot check update or update inventory while in authorize state" time="2024-01-06T23:36:35Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" time="2024-01-06T23:36:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:36:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:36:35Z" level=debug msg="Handle authorize state" time="2024-01-06T23:36:35Z" level=debug msg="SIGUSR2 signal received." time="2024-01-06T23:36:35Z" level=debug msg="Sent wake up!" time="2024-01-06T23:36:35Z" level=info msg="Forced wake-up from sleep" time="2024-01-06T23:36:35Z" level=debug msg="Tenant token: " time="2024-01-06T23:36:35Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEArUNX34+CV0yqGqzuMhu5\nAuH7rK6HWi8eEhxmAMuuIrKuStDPn3vnZZepgmcw2BVXNnxBLE1tJ0iFfNb2EmS/\nxie04SyKJ1Db27L0T/bL2CFfua+wTXzzf50XrgkhB6oXzcBUj5rwWtzHxBDslJ4j\nvX5dEO3hTTpaX2JUdYeHVASJz9J6gnyNk/P6v6YF+cwBvGUshN1tb9/yQd3IkHR3\n7EP890/Ld0l42hpnH1PtHZUqFOB0JnPiOq4YsKWf+AMUvAa4VZ3DwhDl3FWIqRTh\nDyg2P8VHN1B8+hs6jvbYOjGkDM48H+fCOoj/oiTioe6MTUKP5dAPsZgmiECm6hmt\nVa4nl5Xj9+QJFkbGRW0UY3IpEBJful2c1U/u18K4sBKuwKAeUBP/oqrnUTPsEh4+\nb/29oPDAXsMOYDiESKSjujNzBJvXexLQA9PDyY9rWiqflWVH685VoTQWCq8Jqlc8\nUQAaRBBns2K7rh4pFOYGCXuG1qm28WJG8O+1eODSzEzHAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2024-01-06T23:36:35Z" level=debug msg="Making an authorization request () to server " time="2024-01-06T23:36:35Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x400030c1a0)}" time="2024-01-06T23:36:35Z" level=error msg="Authorization request error: http: no Host in request URL" time="2024-01-06T23:36:35Z" 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="2024-01-06T23:36:35Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" time="2024-01-06T23:36:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:36:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2024-01-06T23:36:35Z" level=debug msg="Handle authorize wait state" time="2024-01-06T23:36:35Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2024-01-06T23:36:35Z" level=debug msg="Wait 9m59.726584905s before next authorization attempt" --- PASS: TestRunDaemon (3.02s) === 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.15 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.15 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="2024-01-06T23:36:36Z" 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/reproducible-path/mender-client-2.4.1/obj-aarch64-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.15 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="2024-01-06T23:36:36Z" level=debug msg="Should show" func=github.com/mendersoftware/mender/cli.TestLoggingOptions file="/build/reproducible-path/mender-client-2.4.1/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mender/cli/cli_test.go:172" time="2024-01-06T23:36:36Z" 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/reproducible-path/mender-client-2.4.1/obj-aarch64-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.15 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.15 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.15 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 (3.13s) === RUN TestPrintArtifactName foobar db-name foobar --- PASS: TestPrintArtifactName (0.16s) === RUN TestGetMenderDaemonPID --- PASS: TestGetMenderDaemonPID (0.02s) === RUN TestInvalidServerCertificateBoot --- PASS: TestInvalidServerCertificateBoot (0.10s) === 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): [codethink02-arm64] 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): [codethink02-arm64] 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): [codethink02-arm64] 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): [codethink02-arm64] 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.534s === RUN TestClientAuthMakeReq client_auth_test.go:75: data: foobar data --- PASS: TestClientAuthMakeReq (0.00s) === RUN TestClientAuth --- PASS: TestClientAuth (6.00s) === RUN TestClientAuthExpiredCert time="2024-01-06T23:36:36Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:44461/api/devices/v1/authentication/auth_requests\", Err:certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt}" time="2024-01-06T23:36:36Z" level=error msg="Authorization request error: certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt" --- PASS: TestClientAuthExpiredCert (0.89s) === RUN TestClientAuthUnknownAuthorityCert time="2024-01-06T23:36:36Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:33037/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="2024-01-06T23:36:36Z" level=error msg="Authorization request error: certificate signed by unknown authority, openssl verify rc: 20 server cert file: testdata/server.unknown-authority.crt" 2024/01/06 23:36:36 http: TLS handshake error from 127.0.0.1:52612: read tcp 127.0.0.1:33037->127.0.0.1:52612: use of closed network connection --- PASS: TestClientAuthUnknownAuthorityCert (0.45s) === RUN TestClientAuthDepthZeroSelfSignedCert time="2024-01-06T23:36:39Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:36169/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="2024-01-06T23:36:39Z" 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 (2.53s) === RUN TestClientAuthEndEntityKeyTooSmall time="2024-01-06T23:36:40Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:40423/api/devices/v1/authentication/auth_requests\", Err:end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt}" time="2024-01-06T23:36:40Z" level=error msg="Authorization request error: end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt" 2024/01/06 23:36:40 http: TLS handshake error from 127.0.0.1:37208: read tcp 127.0.0.1:40423->127.0.0.1:37208: use of closed network connection --- PASS: TestClientAuthEndEntityKeyTooSmall (0.75s) === RUN TestClientAuthNoCert time="2024-01-06T23:36:40Z" 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="2024-01-06T23:36:40Z" 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.21s) === RUN TestClientAuthHostValidationNocheck --- PASS: TestClientAuthHostValidationNocheck (2.32s) === RUN TestClientAuthHostValidationError time="2024-01-06T23:36:42Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:43637/api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x4000072cc0)}" time="2024-01-06T23:36:42Z" level=error msg="Authorization request error: Host validation error" --- PASS: TestClientAuthHostValidationError (0.13s) === RUN TestClientAuthNotValidCertificate time="2024-01-06T23:36:43Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:32983/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="2024-01-06T23:36:43Z" level=error msg="Authorization request error: not a valid certificate, openssl verify rc: 67 server cert file: testdata/server.ca.key.too.small.crt" 2024/01/06 23:36:43 http: TLS handshake error from 127.0.0.1:48682: read tcp 127.0.0.1:32983->127.0.0.1:48682: use of closed network connection --- PASS: TestClientAuthNotValidCertificate (0.25s) === RUN TestInventoryClient time="2024-01-06T23:36:43Z" level=error msg="Failed to submit inventory data: foo" time="2024-01-06T23:36:45Z" level=error msg="Got unexpected HTTP status when submitting to inventory: 401" --- PASS: TestInventoryClient (2.03s) === RUN TestLogUploadClient time="2024-01-06T23:36:45Z" level=error msg="failed to upload logs: foo" time="2024-01-06T23:36:47Z" level=error msg="Got unexpected HTTP status when uploading log: 401" --- PASS: TestLogUploadClient (2.06s) === RUN TestStatusClient time="2024-01-06T23:36:47Z" level=error msg="Failed to report status: foo" time="2024-01-06T23:36:50Z" level=error msg="Got unexpected HTTP status when reporting status: 401" time="2024-01-06T23:36:50Z" level=warning msg="Status report rejected, deployment aborted at the backend" --- PASS: TestStatusClient (2.80s) === RUN TestHttpClient time="2024-01-06T23:36:50Z" 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="2024-01-06T23:36:50Z" 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.91s) === RUN TestApiClientRequest time="2024-01-06T23:36:52Z" level=info msg="Device unauthorized; attempting reauthorization" time="2024-01-06T23:36:52Z" level=warning msg="Reauthorization failed with error: " time="2024-01-06T23:36:52Z" level=info msg="Device unauthorized; attempting reauthorization" --- PASS: TestApiClientRequest (1.93s) === RUN TestClientConnectionTimeout 2024/01/06 23:36:55 http: TLS handshake error from 127.0.0.1:44404: write tcp 127.0.0.1:39419->127.0.0.1:44404: use of closed network connection --- PASS: TestClientConnectionTimeout (2.59s) === RUN TestHttpClientUrl --- PASS: TestHttpClientUrl (0.00s) === RUN TestLoadingTrust === RUN TestLoadingTrust/Test_loading_server_trust time="2024-01-06T23:36:55Z" 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.28s) --- PASS: TestLoadingTrust/Test_loading_server_trust (0.27s) --- PASS: TestLoadingTrust/Test_loading_client_trust (0.01s) === RUN TestExponentialBackoffTimeCalculation --- PASS: TestExponentialBackoffTimeCalculation (0.00s) === RUN TestUnMarshalErrorMessage --- PASS: TestUnMarshalErrorMessage (0.00s) === RUN TestFailoverAPICall time="2024-01-06T23:36:55Z" level=warning msg="Server \"fakeURL.404\" failed to serve request \"\". Attempting \"https://127.0.0.1:33089\"" --- PASS: TestFailoverAPICall (2.97s) === 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/0 === CONT TestParseUpdateResponse/8 === 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/0 (0.00s) --- PASS: TestParseUpdateResponse/8 (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="2024-01-06T23:36:58Z" 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="2024-01-06T23:36:58Z" 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 (2.68s) === RUN Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing --- PASS: Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing (1.82s) === RUN Test_GetScheduledUpdate_ParsingResponseOK_updateSuccess time="2024-01-06T23:37:05Z" 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 (2.20s) === RUN Test_FetchUpdate_noContent_UpdateFailing time="2024-01-06T23:37:05Z" 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="2024-01-06T23:37: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" time="2024-01-06T23:37:07Z" level=error msg="Can not fetch update image: Get \"https://127.0.0.1:45095\": depth zero self-signed certificate, openssl verify rc: 18 server cert file: server.crt" --- PASS: Test_FetchUpdate_noContent_UpdateFailing (2.01s) === RUN Test_FetchUpdate_invalidRequest_UpdateFailing time="2024-01-06T23:37:07Z" level=error msg="Can not fetch update image: Get \"broken-request\": unsupported protocol scheme \"\"" --- PASS: Test_FetchUpdate_invalidRequest_UpdateFailing (0.06s) === RUN Test_FetchUpdate_correctContent_UpdateFetched --- PASS: Test_FetchUpdate_correctContent_UpdateFetched (2.99s) === RUN Test_UpdateApiClientError time="2024-01-06T23:37:10Z" 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 (6.14s) === 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/improperlyFormattedContentRange === CONT TestBrokenReadAndPartialDownload/group/noPartialContentSupport === CONT TestBrokenReadAndPartialDownload/group/lateRangeStart === CONT TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange === CONT TestBrokenReadAndPartialDownload/group/emptyContentRange === CONT TestBrokenReadAndPartialDownload/group/brokenContentLength === CONT TestBrokenReadAndPartialDownload/group/garbledContentStart === CONT TestBrokenReadAndPartialDownload/group/serverDown === CONT TestBrokenReadAndPartialDownload/group/serverDownAndUp === CONT TestBrokenReadAndPartialDownload/group/earlyRangeStart === CONT TestBrokenReadAndPartialDownload/group/missingContentLength time="2024-01-06T23:37:16Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:16Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:16Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:16Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:16Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:16Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:16Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:16Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:16Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:16Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:16Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:16Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:16Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:16Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:17Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:17Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:17Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:17Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:17Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:17Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:17Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:17Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:17Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:17Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:17Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:17Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:17Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:17Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:17Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:17Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:17Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:17Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:17Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:17Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:17Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:18Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:18Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:18Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:18Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:18Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:18Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:18Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:18Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:18Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:18Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:18Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:18Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:18Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:18Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:18Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:18Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:18Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:18Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:18Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:18Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:18Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:18Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:18Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:18Z" level=info msg="Attempting to resume artifact download from offset 3406" time="2024-01-06T23:37:18Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:19Z" level=info msg="Attempting to resume artifact download from offset 3401" time="2024-01-06T23:37:19Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:19Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:19Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:19Z" level=info msg="Attempting to resume artifact download from offset 3406" time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:19Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:19Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:19Z" level=info msg="Attempting to resume artifact download from offset 3406" time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:19Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:20Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 3406" time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 5099" time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:20Z" level=info msg="Download resume request failed: Get \"http://localhost:9767/update_resumer_test.go\": dial tcp 127.0.0.1:9767: connect: connection refused" time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:21Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:21Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:21Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:21Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2024-01-06T23:37:21Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:21Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:22Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:22Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:22Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:22Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2024-01-06T23:37:22Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" time="2024-01-06T23:37:22Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:22Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:22Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:22Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:22Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:22Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:22Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:22Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:22Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:22Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2024-01-06T23:37:22Z" level=info msg="Download resume request failed: Get \"http://localhost:9767/update_resumer_test.go\": dial tcp 127.0.0.1:9767: connect: connection refused" time="2024-01-06T23:37:22Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:22Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:22Z" level=info msg="Attempting to resume artifact download from offset 6797" time="2024-01-06T23:37:22Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:22Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:22Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:22Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:22Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:22Z" level=info msg="Attempting to resume artifact download from offset 6812" time="2024-01-06T23:37:22Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:22Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:22Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:22Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:22Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:22Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:22Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:23Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:23Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:23Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:23Z" level=info msg="Attempting to resume artifact download from offset 6812" time="2024-01-06T23:37:23Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:23Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:24Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2024-01-06T23:37:24Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:24Z" 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="2024-01-06T23:37:24Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:24Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:24Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:24Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:24Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:24Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:24Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:24Z" level=info msg="Attempting to resume artifact download from offset 8495" === CONT TestBrokenReadAndPartialDownload/group/breakAfterShortRange time="2024-01-06T23:37:24Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:24Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:24Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:24Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:24Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2024-01-06T23:37:24Z" 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="2024-01-06T23:37:24Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:24Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:24Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:24Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:24Z" level=info msg="Attempting to resume artifact download from offset 8515" time="2024-01-06T23:37:24Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:24Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:24Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:24Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:24Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:24Z" level=info msg="Resuming download in 2s" === CONT TestBrokenReadAndPartialDownload/group/missingContentRange time="2024-01-06T23:37:25Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:25Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:25Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:25Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:25Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:25Z" level=info msg="Attempting to resume artifact download from offset 8515" === CONT TestBrokenReadAndPartialDownload/group/tooManyContentRanges time="2024-01-06T23:37:25Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:25Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:25Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:25Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2024-01-06T23:37:26Z" 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="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:27Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:27Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:27Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:27Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:27Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:27Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:27Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:27Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:27Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:27Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:27Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:27Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:28Z" level=info msg="Attempting to resume artifact download from offset 3401" time="2024-01-06T23:37:28Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:28Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:28Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:28Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:28Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:28Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:28Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:28Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:29Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2024-01-06T23:37:29Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:29Z" 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="2024-01-06T23:37:29Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:29Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:29Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:29Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:29Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:29Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:29Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:29Z" level=info msg="Attempting to resume artifact download from offset 6812" time="2024-01-06T23:37:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:30Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:30Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:30Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:30Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:30Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:30Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:30Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:30Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:30Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:30Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:30Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:30Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:30Z" level=info msg="Attempting to resume artifact download from offset 5099" time="2024-01-06T23:37:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:30Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:30Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:30Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:30Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:30Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:30Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:32Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:32Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:32Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:32Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2024-01-06T23:37:32Z" 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="2024-01-06T23:37:32Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:32Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:32Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:32Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:32Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:33Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:33Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:33Z" level=info msg="Attempting to resume artifact download from offset 6797" time="2024-01-06T23:37:33Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:33Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:33Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:33Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:33Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:33Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:33Z" level=info msg="Attempting to resume artifact download from offset 8515" time="2024-01-06T23:37:33Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:33Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:33Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:33Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:33Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:33Z" level=info msg="Attempting to resume artifact download from offset 1703" === CONT TestBrokenReadAndPartialDownload/group/missingBytesContentRange time="2024-01-06T23:37:33Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:33Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:33Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:33Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:33Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:33Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:33Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:33Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:33Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:33Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:33Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:34Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:34Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:34Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:35Z" level=info msg="Attempting to resume artifact download from offset 8495" time="2024-01-06T23:37:35Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:35Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:35Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:35Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:35Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:35Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:35Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2024-01-06T23:37:35Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:35Z" 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="2024-01-06T23:37:35Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:35Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:35Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:35Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:35Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:35Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:35Z" level=info msg="Resuming download in 1s" time="2024-01-06T23:37:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:36Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:36Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:36Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:36Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:36Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:36Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:36Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:38Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:38Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:38Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:38Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:38Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:38Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:40Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:40Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:40Z" level=info msg="Resuming download in 2s" time="2024-01-06T23:37:41Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:41Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:41Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:41Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:41Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:41Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:42Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:42Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:42Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:44Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:44Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:45Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:45Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:45Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:48Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:48Z" level=error msg="Download connection broken: unexpected EOF" time="2024-01-06T23:37:48Z" level=info msg="Resuming download in 3s" time="2024-01-06T23:37:51Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2024-01-06T23:37:52Z" level=error msg="Download connection broken: unexpected EOF" --- PASS: TestBrokenReadAndPartialDownload (35.53s) --- PASS: TestBrokenReadAndPartialDownload/group (0.00s) --- PASS: TestBrokenReadAndPartialDownload/group/earlyRangeStart (7.36s) --- PASS: TestBrokenReadAndPartialDownload/group/success (8.15s) --- PASS: TestBrokenReadAndPartialDownload/group/missingContentLength (8.64s) --- PASS: TestBrokenReadAndPartialDownload/group/serverDownAndUp (16.11s) --- PASS: TestBrokenReadAndPartialDownload/group/breakAfterShortRange (10.75s) --- PASS: TestBrokenReadAndPartialDownload/group/serverDown (18.18s) --- PASS: TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange (18.44s) --- PASS: TestBrokenReadAndPartialDownload/group/emptyContentRange (18.48s) --- PASS: TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange (19.37s) --- PASS: TestBrokenReadAndPartialDownload/group/brokenContentLength (19.49s) --- PASS: TestBrokenReadAndPartialDownload/group/garbledContentStart (19.49s) --- PASS: TestBrokenReadAndPartialDownload/group/lateRangeStart (19.49s) --- PASS: TestBrokenReadAndPartialDownload/group/noPartialContentSupport (19.81s) --- PASS: TestBrokenReadAndPartialDownload/group/tooManyContentRanges (18.50s) --- PASS: TestBrokenReadAndPartialDownload/group/missingContentRange (19.25s) --- PASS: TestBrokenReadAndPartialDownload/group/missingBytesContentRange (19.03s) PASS ok github.com/mendersoftware/mender/client 82.596s ? 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="2024-01-06T23:36:30Z" 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="2024-01-06T23:36:30Z" level=info msg="Loaded configuration file: mender.config" time="2024-01-06T23:36:30Z" level=info msg="Loaded configuration file: mender.config" --- PASS: Test_LoadConfig_correctConfFile_returnsConfiguration (0.00s) === RUN TestServerURLConfig time="2024-01-06T23:36:30Z" level=info msg="Loaded configuration file: mender.config" time="2024-01-06T23:36:30Z" level=info msg="Loaded configuration file: mender.config" time="2024-01-06T23:36:30Z" 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="2024-01-06T23:36:30Z" level=info msg="Loaded configuration file: /tmp/mendertest225413416/mender.conf" --- PASS: TestMultipleServersConfig (0.00s) === RUN TestConfigurationMergeSettings time="2024-01-06T23:36:30Z" level=info msg="Loaded configuration file: fallback.config" time="2024-01-06T23:36:30Z" level=info msg="Loaded configuration file: main.config" --- PASS: TestConfigurationMergeSettings (0.00s) === RUN TestConfigurationNeitherFileExistsIsNotError time="2024-01-06T23:36:30Z" 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.080s === RUN TestMenderState --- PASS: TestMenderState (0.00s) PASS ok github.com/mendersoftware/mender/datastore 0.065s === 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.15s) PASS ok github.com/mendersoftware/mender/device 0.189s === RUN TestBlockDeviceFail --- PASS: TestBlockDeviceFail (0.00s) === RUN TestBlockDeviceWrite time="2024-01-06T23:36:29Z" level=info msg="Opening device \"/tmp/mender-block-device-244936577/foo\" for writing" block_device_test.go:46: block device size called: &{0x400002a840} block_device_test.go:56: block device sector-size called: &{0x400002a8a0} time="2024-01-06T23:36:29Z" level=info msg="Native sector size of block device /tmp/mender-block-device-244936577/foo is 5 bytes. Mender will write in chunks of 1310720 bytes" time="2024-01-06T23:36:29Z" level=error msg="Failed to write 4 bytes to the new partition" time="2024-01-06T23:36:29Z" 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.00s) === RUN TestBlockDeviceSize block_device_test.go:46: block device size called: &{0x400002aae0} block_device_test.go:46: block device size called: &{0x400002ab40} --- 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="2024-01-06T23:36:29Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2024-01-06T23:36:29Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2024-01-06T23:36:29Z" level=info msg="Writing map[bootcnt:3] to the U-Boot environment, using separator: =" --- PASS: Test_EnvWrite_OSResponseOK_WritesOK (0.11s) === RUN Test_EnvWrite_OSResponseError_Fails time="2024-01-06T23:36:29Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2024-01-06T23:36:29Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2024-01-06T23:36:29Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exit status 1" time="2024-01-06T23:36:29Z" level=error msg="U-Boot variable malformed or error occurred" time="2024-01-06T23:36:29Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2024-01-06T23:36:29Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2024-01-06T23:36:29Z" 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.09s) === RUN Test_EnvRead_HaveVariable_ReadsVariable --- PASS: Test_EnvRead_HaveVariable_ReadsVariable (0.16s) === RUN Test_EnvRead_HaveEnvWarning_FailsReading time="2024-01-06T23:36:29Z" level=error msg="U-Boot variable malformed or error occurred" time="2024-01-06T23:36:29Z" level=error msg="U-Boot variable malformed or error occurred" --- PASS: Test_EnvRead_HaveEnvWarning_FailsReading (0.07s) === RUN Test_EnvRead_NonExisting_FailsReading time="2024-01-06T23:36:29Z" level=error msg="U-Boot variable malformed or error occurred" time="2024-01-06T23:36:29Z" level=error msg="U-Boot variable malformed or error occurred" --- PASS: Test_EnvRead_NonExisting_FailsReading (0.03s) === RUN Test_EnvCanary --- PASS: Test_EnvCanary (0.25s) === RUN Test_PermissionDenied time="2024-01-06T23:36:30Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2024-01-06T23:36:30Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2024-01-06T23:36:30Z" level=error msg="Could not execute fw_setenv: exec: \"fw_setenv\": executable file not found in $PATH" time="2024-01-06T23:36:30Z" 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="2024-01-06T23:36:30Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2024-01-06T23:36:30Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2024-01-06T23:36:30Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2024-01-06T23:36:30Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2024-01-06T23:36:30Z" level=info msg="Writing map[mender_uboot_separator:] to the U-Boot environment, using separator: " --- PASS: Test_ProbeSeparator (0.23s) === RUN Test_commitUpdate time="2024-01-06T23:36:30Z" 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="2024-01-06T23:36:30Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" time="2024-01-06T23:36:30Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2024-01-06T23:36:30Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2024-01-06T23:36:30Z" 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="2024-01-06T23:36:30Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" time="2024-01-06T23:36:30Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2024-01-06T23:36:30Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2024-01-06T23:36:30Z" 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.19s) === RUN Test_installUpdate_existingAndNonInactivePartition time="2024-01-06T23:36:30Z" level=info msg="Opening device \"/non/existing\" for writing" time="2024-01-06T23:36:30Z" level=error msg="Failed to read size of block device /non/existing: open /non/existing: no such file or directory" time="2024-01-06T23:36:30Z" level=info msg="Opening device \"inactivePart\" for writing" time="2024-01-06T23:36:30Z" level=info msg="Native sector size of block device inactivePart is 12 bytes. Mender will write in chunks of 1572864 bytes" time="2024-01-06T23:36:30Z" level=info msg="All bytes were successfully written to the new partition" time="2024-01-06T23:36:30Z" level=error msg="Failed to read a full frame of size: &{%!d(string=EOF)} from the block-device" time="2024-01-06T23:36:30Z" 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="2024-01-06T23:36:30Z" level=info msg="Wrote 12/12 bytes to the inactive partition" time="2024-01-06T23:36:30Z" level=info msg="Opening device \"inactivePart\" for writing" time="2024-01-06T23:36:30Z" 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="2024-01-06T23:36:30Z" level=info msg="No update available, so no rollback needed." time="2024-01-06T23:36:30Z" level=info msg="Rolling back to the active partition: (1)." time="2024-01-06T23:36:30Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2024-01-06T23:36:30Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2024-01-06T23:36:30Z" 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: &{0x40000a8000 map[] 2024-01-06 23:36:30.758495099 +0000 UTC m=+1.338548877 info Rolling back to the active partition: (1). } time="2024-01-06T23:36:31Z" level=info msg="Rolling back to the inactive partition (2)." time="2024-01-06T23:36:31Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2024-01-06T23:36:31Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2024-01-06T23:36:31Z" 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: &{0x40000a8000 map[] 2024-01-06 23:36:31.00679377 +0000 UTC m=+1.586847548 info Rolling back to the inactive partition (2). } --- PASS: Test_Rollback_OK (0.54s) === RUN TestDeviceVerifyReboot time="2024-01-06T23:36:31Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" time="2024-01-06T23:36:31Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" time="2024-01-06T23:36:31Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" time="2024-01-06T23:36:31Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" time="2024-01-06T23:36:31Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" time="2024-01-06T23:36:31Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" --- PASS: TestDeviceVerifyReboot (0.14s) === RUN TestInstall time="2024-01-06T23:36:31Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:36:31Z" level=info msg="No public key was provided for authenticating the artifact" --- PASS: TestInstall (0.05s) === RUN TestInstallSigned time="2024-01-06T23:36:31Z" level=info msg="No public key was provided for authenticating the artifact" time="2024-01-06T23:36:31Z" level=warning msg="Installer: Installing signed artifact without verification as verification key is missing" time="2024-01-06T23:36:31Z" level=info msg="Installer: authenticated digital signature of artifact" time="2024-01-06T23:36:31Z" level=info msg="Installer: authenticated digital signature of artifact" --- PASS: TestInstallSigned (0.03s) === RUN TestInstallNoSignature --- PASS: TestInstallNoSignature (0.01s) === RUN TestInstallWithScripts time="2024-01-06T23:36:31Z" level=info msg="No public key was provided for authenticating the artifact" --- PASS: TestInstallWithScripts (0.00s) === RUN TestCorrectUpdateProducerReturned time="2024-01-06T23:36:31Z" level=info msg="No public key was provided for authenticating the artifact" --- PASS: TestCorrectUpdateProducerReturned (0.01s) === RUN TestMultiplePayloadsRejected time="2024-01-06T23:36:31Z" level=info msg="No public key was provided for authenticating the artifact" --- PASS: TestMultiplePayloadsRejected (0.01s) === RUN TestStreamsTree --- PASS: TestStreamsTree (0.01s) === 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="2024-01-06T23:36:40Z" level=error msg="Process 3293228 timed out. Sending SIGTERM" === RUN TestModulesDownload/Module_download_never_exits time="2024-01-06T23:36:45Z" level=error msg="Process 3293664 timed out. Sending SIGTERM" --- PASS: TestModulesDownload (14.16s) --- PASS: TestModulesDownload/Mender_download (1.09s) --- PASS: TestModulesDownload/Module_download (0.06s) --- PASS: TestModulesDownload/Module_download_failure (0.06s) --- PASS: TestModulesDownload/Module_download_short_read_of_stream-next (0.03s) --- PASS: TestModulesDownload/Module_download_short_read_of_stream (0.01s) --- PASS: TestModulesDownload/Cannot_open_stream_file (0.14s) --- PASS: TestModulesDownload/files_dir_blocked_by_file (1.06s) --- PASS: TestModulesDownload/Mender_download_multiple_files (1.05s) --- PASS: TestModulesDownload/Module_download_multiple_files (0.16s) --- PASS: TestModulesDownload/Module_download_multiple_files,_downloads_only_one (0.08s) --- PASS: TestModulesDownload/Module_downloads_two_entries,_but_one_file (0.14s) --- PASS: TestModulesDownload/Module_download_doesn't_read_final_zero_entry (0.12s) --- PASS: TestModulesDownload/Module_download_fails_final_exit (0.11s) --- PASS: TestModulesDownload/Module_download_hangs (5.02s) --- PASS: TestModulesDownload/Module_download_never_exits (5.02s) === RUN Test_GetInactive_HaveActivePartitionSet_ReturnsInactive time="2024-01-06T23:36:45Z" level=warning msg="Could not resolve path link: /dev/mmc2 Attempting to continue" time="2024-01-06T23:36:45Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" time="2024-01-06T23:36:45Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" time="2024-01-06T23:36:45Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" time="2024-01-06T23:36:45Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" time="2024-01-06T23:36:45Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" time="2024-01-06T23:36:45Z" 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="2024-01-06T23:36:45Z" 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="2024-01-06T23:36:46Z" level=error msg="Mounted root '/dev/mmc1' does not match boot environment mender_boot_part: 2" --- PASS: Test_getActivePartition_noActiveInactiveSet (0.64s) === RUN Test_getAllMountedDevices --- PASS: Test_getAllMountedDevices (0.00s) === RUN TestMaybeResolveLink time="2024-01-06T23:36:46Z" 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.761s === RUN TestInventoryDataDecoder --- PASS: TestInventoryDataDecoder (0.00s) PASS ok github.com/mendersoftware/mender/inventory 0.070s ? github.com/mendersoftware/mender/log/syslog [no test files] === RUN TestStore --- PASS: TestStore (0.00s) === RUN TestExecutor time="2024-01-06T23:36:29Z" level=error msg="statescript: Ignoring script '/tmp/rootfs_scripts266546211/Download_Enter_00' being not executable" time="2024-01-06T23:36:29Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " time="2024-01-06T23:36:29Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " time="2024-01-06T23:36:29Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " time="2024-01-06T23:36:29Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " time="2024-01-06T23:36:29Z" level=error msg="statescript: Ignoring error executing 'ArtifactInstall_Leave_02': 1: exit status 1" time="2024-01-06T23:36:29Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " time="2024-01-06T23:36:29Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave_100' will not be run " time="2024-01-06T23:36:29Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " time="2024-01-06T23:36:29Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave_100' will not be run " time="2024-01-06T23:36:29Z" level=info msg="Collected output (stderr) while running script /tmp/art_scripts480424148/ArtifactInstall_Leave_00\nerror data\n\n---------- end of script output" time="2024-01-06T23:36:29Z" level=info msg="Collected output (stderr) while running script /tmp/art_scripts480424148/ArtifactInstall_Leave_11 (Truncated to 10KB)\nl߁\x00\x81A\x11P\xc2`WZʩ\x86W!\xa7v\xc7\xefL\x8bIWp\xd0\x12\xa2\x9d\a\xc0\xa2\xc7]\xd3eH\r\xe4a\x85\"ô}R\x15\xf1\xe7\xbcd\x8f\x8f\rad\xd7ӗ\x05^\x9d\x012AB\x93\xaf\x91\xa6\"*\xec\xf0\x9f\x1fx\x9f\xb0\fM\x01훱\xf4\xc54\xb5\xc8\xde\xc9FV\x13\xfcZ\x96\xc6F\xf8-\x1cJ\xc0\f\x80\x86W\xe2\xcd\xc4\x15\x14\xa8\xb7CCO|B\xa3\xfe)\xd7\xe5\xb4\xd6=D\x1e\tsdJ\xcddg\xe0\xc2*\x11S9D\x9e\xd1\xe1\xb9'YY\x13T\xd2\n\x11\xc2$\xbfX(\xc6\x01/:\x8c\xa8W\xfd7d\x8f5\xea\xbc$I\xdf\xdb\xebR\x0f'7\xd8\xd3ݟ\x89ѷJ,\x15\xfe\xb6\x8e$\xfd\x82K\xff\xbf\x81\xad@\xbc\x15\x1bA|\xf3\xf05+\x99pY\x19\x04y\x1f\x95ɱ\xfe\x97\x01\xa7 䞺{xiĐ\x91\xc2cB\x9b\x9c\xe6\xa0g\x9e\x96\xacY\x8f,\xa3\xd0\x03\x16=\xe8\xc0\xb4*\bH\x1a\x1f\xd8\xed\xa3\xd4\x17\xe7\xc1\xd2V\xde!\xf3U\x16\\\xac\xbf\x90\x99\xdb\xd5\x0f\x03\x8cW\xcb[\xefIO\x02.9\x8d2s\xa2\xb8\x04m\tD!$\xbeb\xa0\xea2\x88`7C\x90D\\\x11P\xaa\x80\x98\x19$j\xf7\xfeW\xa2\ns\xbf\xdb}\xb3lo\xb90E}0\x8aBI\x19\xc4#a\x99z\x1e\xa0\xcbs\xc2}\xeeB\xabdd\xbfTc8(\xee\x8fK\xba\x10}\x9d\x1cr\f\xc19\xdf(\x01\x88\xd0P\\\x195^BKL]\xd1\xcd\a6K\x00\x1f\xef߾\v\xe7ڨ\x0eg\xc0\x8e+\x05ވ\x92U\xe9\x17\xa1'\xc9$}\xb8\xbd\xc1\xf29\xd0`\xb4\xff֦\xf2Չ\x82\x1c@6\xb8\xe2@e\xd3\xdf\xf7\xa5\xf2*\x91J遢K\x80Ə\xa0\xef\xc9\xe6S\x89/\xf5\x04!њB\xbe\xd7\xd3ò/\xc4x\xf8\xf5-\x91T^\xfa\xd0\bE\x1e\xab\xf2\xf8YK)N\xf3\xa6\x8dߒ[\x843ц^\x13&\x0f\xa4\x96H97s\x83\x11U&\x13\x1b8\xe7Q\x98X\x9bj̈́T\xccz\xa2U\n\xb9L0\xa6\x8f6\x19\xd7\xf6\xcfN\x80\xa7?\xc1X\xc3~ \xda\xe4p\xe3͵\xd8\x18\x0403bKˀ\xa6\xe1\xe8\xea\x89dc\xe4Ҷ\x0f\xad\xa9\xd71\xb9+\x03X\x9a\xa7c\x97\xf0\x84\xaeۘ\xddg\x11\xa8\x1f\xe9\xc0C6\x8c\x87\x05\x95\x11P\x9fU5j\xa1\xc3\xc0sn\x17G\t\x03\x90\x1fa\x9dݛD\x96\xc4\xcaQ@\x1bT\xca%{E3\xee[\xa7\xc4t<\x02\xe3\xfd[q\x1bB\x15$j+\x8e\rxw\x97\xee\xd4\xf5*^\x14\x85ǚ/~\x9d\xd8[\xac\x1b7\x87\t\x90\xd77\xfd\x85Yp\xba\x17\x19c\x02\xa4\xc4{\x11\xb70t\xc4=\x1c\xb7\xb2\xda+\x11\x98\xbd\xfe\xf3$cY\xa4Wj\x8al;\x95\xdeEГ\xc1\x03\x98\xd9\x18\x97f\x9996\x8dw?\x98\x0f\t<\xd0Q\xe5\x03\x80\x04\xadh\r\xa1ŧ\xcf\x17\xf6\x8b\xbb\xecBdu\xad>\"\bT0ȯ\xf7\x1cM6\xe58)\xcf)>\xb0G\x15\xbf\xf7\t\x9f\xa1\xcf\xee\xea\x9c\xeb:\x06/\x8dDd\x9d\x0f\xbe\x05ّ\xc1\x17S\xdb#\x91i\a\u007f̵\xa0=\x18bj\xef\xbd\t\xectdp\x81\xe9;\x93\xae\x00\x96ᱫ`\x8cv\x8b\feO$\xd4+\xf4\xfaj\x9b\x96\xfc\xc77\x1a\x8f\xddk\x8b\x81\xee\x82\xcfz\xa6k\xbfn\x1dy\x05K\x94iƕRv\xc9\xc7h\xd2uU\xb5\xb7\xb5\x15F\xe9z_\xfe\x93MA\x8c\x8d\\\xe4\xec\xa3\xe9˴\x05rg\xd19Z]\xe5:E\x9f\xbf\x9d\xbc\xae\x9eL\x98\xe08\xa9\xf2N\x8d\x97ޘ\xc1\x1b}te\xb6#\vb\xfdrc\x8a\xb4\x0f\x13\xe1\xdd\xc2j\xbd\r\x8b$u\v\x0e\xb8\u009c\xfa\x86iH\xab\nXV\x98\x80\xef\xbb/\x02\xe4Qi\x9bV\xf4\x92h\x04\x82+\x11V\xfd\x9a\xf8\b,4\x15~\x8aԒ(@B\xb7\xac\xfd`\x9b\xd2\x16\x95\r\x95c\xf7\x944\xba\xd9\xed\xdf\xe0\x15\xf8\xc5\v\xea(b!\U0006cb86g\xd8\xc9\xf0\x15\xcd[\xf8K@\xfa\x02\xa3\x045kv\xac\r\xf3\x0e\xe8u\x1d\xc4\xdf\xf1\xce\x17\xf0\xa5\x8em\xe6\xa6\xed\xe7h\xa15\\p^\x0e\t\x84\xb5Nk\x93\xfa\x17\xc2F#ß\xeaǜP\xdb]\xd1f{i@_1ák\x0eù\xd9\xea\xc5/\x9f賔C\xe3,k\x8b\x8et\xc5]\xf5\x8d\x96{\v\xaa\xf5\xd8\x13M\xe4\xbf\xc0ơ\xcd?\x93>hp\xac,\xb2\f\xdc\x163@8VҖ\xc8Z\xf3\xbf\x95#捰\xc1\x14\x85\xa5\xc0\xefe^\x01-+L\x83\xb3\xd9q\x06m[\xea<\xafd\vb\x1b\xe9\xf1\x93\xc5k\x97\x9a\xda\x0eb\xf3\xf0%\x8d6\t!\xfd\x95\xfe\x91J>\xbf\x05/8\x12\xef\xda\xf1\x88u\f\x01\xe9۞J_7zgUC\x10헞<\x1d\xf8r#4\xa6\xcd,\xb0\x06*\xff\x96\xfc%ȵ\xebh\xaf\x064\xb5\x8f\x06\x03E\x19\x04q틏Lh\x82\x83\xd1\x12w$\x04\xf2\x98\xf8\x97̇\x00\xa2\xe8RY2\x15u\xa0\xb7\a\x1bŒ1I_?H\xa6\t\xc5\x05\xae\x02Y\xbdK\xa8@\xfa\xdeyBLߙ\xdb\xf6-\x9a\xe9\nu\x95n\f\x19D\x94\x8e\xb7\x1b\xa5\xf3\xe0J\x11\x10\x8a\xf52\x1c\xa0\xc8\xd4L\x1df\xcf\xff\xa6\x940\xeeA\x0fd_2L҅\x1c\x98\xfcv\x0eB\xd5~uH\xbeyb\"\xbc\xba\xe4R\u007f\xec\x999=-{1\x9c\x12\x16\xf88\uea10e\xdd\x18ܫ\bP\u007f\"\x18\xfe\xd6%\x938$S`\xaf\fh\xe7\xfa\x9coCTs\x01\x02/\xfcz!W\ti\xad\x95\xae/\xbdB\xf9\xaa\x8cm1uP\xc3\xeb\xf6\xc1\x85\x06\xa1\x87J\xd0\xff\x0e\fgV-w\xd6\xcf\xd32\x19\xde\xe1\x01{+\xb8\xeb\x8b\t\vl9\xdf\x1a9+Ь\x18\x9d\xd1ѭ\xf3\x0f\x03\xbf\x11s3\xb1\xb6<'P\x14`ӆ\x9b\xc4kq\x9c\x1d\xfbz\x1ej\x9b\x0efM\xd9\xf1B\x96\x18rr\x96u3K\xadEI\"*HC\xf1W\x18\x96&\xef\xb3\x1b\xc1~u\x19\x8e\x03\xca\xf3\x8b\xae\x06\\~\x97\x97\xe1\x9cy\xa8U\xcd\xc1pG-\x1e1/kH\nI9\xc7\x12\x93'\r仸\x89\x1a\xc0\xb6P\xbct㢚\xf0\xbc7\t΄\xe4^\xab\xae\xc7+ˆsbǨ\xe6\xb6\xfbrEȓ\xf3\x03\xbd|\xe5\xe9R\xb9\xf3\x8a\x9d#\xadՠ>b\xb6\x18\xdd\x1f3\xd4Ըn\xa0ٰ\xc1\xb5\xa2\xe5\\\xf9\xe5\xc3\a\xf9DE\xcb+\xfdA/\xa8\xb1ly\x86\"\xc4\"\xcb\xfd\x01\xe8\x87,\x1c{B\xa5\x84\xdce=Pd\xfeG\xf2\xb3\x90\xca촞3<\xb1َ\x0e\x83E=[S\x12\x19\x1d\xb5\xc0\xaf\xdeG\xeb\aa{\xc2\xd3\xe7s\x06)\xfbQ\xa4\xe5=\xf9\x8e\xd8C\xbd\xea4\x9a9\xa8\xae\xf5\x1c\x88X\xc8o\x0fJ\xd4I\xfa\x04\xca*Y)g\xb1x\v\xf4\xc6\x1c\xae\x1ain\u0558\xfe\x0f\x01.\xa7h\xa7\x89XS1b\xf8\xc4r\xc6H\xc9\x10\x85\xaf\xc2\xf4\xe94+\x8d\rE#\xe7\xd4\xec\xf93e:\xbf\xb1W\x81'\xd4\x1e\x19\x1d\x86\x95m\x86\xf5r\xac^\xafEx\xa2\xaa<\v2_\xb8\xcb\x0f\xd8Ί\x11\xfc\xd4\xfd\xe6\x91htF[̔yP\xcdV\xe3>\x0e];\x84\x0e\x95)\x92E\x1fhݽ\xf3\x16\xf8\x1c\xe7c\x06\xec\xb7\x1a!\xc6e\xb3W{\xe1\x10J\xb1\x9d0\x88\x0eVڌM\xbcގ\vų\xcfs\xa8\x98s\xd3\xc0G\xee\xa7ZŊ\u05eb\x04o\t\x0f\xb3\x97\xdf}j\xd7lv_ׇ\x9ad7\x80\xfc\xa4\xb0\xb5\xd8!\xd54\xda?@\xd7\xc8\x13d\x1a\x16nB\x80\x05\xd9iZ\x85\xaa\xff\x10f\x8a\xfd\f\xb6\x03\x86=3\xa2qٔ\x81\xa3\xcfv\x8d\xb9;:\xa2\x16\xed\xe0\x9a\x18\xbbv\x87N_\xa8\xab=Ӆ\xcd\xc0\x10\xfa\xdb8\xbe\u007f\xa4E\xa5ե\x12g\xa9\xb9!ј\x8a\xabD\xe6d\xaa\x14w\xcdS\x938\x8eq\v\x91\xd9\xfd\x93\x166T\xb1\x9d臫\xae1\xee̱/>Jᳫ\x106k\xe3\x1a$O\x1a\x1e\xcb\xc9v8/,a\xa5Q\b\xff)\x98\xa0\xbd\x9cy\xc5\xce\x15\xcb#\x06\xdf&\x16|\x88\x85\xbd\xa6\xf3\x12TLd\x1dD\xee\x8d8\xce-Ә5\xa6#\xf4\x86\"\xe4Ng&\xa1\xa2\xabg\xa9\a=\xccp\x9a\xeb\x13\xc7\u007f\x01\xb8\xceT\xf9\xe4\xbe5\xc4=\xad{J\x1b\x86\xa1\\o\xcc\xee{\xbc\xdc|\"\x0fO\x18\xb9 \xa9\x14,S7)Rb\xa1\xef\x11\xeb\xb9\xd6\xe6E\xb3g5\xed\xeb\x8c\xc8\t\xc8s\xc7\"\x0e\x16)\x9e(\x8fK\xe3\x83\x04c\x80\x81\xad>\xeb+Ͱôɷ\xef}\xddl\x9c\xd1\x1f+q4`\x83\xeeՀ\xd7\x03\xa1\xda\xcf*\xe2\xa1\x01\x81\xf2\x86ǁ\x82\x17\xfb\t\xf7\xfb\xf4\xd0EuEeh\xbc/\xb6\x99i\x90\xfd?qZ\x18W\xa37_\xe1R\b\xc9'\x9a\xe3\xd9\xc9K\x96\xa3\x88\x0eh6\xfcJ\x85\x82\xc9\x18&\xc0ßiE\xe6\xfad\x04\xef\x01\x1b\x16`\xfb\v\x8c9/\xf0\x83'I\x04P[\xf4\\\xe7q\xeek\xfb\xc6c\fB\xa2\x15]\x96\x06\x8c\xffBG\xdfh\xe9\b\xe4:\xe9\xbe\n\xa6;\xf25֢\x90\xba\x00\xc1?M\xa8\xde\xfc\xe2\x8ee߽\xbbR\xb1\x14\x18\xf8\xb4W\xf1\x9c\xf9\x9fv\x16YY\n\xb0XQc\x1fS6@\xc9\xd4\xf7\x8eP\xbe\xf51Z\xc1\xf5\x05\\\x89\x13\xa3=\x06A\x9f\x85#K\xe3L\x80`\tK|B\x976\x95Q\x94\xe9\x88\xd0f\x16\x0e\x11\xa7\xa5)\x1b\xaf:\x1b\xbf%\xa6 q\xbb\xafxe\xc3qS\x85\x99\xb0\xeb6\xf7\xdd(ͺ-\x91\x85\x81d7`\xd3mU\xdcRb,\x15\xe2+\x9d\xbc\xd4Y\x8b\xc7O\xec\x06F\x9e}@\xd0\xc4bgE\xd4(\x8euX\xfbo\x1c\xd4\xdd\xfc\xe3\xb3\xdd\xdb'\x1f\xbd\x1e \x1aJ)\x9a\x9d\x8cM(\xd1\xc7\xdeޤ\xae\x88Y\x17{\x14!\xa7*ٱ$\xd6`\x8d)\x8b\xf2\xb2Zk\xb8q&\b\x12De\x8c\x1e'Uh.f\f\xf6TU6\x14^3\vP\xaeE\xc9\xf4\x1c\x93`\xd0v\x8b\x963\x13\x9fK4\xd0y\xf2\xac\xb0:\xf9t\x81\xe8\xe1\x19[\x06\x95\xef\xcb#\xfd\xbf\x9dF\xea\xc8\"\xbbj\xdea\xa3+{\x02T\xe1|\xdbq\\\xe1Y\x85\xc9\xc0{V\xc01\x90k5\xb2h\x94\f\x88\x8e\x82\x02-?\x1d\xbd\xc3$\xaa\xdd\u007fF\xdb&韶\xc6\xc1\x10\x91{\xee\xee\x1f\x0ea\x99\xd1\xd6\xef\xf7\t\xfb\xd6\aS\xc2IS\xa8`0\x894\x8a\\\xdcN.\xd1롾(\xaf\xa2\xba\xc5\xca\x02'\x8d\x11C\x02A\xd1\x04\x99Ċb\x87\xf3}\x8f-\xbf\x90t$B\x1d\xa5\xa1#0\xe9T@\xc1\x9dJ\x1c\aS\xcd\xdb\xdeX\xd4 /\x9c\xb5\x11\xfa\x1d\xe7\xe1I\xbf}\x94C.\xfevwkmi\n\x97\x9f\xd0\xd2\xf2/\x1d\x85\x84dž\xe2d\x12)M\xc6&d\xde\xd5$\x96\xecv\xae\xed\x99\xe9|[\x1f\xd0\xc9\x1b\x90~\x8aLj\xe4BAr2\xd2]\x0fXf\xbf\xdf\x1e\xa4\xad3\xdc\xc1\xfd\xba@F\x1f\xfc\x97,\xf6\t$a\x1e\x17w\xbe\x8b\x83Cn\n\n\xf46\xa0(l8n\xe4O\xcf\xc9\xe27V\x0e\x85\f\rO\xc9q7P\x8f\xe49,\xc2\x11FJ\xde\xfa1,س\x90\xe7\v\xa4\xa4j\xe72\x8a\x98k\xf1\x8a-C\xe0\xea\xc5o\xee\u0530\x1b\x19\xc9\xffAF\x84\xfd:UeJ*\xcdv\x80\x91\xb9\"y\xe0\xf9U\xf4\\\xd2\xc0\xa2\x13';%^\xe6#\xa2\xde\xe4ny\xfdU1T\x809\x06\xfb\xaa\xb9.œ\x99\xacą\xf5W\xce\xffN\xd1F\\{a\x97\xf9I>\v\x99\xb1\x19c_i\x9a\xbeǠ\xf2\x11 \f\xbf\x11\x83\x00\xe3\xaaZ\xc4\xfa\xf6\xd8Aj\xa1\x85\xc2,\xef\xf9\x90]\xfa\x80\x98\xc0\xc8U#\xb1P<鮵\xc0u\xfc\x8f\x96\xab\x13\xc0\xa2\x82\xc0+\xcf\x1aj\xaf\f\xafMM6\x17@\u007f\x0f\xfa\xa9\xa6'+\xa9\xde\xc6؞\xb9e\xf0\x988l\xe8B\xb1b\x9f\xf2\xfc\xf2$\xee\x1c\xce5\u008eJQ\xabnA>\x83\xdf\xc65\xc1\xf3\xf4Z`\xadwu\x92zF\xc4\xfbc*\xb9\xb8I\xae\xa2\x00ֈ\xcb@\x1aqCtxU\xf3\x19\xa9\x10\xb4|?\xb1\x9cQ\x153\xe8\x036\xe5\x8cX5`\x05\xf8\xcb\x01=\xdf\x11\xf7\x8d\x93\xa7\x05\f%[\x89U\xed\xbbU\xe4:8\x8e?b\xce\x02\xb6\x1eo\xa8\x00\xefzHe\xeb\x8aL\x83\xc5g\xc7#\xf0\xdd:3m\x01S \xac\xed'\xa1!\xe8\xfce\x99\x91]\xd4jĤ\xa2b\xdf\x16\x0e\xe8`\xed\xa6\xd6H+\xd0\xcf\x1d]\xce\xf4\xaf+X\x83\bD\xf0\xcd\x16C\xcbd;\xc5g\xc9\xeeV\xca\xe9kQB\xd0:\xa6\x9fA(\x03\r\xea)\xee\xe0\xcd}\xee\x8e\x19\xc5T0T\xf8\xf9߽\xb1\xa9v@G:B\xc1a[A\x8b\xf0\x89G\x9bLعg\xcdYW.v|\xc6\f\x9e\x82\fh;\xbcY*<ʌF\x98\x93\x1e\x89\xb2\xc7ε\xf30\x8dx\x8f\xa8\xcfJ\xb5\x8dȇ\xfa\xc0fC\xbfr\x9bNv\xb5\x91\xed%\xae\x10\x8b=-A\xb1\xfat9\x88p\xa8+\xea\xe1\x19\x1e\xeb\r\x1f\x82\x03\x843>俟X\xccN\xb7k\x82i\xeb\v\x8c\xfa\xfe\x9bd\x81\xcb\xf4]#\x1dN\xfb\xe3\x1e\x10\xd5Ĝ\xcdg\nIr\br#گ\x128gV\xb7\xd2\xec[\x19\xe7gL\xbc\xc2\xedf\x8f\x92\x05\xf0\xa1\xdd2\xb0\xe4\xfdP@L_\xcc\xf7\x1d\xcfq\xc7\xc1\xb3\x88\xc7\xf6<\x9a\xa6H\xe8\xf7\xcd\xe9\xe2\r\xe2\x8e\xd3\x1d\x97\xa5X\x97\x1b\x1f.\x86\x14\xc2\x19\xd2\xc4\xfb\xd2S\x1fI\x00\xf1\v!\"v\x8e\xc1S\xcf`\x058ɼ\u007f:\xf6̳\xba\x84\xb1B\xe5\x14\xbb\xe8G\x81\xe0Rnk(\x17\xaf\x8e\xfd\x02:4\xb9L\x93\xf7!\xca8\xe2\"\xceʞ\x87\xa27\x16c\xbd\xa7ņ\xbd\xf4Gd\xad\u0558\xee[\xa9\\\xbe6\xab]\x97\xca-d\xf7\x06#\xac\xe5jf1۫\x804S\x9e\xc9{\"\x94E\x1a\xca\x05\rʘ\xb5\"7)G\x1b\x1d\x90\x10\x84\x80\x15EԿ\x95\xf8K\bir=\xf9zh\x98\xf8\x0eJ\xabx\xd4\x11\x99\x19\xb9w4\x880\xb7n\xa5K{*\xc1\x91\xf9\x1e\xf5\x17\x9f\xe1\v\xfc\x0e|\xcd)\x96\x94\xaeP\xa2\x05\x96\xa3\xef\xc1\xb9\x17\a.~\x8d\x86PՊGNY\x05\xdel\x8c%0S(\xd4\xc1\x99\x05\xf1Z\x9d>\x14\xcb~\xe4&<5Kz=\xcfB_e-\xa7Q:\xb4B\xca7\xf4\xf4 \x0f\xbeS\b\xff\xd7-\x83\xdbƔ>T\xfd\xa9Ը\xa7QG\x1f\xf2(\xd8ҕT\x82t0\x94\xbf\xc8\xc6M\x11r\x92\x9d\xf3l{\xa2B\xbc\xaf\x19\x0f\x022\xae\xdf\xf4ŭ\xe0\xe8xyb\xad\xda:}^\xe4;\x19F&@\xa2\xdf\xc3\xdfJ\r:Y\x88$\xc0M \x8fƵ\xf7\xb1W\x1c\n\xbf~\xf5'v^\x9c\xee\x94[$\x98\xbd@\xfaes\x83\xf5\xc1[LL;L\x16\x06\xb7Φ\x89\x85T\n:\x97\x87Z Ҹ@\U000a83a8h[{\xc41\xb6ˋ\xec\x8cS\xb4g(o\xe4\xbbɻua&\x95\x96\xe4\xda4\xaev\xf6\x02\xbdGH]\x8f\xc2\xef\xd7\xe9\x17\x14\x80}\x89\x85\xff\x80\xa8\xc3\xf9\xe4ؚ\xfcұ\x99-\x14\x92\xec\xa6\xf7V~\x15\xa0R\xec\xabZ\x1f\x8b\x98\xc6R}\b\bC\xb7\x94\xbe\x1f\xbe\xe0W\xed\xff\xc0\xa7\xb6\x1cQ:\x99\xc9+\xden?\xef\x1b@n\x1dsݭak\xda\\\xe9z@\xc8\xc4\u007f\xf2\xae\xb86\x9a4,;\xd7:{\rb\xf5ƽ\xf6\xbf\x87\xde\xfb\x89bƔ\x89`]\xa5\xf7z\x905\xf4\xa1\xf8r\xe1s\x98\xb5\x8b@\x9e\xdev\x8dgP\x02\xed^T\x88m_\x19\xe6g\xac\x17\vo\xca+\xd2\xf1+\x9a\xda^\xff\x12tm\xc9]\xf1\xc5i&S\x14w?\xbc.\\~\xe2U\x8b8 4\xbf\xe0\x16\x88љd\xe0\x1f\xe5\aHtK\xa1\xabmqi\xb2I\x1e\xd8&9\xe8\xf7of=\x97\x12k\xb9fp\x8bZ9l\x8c\x80\xa1\x84xĂ(6\xc2\\\xa4\x00\xdeQ\xf4\xc3w\xa01k\xe3\xd1\xe2z\xf7\xe3\xd9\x1c\xf0\xeb\x9cy\x90tϻ\xd0a'\xf4\xa7d\x94\xf4\xe6\xbb3\xfbj\xfcR\x13\xb5N\xd6\xffIr\xf1\xb0ŗ\xe0?\x87\xb5*\x8c\x93\xc1\xb7\x00\xbe\xac\x90\xee\xdeГ0w=\xa03c\xe2\x84\xc1\xae9\xd0<\xa8?_\x1c\x0e\xf8Y \xdbL2:\xe13M\xb3i\x00\xbd\xc1a\x15u\xbe\x1b\xa8\x91B\x1f\x9a\xf2[\x9d*Q\xf8\xed7\xfbk\x94\x88\x96\xc1\x01\x03=[\xbc\xe1\xb7[\xc4E\xec\xcb\t;=\x85\xfe\xe1\xa1k\xd1\xc7S\xe0%<\xa7\xa6\x04\n\x80\xa0X\xfa.\xf6.\x96\xa0\xb1\x13M\xb5-.\x8f\x8cf\x04\x1c\xf4\a\xd3W\xf5\xf5=ɢ\xabP\x9e\x1d(\xce\n>\x1b\u007f+8\xa0\x1f\xed\xa2d\x80V\x13\xe0l^\xc2\x15\xe6\xf6=Y\xaa\xba\x86P\b9\x14\xa7_\xf2\x19,Jj\xac\xfa\x89L\xd1i#H\x90m\xeb\x93\xf8>\x82\xc3\x10C\x1cX\xed\xa3\x16\xa0\xb0\x0e\xf8\xa5\xa7\x10\xb8\xb5\xc1\x88\\\x19\xf5\vEl\x10\xac\xd4 _\x05WN\xbd\x9f\xc7\xe969P\xf2P\x9c\x8cv\x92oC\x8b\xea Y\xce\x12\xb6\v\xa4\xa1\xc9\f\xc0?\x16\x11FV\x13\xc3Ƅɀ\xee\x82V\xf2\xb9l\x9f \x8c\xa9\xbfx0\x15\xf5\xbe\x14\xea\xb4\xf0\b\xcb\xcf6E\xf3U\xc3\xcb|\x80\xad\xde\u05cd?\x1fо\xf0\\\x8d\x90\xa9\xeag\f\x80!\x01\xe40(C\xa2e\xac=-W\v\xb9s\xf7\x85\xca\x02'\xc9?\xdb\xfe\xff\x8e\xf2Q\xfc\x95\x17&\xb4\xed\xe6\x90m\x0e\xa3Ƣ\x9b;}8N\xf0\xd4\xf9\x13\xf8\x9f\xad\x1f\xcc\xf5\x89\xe1%\xabχ:\xc8E\x0e\x9a\xaa\xf5\x9fG\x95\xbb\xdd\xf6\xb8\xd2(\xa1\xa9L\xdaU\x97\xb9\x8f\x8a\r\x98\xb7(о\xbf\xab>\x1ed\x15\x86\xd4\xc9\x17k\x05\xebk]\xa5U\x86MI\x16\b.\n\x84\x95\xc5\\\xa1\xd1M\xb6-\x10\xa3\xaaŝ\xdf\xf6\xd3\xe3\x87K\x1eD^Q\xa3&C\x9c\xcaQ`\x8e\xc5`\x99\xd6Z8\xda\xfa`\x17\xc1ѥg\x0e\xc07dYΟ\x10Y\x83\x83\x11\xdc>\xd4۽\x98\x1a$\x01\x91f_\xe7\xc70,X\x05\x97By\xfc8\xa1\x81\x11\xbf\xf2\x1a\xaa\x84\xb5\x93-\x93\x87\x89.y\x1av\xa6qA\xb21\xeb$\xd1(V\xd7Jڐw\xc7\xe6\x03|;\xb0\xabAh\xb5\xebPp`낫\x89<\xfc\\~\xed\xc3\xf0ƍ\x9a\xe3\xeay=ח\xa3\x1c\x17\xd0T\xbd\xc8\xf2\xc1\x0f\x9dCG\xecxF\xe7b\x87:\x8fy\x9d\xcf\xd29\xb7iIy\xb6Kʢ ch\xdbw\xc8\r\xc5!@\xe4\x1a\x0e\xf1[\x8f\xab@̵\x81\xb5\x82`1\x97\x92!F\xb2\xdf-\xbd\xbe9\xcd@\x1f\xcd%\x13\x01>\xdc\xf3\x10\x89T\xe3U1W\xd1\xea\xa31s\x02\x993\x03\x9b;_\xaa\xf8\x93\a\x12J\xa5\xa8a\xd3[%~W\xec\x1a\x02'\xce+\xa7q\x8f\xdb\xff\xdb\xd3\x16 V_\xa7݃d&@D\xc9\xed\x05\xd7\"\x0f\x86\x8f\x03\x0f\xb1\xae\xe1\xa1\\\x8ca=W\x17\xa8i\xbb\a\xf0\xd4\xc7Bs\xb6\x05\xb47\xf9Vn\u007f\x88\":\x04\xb7\xb4\xcd\xf3P\xd0)\x80\xebE\xf4p\x0f\x88\xbd\xb8\xee\xad$BV\xf8\xca`]\x91m߲\x9dP\xe2UaI\xbc!ii\xd6&\xe3\xb9Y`\x16\xa7\xdf\xca\xffG\xc9H\x99\xbb\xce8\n\x10Ç\x1cj6أ|Iat̐\x9b\xa0*;t\x98ʲB\xc2\xfe\x97\xdd9\xb4敋/k<\xa3H\xe5ͳV\xfatܑ\xfd\x14\x91\xeb6o\xa1@\xc9lſ\xd1\xef\x18\x01\xdf;\x1as\xbf\x8f\xf7{\xd8I\x16\x12]\v\x9f\x9d\xd1V\\\xfe\x10\xaa\xb1T\xb4\b\xb5Ep^\f\x8e\x1bN\x8d\x17\xc6(}Dt\x8b\x13\x10\xa9>\x8e\xbb\xa6\xaa\xffJ\xed8j\x0foK\xb9[`F&\xd6ث\x81\x1c\xa9x\xe7QҰ\x025\x0f\xbfq:\xfc\x16\a|\xe6$\xcf\xd3\x1c\f\xabzҾqP\x0e\x95\xac\xaa\x1b\xe9\x11\x88\x9e\x06\xb3{\xfb\x06\x8e\xbbZ\xb2\x10\xb4\x05I\x00\xdf\x14\xed$dy\xb8]\xfd\xfdz\x92\xa1\xe7?x\xd2\xd3\xeb?\xedou\x86\xa9\xc0l\xb42\x93M\x9f\xec\fp&4\x90\x16y\x1bdkT\xbd\xc2\x14\x1aK\v\x13\xed\xe0⻖\xb1\x92f|\xc3\xed\xea\x06\xe1@9\xb3O8\xb2%;\x95\x92\xfe\xa3U\xaeI\xb1[^\xc6p\xa3L^\xe3\tv1\xf2\xd7i\xf2\xf0\x17ʼn\x11\xc8w\xdc\xf1\xaa)\x85T\xaa\xe0*'cEX(7\x81#%P\x99\xaar\xcd$5\x011fm\xf9\xbc\x88\xfa]\x15\xb2\xe8\xc9\xc2E\xcad\x96(9\x93\x0f\xff\xf6АS\x92m^n\x0f®lh[X\to\xf5\xcdg\xf8\xbc\xb9\x13#*{r9>\xf1\x89\x15\xf5k\xdd\xea\x85\x007A\x18K\x90\xf7e[\xacRX\x81\xf4_\xda\x03\x91\xb0\xcc/\xe0\x89g\x9b\xe8SqK[S\x92B\x1b\xa7\xb5\x16*\\p\xddB\x8c\xafN%\xd8\xfa\xec\xdd\xfc\xb6\x8f\x8c+\xf3\xfb\xaaB\x18\xf9\xe0\x99\x83شkآ>\xe0\x97\xae+\xfd\xfc(j\x8f\xc1σ\xfe\xa4}\x05\xee\x91\x17s@\a\xe4\xeb\xb1\xd21\xa97\x95\x9b\x8e\xc7Η\xc1Kbܿz\xb0\a\xfc\x00\xe5\xab\x04\x14\xaa\x1e\x89\x84\xff\x15\xe7\xac\xfbǷ\x8f\xb9\xafPc\xb4(ޭ\xb8\rWm7\xa2R\x11\xf7pZ\x00\xf1\xe3Q\x82Q\\i\xa2\xd7\x13v\x06һ˭\x8a9\xd7\x17\f\xae\x82\xb69\x944~\x01\xe3-s\"\xadX\x15_\x9a\x0eib\x13\x11\xedE\xab9\xa0\xf8\xf1)qLN\xf1\xa8ՓY\x16\xbfLw\xf8W7\xe8?\x8fg\tP\xa6\xe8\x956\xd8\xf4\xe2\xe5C\xe6\x02*)_h\xc6E\x8d\x02\xd2\xf0\x16\xf7\x81\x1b%wʠ\x8bgIR(|X\xdb.\xd3^Wc\xeb\x97\fܷ\xabעe\x11\x024ܮ\x98Q\xe3Y\xba\a;\xcc\aASYi/X\xd0H\xb8\xe9\x9d\v:\xa4\x9fi\xe2\xfb\x98\x1b\xda\xde\xe3{\xc3\xcbfV?\x8a+\xbf\xbe=\xdb\x06\x19\x96\xac>1\xce\x04\xd6U`\xaaT\x16\xb3\x9d][\xcfliu\xcfՇ\xaf\x85$>\xf30>\x0fC)\x149.\xcf\r\x80\xefY\x92t\xd7\x0f\xff\xa8\xdeC\x03Ӧ{\x06\x8f'\x10\"\xdb[\xaa\x17\x16\xb3\x9b\x99\xd9s\xea9\x15\x03oX\xe7\xc7\xf9\xa0 R@\xef\xe3\xf0T-\x181A\x06\xe6\x0f\x1c\x06\xbc.i\xff\xf7>\x06/\xae\x1c\x9eKŋ\x98\x86\x11ݡ\xf8\xf46\a{\xd2\xe7\u05ebY~V\x99u\x1b,\xf2\xf7Ӽ\xc8i\xe4}\br\x1a\xf9\xb4\x99 1!fT\xfbL\xed\xad\x87_#\x96\x1ehhn\x89\x9e\x00!N\x81\xcbkfLT\xb5^Nj\xbf\x1c\x17u>\x848\x90;\xcath\x8b\x029\xc8\xdd\xe5Ͼ\xc2\xe1\xb8[\xc7\x1c;+\xbdSa剁qX\x12e\x9d\xfe\xec9c\x19\r\xff\xebB\x9f\x18Ǿ,\xd7U#\x88\xb2\ueaee\x9dY\xb3\u007f3\x98\x0f~G\xcd\x1e\xcdSns\xde\x01\xadA\x8b\xe2\r]\xb6G\x02)\x8c\xa5\x9a\xf1\xa0\r\xad\x1f! \xa1\xfa\x90OO\xfa\xccv\x1fj\x86h=\x88Y\xaf\xb7\xd4\xdc\xc1\xbb/&\x9c\xae\x18SQL\x8b-\xa6\x920\x85\x88\x13\x86\xab\xc0p\xd4\xdb\xdb4~\xbe\xc0=^q8\b\xdf\x18\xa5\xe0]n \vik 6\xb5\r\x8a\x16v\x8e\xb4r5:3x\x84\xfczw~:2k%\x1a\bh\xdf\x196\x90Xu\xff\xaa\x05\x1c\xe3\xc9\xde\x10\xeeO\xb2X\x9f\f}\xbc,X\xb3\x14\x97_\xa6\x8c=\x81Hi.V\x19\x8f\n\xef>\x1d\xaa\x1e\x9b\xcfA\xa2\x1f\t\xd01\xb4.\xbcs\x17M\xe3\xedj\x0eG\x83\x8b.\xba\xad<\x9c\x18kT1\r\x80\xf34T=\xf5\xc5`t?\xb5\xa9\x03͝#{\x1dmj·ލ\x9e\xed3\x85+\b//W\x05춛N\xc4Q\xb9\xe6c]\xb4\x06p\xb0\xfd\x98\x12\x93K\x1ft|\xe6\xc1\r\x00-\xca2֊\xa4\x93\x8a\xe13Dž`\xb6qR\xb2\xf1\x05ףB\xcf\xc0\xe9\xabr_\x1d\x90<\x8b\x1f\b,t\xc4zkU\x0e\b\xa8x2\xac\t\xbe\"U\u009cD\x8e\x84uD\xfb⟃!g\xce\xf6Ѫ\tv\x8fsc\x9b\xb8Q\xbd\xf7\xd9,\xb3NpJ\x1a\x03\x06^\xb8\xf3>\xdb\xc3\xfa;\xaf\x8cq\xef\xb7\xd9د\x87\xe7\voX\x9a\xfawH\xb3_~\x06E\x1e\xb6\xb0\x8df\u009e\xebw\xe1\xca\xd5\\\x0f\x90\x92\x80C\bI\xf1֏q7X\x1c\xb2\xad\x9dv\x152<\xb2\x96\xf0᯦W\xc1\xb8\x8d\xaa\x0f\xa8G\xeb\xee\xca\xe1\xc9\t\x9bޣ\x1dУ<\xb9\xc2'*\xb2\xc34\xb0^\x0043\x9b7\xf8r\xf4\xfe\xfb\xd6\xdd\xf7m%\xa2xu)\x18\xa5\x93f\xe3\x82ky2_N8\xc3v3\f#\xd3s\" \xed\xf7\xcex`\xcbs\xf9\x13\xbc\xefJ\xfdX5Nex\xcaF\xe3\xa1\xe7T8\xad\xa1\x88\xcaG\xe0 \x9al\xfd\xfd\xe8\xf1\xd3a\xf1\x88\xe5\xb9\xd9\x10KM\x12|)\xa5\xe0\xff\xbe\x81c\xde\xe2gp\xa2%!Kpp\xac\xb7\xcf#\x99\xf7\xad Q13\xac#\x8b:\xe6\xae_ \x01\xb7|GƤ5u\xd9\nᣆ\xb6\xa2\xa2\xed\x88K\tPF\x8c\xa0\x1bz\xdd\x03\xb9\xa2|\x86@\xc1=\xc3h\b\xf0\x02\xd35\b\xa9]|U\xdb\xe9F\xe0Ƨ\x17\xcf\v&=h0\x90\x89\xd8k\xca\x01낥\xde3\xdcKg\xa8z\x85\x98\xff\xacv\xeb\xbd\x185c\xc2\xd78\x9epT\xad\xbe\xea\xe8n\x8b_S`}_\xa62\xec\xe10\x10Ez\n\x93\xec\xb9Q>\xd0N\x89\xdc\x15'\aJ\x1c!\x1dXڐ\xa6\x81-\xa4Ͱ\x1d\xc6ֆ\xb2\xa7NJ\x97\f\x1a\x80;V\x8c神\xf8\xa44R4\x12Qo\x93\xcaq\xc0\xe3\xc6E\xe8\x0e%,\xad\x1e\xaaHx\xf7N+Z\x94\x91\xf4\xf2\xbf6\xcd\a\xf2\xad+\vcT[.7>Ւ-\xa8B\xf8\ncC\xe7\x83Mo\xcb+\x1d\xac\x93\x80\x8d\xce9\x9fӧ\xdaX\xa4\x82A[\xcbf\x15mΞ\x89\xea\xf5O\xe9\xa0\xf7\x92y\xc4.F-9\xa5\xe1H\xf4\x94\xaaJMQ\xfc\xf2\xadN8\xc6@\xa1\xab \xe8Ψ\xa2\x8b|bE]PM\x12\x00\xee\bQ$|\xaa\x16OHՋ\x96\x8e\xfa*\xde\xed~\x12Jih)\x10x\xaa\xbc\x1e\xfdA5\x89\x81e\x19\x0e\xc5\xdcZs\xaf\x96\br\xdf\xf7\xf9\x96\xba\xc1\xacq\x1b\x04\xf7\x9b\xa2\u05eb\xbb\x92X\xe7:>\x06\xaaE۶\xd3\xd7\xc9H\x19\xa9\xf6\xae\xe5b\xc9\xdfQ*\xd9\f\x8d\x13\x05\xa1\x84\f\x01<\xc0]ɴ&\x1a\xef\xd0\x15\x1brw'5\xb9QN/\x9e\x02\x95\xa7\xf9\xf5\xceF\x8b\xa9\xef\xa0U\xb5\xab\xb4G\xad\xa7\x80\xaa\x9f\xbb\x1398\xba\xae\xa4\xfeϟ\x8e\xe7\x82\xed\x81\u007f\xdb\av\x98\x14\xad(긞\x02\x04\xa5\xa8R\x83@a\t/pc\xc2\x18\xe1b\xf7\xac\xff\xa8\x96O\x14^\xbf\xad\xb9F\xf1\x96>\xb4\xf7ZI:\xf9\xc9c\xfb\x93\xe4O\xb0\xc6\xd7^\xb1'\xd2\xe4v$gf\x12\x99\xc0\x95\xed\xc9\xf0\f`j\x9b\x82\t\x1f1\xd9\"\xfc\xa3\x8bcGԡ\xd0h\x11\x1f\xf6\x87}\xcb3`X]7\xf3\xc1\x99\xd5摠~\xf8{\xf3\x95\b$\x1c\xa3\xce\\7E\x1b:8~\xbd\x8eR\xf141\xc7\xfe\xa7\xa2\xc2,S\xdb\xe7\xedCH\x19F\xa3\n24\x0f\x1d\xb1Y\xef\xf0\xfdZ\t\x15H\xca\xe4\ba\xfd<\x107\xb40/6\xb4\x95\xe9R\xec\xb1k\x86\x02\x0eM\xcfN)\x12\x14\xda\x01\xcb\xf7\xee\xfc-\xc15#\x88\x05\x19\x89\xef\xc8\xfcʕ\x14\x1e7\xff\x82\xf2U+\x15\xd5F\xf2\xea\xbf8\t(\x0e\xb7\b\x9aM\xa7V\xb2\xf7$_\xc8\xf3\x13\xbbm\x96\t\x8a\x01\xfdp\xd2\x00W%\xb9\x8f\xfe0\x10\xd7\u007ft\xf6\x11YځW\x05XP\x14M\xf5|g#PS\xf5\xc1f=\x98\xe6\\4\xa7x+)w\xa1\xe4s\xcfv\x91 \x99\x8f\x950\x9a\x82\v\xc6\xea\xda\x02\x03\x97\x17\xaa\x18x\"\x85\x8c\xe2\xab~\x00\xfbSaH\x88s\xe2{\r\xce\a\xd0u\xceۂ\xfd\x00-\xd5\r\xa0N?s\x16\x9eH\x89\v#\x04\xb8\xf5\x90\xf1\xcd\xec\x1d\x1bm٪Õz\xb2\xf2â\xc7v\xec\xaa)\xd72X\xd5\xf2d_\xb0\x1c\x93vfƵ\a4\x99MA#\xe5\x1b\xc7mF\x8d\xf2\x9f\xe4@L\xd73&0]f\xe6\xa2\xdc\x1a9\x177\x02\x94\x83\xbc\xfbڎ`\x9d\xfb9:\xb4\xb3(\x02F\xdeK\xec\xb8\xfbԔ\xaa?+R\xaa\xa6\xfe+V\xeb\xcd\x12\xb22G^q\x88<\xd3-\x9b\xf3\xd1x\x8c\xab\x9dV\xdfkd\x9bw`)\xe6\x8a%S\x18\xa6\x87Cp\x91\xa0\x80\xef\n\xa4{D\x9e#\xab\xcfɱ\x8d\xa2\xcb\xf7\x1b\u007f\xa5\x8cc\x9e\xf6E\xd7\xf1\xec\xd9g}\xb1\x1ap\x18\xdaս\u07bfR\x97\x8e\x9fp\xd4\xf5\xa1\xcd|_z\xeaM\a\xa4\x93t\x02p\x8c}8\xb2\\\xf9\tz\x8f\x9c\xa7\xec\xc2F\xcca\xa5\xd7\x10\xc0\xab\xd9H\xfb\"\xb9\x86\x03L%\x8aZ\xc8^\xcbv\x94\f\xd1\xe3I\xc8k\x1c-\xf6\x83\x05\xe1\x83L\x82\x15m\xec\xcc@\xe9\x19\xf8\x884\u007f\x94\x89\x0f\xb0'&\xaev\xfcf,\xe4w\x18\a*\xcd\x10\t\xd3\xfa\xd5g\x93\x96\xdd\xddBr\x9dW\x80\xdff=\xeb\x8f\x15\x1e\xfe\u058cG+4\x83\xe5\x8c$n&\"K\xce\xfe\xb1\xd9e\xb3\xf37g\x03\x1e\xd31\x00\x1bSr\xf5\x9a\x10\xceP\x18\xf5\x12\x12]\xddÑS\xc1\x97ʤ\xf0\xf2o\xda\x06\xe2>\xd5\x17O`dJ\xc0\x9e\xf2\xea䇑t\x11\xbf\xde \u007fFr\xbb|\xa8\xbd\x1b\xb9O\x01\xf4\u007f\xfe\xea\x85@\xf8\xd1\xfa\xc5`\t\xa4\x00qr\x14\xe5\xe3\xa2U\xfc\x9a5\xab\xbcd\xe4\x82OD\xd1.\x01\x92#\xb5.\xea>\xc8\xe3os\a\xd2t\xbb\t\r\xd2?ܩ\xc5\f\xce\xed0\xc38\xea\xf3\xa8@E\xed\x9b\xf9\x05\vu\xa9\xf9\x1457\xa8}\xf8\xf3\xf5\x05\xe7riԭ\x8b\xbcы\xde\xf2m\xdc\xe8\xdc\xfd\xf9\xe23\xf9BKA\x8fuзz\xfe\x8c\x04\xbd\x1a\xc5\xc78\xf8\x1a\x93\xb8f\xd2\xcc\xfb\xfc\x8fD\xc5_\xed\xc7\x18\x8fxd\x18\x1e\xde3\xd0\x17I\x80\xd6\xd2\r\xf27\x80\xc2M~\xeb\x10]\u007f\x0f\xf2\xd1\xf2\xb40}\xb7D/\xfc\x13\xd2R\x01\xf8\xf2\xa4\xcfK_\xef\xd8]\xf9\xb8CZ\x1fT\x858c\x84\xc2\xdc\u007f\x1e\xaa\xa2!\x0e\xf4O\x81\xae\xa3\xef5{5\xceN\xd0$\x93\xc1\x8d)\xfc\x8a\x13\x1d\x05r\x87\"rA/ú\xafli\x8cG\xd1;\xe3\xb1,\xacىB\u007f\xb2\x13jQ\xe9Ӭ\xbd\xe1\xd5\xc57\n\x1d\xbb\x0e\xb8ؐ\xbb\xf0ڠYB\xfaot\b8\xefӃ\xbfL\xfcd\x12\x1ccӆ\x1e\xfe\xc9\xd4@\x9a:\xaf\xc5A\xa7\x14.\x06\xafs\xac\x112\xaau@\x94\xee\xe4uȇ\x93w\x15\xc9\xf4\x05\xd0sLs}\xc0ܪu\x94&$\xda\xf8w\xa6\xeb\x8e|G\x12\xdeۚ\xa2nuw\xd6\xc1\xb9\xe7\x87\xdf\x1f\xe2!\x1e\f\xf0YY\x99\x01\xbe\x06'\tZ\x95͎>rs:\x00\x93\xd6\x1a\xc86\xcd\xed榰\xb56UjP,m\v\x01\xfd\x87R\xb0\x8d\x01\xe9\x1e\xa6\xfenEYn\xd9Ԓ\xc3&{@\x02Ͷ\x15\xc6W\xfb\x03w\xed\x06{2o\xc6\xc5L@\x1b\x9d\xd1݀\xd9\xd5\xdbr\xfc/#\xc4\x03\xbd1\xado\x05\xb6>`\x9fM\xa2|\xf9ӡ\xa3\x04~\v\x1cÌ\xa1~\xa3ţ)\x01\x8d9vz\xc0r\x90\xa4\x9b\x94\xaf\xf7\xcc\t\x01\xe9\x1f\xc3\xfcƔ\xc3h4\xca\xf2\x86J\nh\x02d\x17\xd3j|\xbb\xaaa\xea\x13\xbd\xdb\x01.\x80@\xa6z\x15iUb|\xda֠=\xd9(\xc6D\xa2L\xea\x17R\xde\x02\x96\x90[\xec\x06\f\xeb\xb3\xfa\x89\x831\xa1s\xe3o x\x10\x12!Xx\xabw\xa0\x1bDQ\xfc\f/NwJ\xb5\xc9\xe5\xe4O\xee\x15ҁS\xbd\xee\x14\x1b\xb3\x91\xe2\x1a\xf4\xdaz\xac\x92H\xf6\xe57\x81\xf6fU\xed\"\x1b\xb0yo\xbb\xe8HY\xb4\xb5\x85\x1a\xd2-\xbb\xdb\f\x98\xbd\x88fvR\xe8\x10\xa2\xfcण8\xe2\xf0\xe6h\a\xc3,l\xe6\xecϮm_\x83\xd1\xcenV\xc6H\x1d\x1d\xd7\xfd)\xc0!\xa6B/\xfc\x84\x92\xa1%M\x87\xf8\xcd\xff\x83\xc6C],j\x8e\xb1\xa1:\xa2Y\xfc\x8eR\x9a\x8f\x17\x96TД\xf1\xba\x15\x87\x06Ԟ\xcf[Yr\x88\x82yzwI|(4K\rR\xf3\x93TK\xb3\xcc\xc9[}\x11\xa0\xa9X\x1c\xca\xf6\x9an;e\x8d\xae\x19J\x92\x97\xe5V\x0e\x89|\x12ؽ\xf3C\x16\x14\xab\x92\x8b\x05{q;;\xb8\xc6\x16ī\xe2\x16K\xfda\r\x18\xc4o\x9c\xd3\"\xa7d\x05\xd1H\x01\x06Ë\xfc_ae\u07b8\x86\xda\xd2qnO\x1e\x8f\x94\xfe#G\xa6*\x05\x83\x9c\a5/d\xfa\xa0Ē7\xca\v\xa1\xa7;m+\xf4\x8bh\xb1]g&\xba\xbcS,K\x84\xf2\xbf-\ts\xd7J\x91\t&\x8bN\x8c\xaf\x92MM]\xefͪ\xf4I&\xfbn\xd3Lcy\xdb\"s\xban\xaaCz\x8d\xda\xd8^\xaf\xddSMlxi:\xd70\xdd\xf2\xc1\x88)\x8f\xc6\xfc\x8a#\x16\xfc\x10\x05T\xe6:1\xa3K;/\xcaЦ\r\x86\xb4=\xb4\xbd4S\xc4\xd5\xe4\x93\uea50\xcd\xe1\xa4\xdd^I\x19\xddZ\xb5\xf5\xe7\x18\x97\xe1M\xff\x0f\x1aUjs\xd6\x19M.N~gDg\xdaX\xe6\xdf2ɇ\xe2\x89iC\xe0\xc2\xd7Ҁ\x8avt\xb4\xfeP\rܱz\x9b\x9e\xaa\x85\x15\x94\xa7m \x91\x90؍S\x0e\x0fi\x84\x1c\x00\x1d6\xf7^\xe1\u007f\x01\x0e//\xb9\x18h\xc9\x12\xffy\x18\xf9w\xe8\x120`\x18\xe5\xd2\xf5{\xf1\x89Jz#B;?Ѩ\xe4\xa4\xde\xc2\x01\u0604\x10ȍ\x87\x02W\\\xbb\xf3\xe4\xcb\xfe\xffui\x06\xd4\x17\xcd\xcaRoň̄\x90w(\x98\xb5\x82\x81A\xf3\x99\xe6m8]\xb8tg#r\x9d_\x9a\x1d\xf7\x96\xe2\xc7T\xfe;MJ\x0e+Nto\x8dG\xbd\x1b\xcaf\x9bL\xe0@\xbf\x8d\xedU\xea\xb8抣\x83\xe4SE_\xd6\xf0\xe33\x8b7\x8bVk\x1bW`U@\xcd?06\xcbB\xcc\xe9\xd9\xf465)\r隀\xc1\x87\x00E\bq\x1duo\x92\xf4&1\xf0\xc1m\x9d\x82\xe8$\x1f\xd1\xcbD\x86^\xcc\xd2$Z\xbeŚ\xf0\xee\x89(\xa9\x06N\xce\xf4yv)\xfd\x84\a\x16۔\x80\xd2\x05\xb8E\"\x83)\xf1ύ\x90 \x85\xd5J\a\xcc\v\x16\xdc9\xb5\xed\xdc:.\xf1nB\xbc\u007fPFڴ\x00\xf19yO\b\xc6;O\xd7|\xd1߶\x13b\xa6\xba\x1evhI\xc3R\xf3\x95\x1faUo\b\n---------- end of script output" time="2024-01-06T23:36:31Z" level=info msg="statescript: ArtifactInstall_Enter_66 requested a retry" time="2024-01-06T23:36:34Z" level=info msg="statescript: ArtifactInstall_Enter_66 requested a retry" time="2024-01-06T23:36:36Z" level=error msg="statescript: Ignoring error executing 'ArtifactInstall_Enter_66': 21: exit status 21" time="2024-01-06T23:36:37Z" level=info msg="statescript: ArtifactInstall_Enter_67 requested a retry" time="2024-01-06T23:36:39Z" 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.70s) === RUN TestVersion --- PASS: TestVersion (0.00s) === RUN TestReportScriptStatus time="2024-01-06T23:36:40Z" level=error msg="Failed to Load the Server certificate. Err SSL errors: " time="2024-01-06T23:36:40Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: " time="2024-01-06T23:36:40Z" level=warning msg="certificate verification skipped.." --- PASS: TestReportScriptStatus (0.28s) === RUN TestDefaultConfiguration time="2024-01-06T23:36:40Z" level=warning msg="No timeout interval set for the retry-scripts. Falling back to default: 1m0s" time="2024-01-06T23:36:40Z" 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: correct version file - no newline statescript_test.go:475: correct version file - newline statescript_test.go:475: incorrect version file - unwanted 'a' in file --- PASS: TestReadVersion (0.00s) PASS ok github.com/mendersoftware/mender/statescript 11.051s === RUN TestDBStore time="2024-01-06T23:36:28Z" level=error msg="Failed to open DB environment: mdb_env_open: no such file or directory" --- PASS: TestDBStore (0.01s) === RUN TestDirStore --- PASS: TestDirStore (0.00s) === RUN TestKeystore time="2024-01-06T23:36:28Z" level=error msg="Failed to load key: empty pem block" --- PASS: TestKeystore (2.05s) === RUN TestSignED25519 --- PASS: TestSignED25519 (0.01s) === RUN TestKeystoreLoadPem --- PASS: TestKeystoreLoadPem (0.00s) === RUN TestMemStore --- PASS: TestMemStore (0.00s) PASS ok github.com/mendersoftware/mender/store 2.164s === 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.040s ? 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.62s) PASS ok github.com/mendersoftware/mender/utils 0.667s FAIL dh_auto_test: error: cd obj-aarch64-linux-gnu && go test -vet=off -v -p 12 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/reproducible-path/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/reproducible-path/mender-client-2.4.1' dh_auto_install -- --no-source cd obj-aarch64-linux-gnu && mkdir -p /build/reproducible-path/mender-client-2.4.1/debian/mender-client/usr cd obj-aarch64-linux-gnu && cp -r bin /build/reproducible-path/mender-client-2.4.1/debian/mender-client/usr make[1]: Leaving directory '/build/reproducible-path/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' in '../mender-client_2.4.1-2_arm64.deb'. dpkg-deb: building package 'mender-client-dbgsym' in '../mender-client-dbgsym_2.4.1-2_arm64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../mender-client_2.4.1-2_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload 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/3201384 and its subdirectories I: Current time: Sat Jan 6 11:40:54 -12 2024 I: pbuilder-time-stamp: 1704584454 Sat Jan 6 23:40:56 UTC 2024 I: 1st build successful. Starting 2nd build on remote node codethink03-arm64.debian.net. Sat Jan 6 23:40:56 UTC 2024 I: Preparing to do remote build '2' on codethink03-arm64.debian.net. Sat Jan 6 23:46:38 UTC 2024 I: Deleting $TMPDIR on codethink03-arm64.debian.net. Sat Jan 6 23:46:39 UTC 2024 I: mender-client_2.4.1-2_arm64.changes: Format: 1.8 Date: Tue, 13 Apr 2021 21:20:55 +0200 Source: mender-client Binary: mender-client mender-client-dbgsym Architecture: arm64 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: a62a114b88b22346470056a5919a7ade4fc0b0d1 2844080 mender-client-dbgsym_2.4.1-2_arm64.deb 92250a2a4c7ce1c79d028744fb2cadbff1782bf2 7033 mender-client_2.4.1-2_arm64.buildinfo b4f9c312cc2491f5bc4d2da622eb695a169599fa 2422528 mender-client_2.4.1-2_arm64.deb Checksums-Sha256: 27bd34284c4648cb544659c1675fd64d7dde988d6a28fd211c3cc033402a7ee3 2844080 mender-client-dbgsym_2.4.1-2_arm64.deb a733b3c186fc06b6b1c715c7641cfa75a092190c2ff43292de5e4fb05ed50f3a 7033 mender-client_2.4.1-2_arm64.buildinfo 79a303cc9a14884b25eb790e7dea59bf6c58c6ceb1d103843b0e6bb4eab20b41 2422528 mender-client_2.4.1-2_arm64.deb Files: 01ee506273aeaee7736a7096b48e3375 2844080 debug optional mender-client-dbgsym_2.4.1-2_arm64.deb aa4851743c59d41ee4c3be3b8ec05853 7033 devel optional mender-client_2.4.1-2_arm64.buildinfo 2b8c039de371d0e631a5cea22a57e319 2422528 devel optional mender-client_2.4.1-2_arm64.deb Sat Jan 6 23:46:40 UTC 2024 I: diffoscope 240 will be used to compare the two builds: # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.599rsRDa/mender-client_2.4.1-2.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.599rsRDa/mender-client_2.4.1-2.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.599rsRDa/mender-client_2.4.1-2.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.599rsRDa/b1/mender-client_2.4.1-2_arm64.changes /srv/reproducible-results/rbuild-debian/r-b-build.599rsRDa/b2/mender-client_2.4.1-2_arm64.changes ## close_archive (total time: 0.000s) 0.000s 18 calls diffoscope.comparators.xz.XzContainer 0.000s 7 calls diffoscope.comparators.deb.DebContainer 0.000s 12 calls diffoscope.comparators.tar.TarContainer 0.000s 6 calls diffoscope.comparators.deb.DebTarContainer ## command (total time: 429.050s) 172.833s 137 calls diff 148.083s 220 calls objdump 104.541s 1188 calls readelf 1.761s 22 calls strings 0.976s 2 calls objcopy 0.854s 18 calls xz 0.002s 24 calls cmp (internal) ## compare_files (cumulative) (total time: 1253.628s) 220.234s 1 call abc.DotChangesFile 220.211s 2 calls abc.DebFile 220.126s 4 calls abc.XzFile 219.334s 2 calls abc.DebDataTarFile 219.133s 2 calls abc.ElfFile 142.858s 10 calls diffoscope.comparators.elf.ElfCodeSection 11.562s 49 calls diffoscope.comparators.elf.ElfSection 0.076s 2 calls diffoscope.comparators.elf.ElfStringSection 0.070s 2 calls abc.TarFile 0.012s 1 call diffoscope.comparators.elf.MonkeyPatchedElfSection 0.011s 2 calls abc.Md5sumsFile ## container_extract (total time: 1.041s) 0.854s 18 calls diffoscope.comparators.xz.XzContainer 0.103s 32 calls diffoscope.comparators.deb.DebTarContainer 0.069s 22 calls diffoscope.comparators.deb.DebContainer 0.015s 22 calls diffoscope.comparators.tar.TarContainer ## diff (total time: 0.089s) 0.089s 12 calls linediff ## has_same_content_as (total time: 0.004s) 0.001s 7 calls abc.TextFile 0.001s 4 calls abc.XzFile 0.000s 2 calls abc.DebDataTarFile 0.000s 4 calls abc.Md5sumsFile 0.000s 2 calls abc.ElfFile 0.000s 49 calls diffoscope.comparators.elf.ElfSection 0.000s 2 calls abc.DebFile 0.000s 2 calls diffoscope.comparators.utils.libarchive.LibarchiveSymlink 0.000s 2 calls abc.TarFile 0.000s 1 call abc.DotChangesFile 0.000s 10 calls diffoscope.comparators.elf.ElfCodeSection 0.000s 2 calls diffoscope.comparators.elf.ElfStringSection 0.000s 1 call diffoscope.comparators.elf.MonkeyPatchedElfSection ## main (total time: 220.835s) 220.832s 2 calls outputs 0.003s 1 call cleanup ## open_archive (total time: 0.000s) 0.000s 18 calls diffoscope.comparators.xz.XzContainer 0.000s 6 calls diffoscope.comparators.deb.DebTarContainer 0.000s 12 calls diffoscope.comparators.tar.TarContainer 0.000s 8 calls diffoscope.comparators.deb.DebContainer ## output (total time: 0.181s) 0.179s 1 call html 0.001s 1 call json 0.001s 1 call text ## recognizes (total time: 1.427s) 0.641s 1078 calls diffoscope.comparators.elf.ElfSection 0.229s 220 calls diffoscope.comparators.elf.ElfCodeSection 0.221s 768 calls diffoscope.comparators.utils.archive.ArchiveMember 0.206s 1764 calls diffoscope.comparators.utils.libarchive.LibarchiveMember 0.074s 12 calls diffoscope.comparators.binary.FilesystemFile 0.027s 216 calls diffoscope.comparators.debian.DebControlMember 0.026s 44 calls diffoscope.comparators.elf.ElfStringSection 0.001s 22 calls diffoscope.comparators.elf.MonkeyPatchedElfSection 0.000s 32 calls abc.Md5sumsFile 0.000s 10 calls abc.DotChangesFile 0.000s 8 calls diffoscope.comparators.utils.libarchive.LibarchiveSymlink ## specialize (total time: 1.056s) 1.056s 88 calls specialize Sat Jan 6 23:50:21 UTC 2024 E: mender-client failed to build reproducibly in bullseye on arm64. Sat Jan 6 23:50:21 UTC 2024 E: diffoscope 240 found issues, please check https://tests.reproducible-builds.org/debian/dbd/bullseye/arm64/mender-client_2.4.1-2.diffoscope.html Sat Jan 6 23:50:23 UTC 2024 I: Submitting .buildinfo files to external archives: Sat Jan 6 23:50:23 UTC 2024 I: Submitting 8.0K b1/mender-client_2.4.1-2_arm64.buildinfo.asc Sat Jan 6 23:50:24 UTC 2024 I: Submitting 8.0K b2/mender-client_2.4.1-2_arm64.buildinfo.asc Sat Jan 6 23:50:24 UTC 2024 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Sat Jan 6 23:50:24 UTC 2024 I: Done submitting .buildinfo files. Sat Jan 6 23:50:25 UTC 2024 I: Removing signed mender-client_2.4.1-2_arm64.buildinfo.asc files: removed './b1/mender-client_2.4.1-2_arm64.buildinfo.asc' removed './b2/mender-client_2.4.1-2_arm64.buildinfo.asc'